GPO waptexit not taken into account

Questions about WAPT Server / Requests and help related to the WAPT server
Forum Rules
Community Forum Rules
* English support on www.reddit.com/r/wapt
* French community support is available on this forum
* Please prefix the topic title with [RESOLVED] if it is resolved.
* Please do not edit a topic that is tagged [RESOLVED]. Open a new topic referencing the old one.
* Specify the installed WAPT version, full version, and build number (2.2.1.11957 / 2.2.2.12337 / etc.) as well as the Enterprise/Discovery edition.
* Versions 1.8.2 and earlier are no longer supported. The only questions accepted regarding version 1.8.2 are related to upgrading to a supported version (2.1, 2.2, etc.).
* Specify the server OS (Linux/Windows) and version (Debian Buster/Bullseye - CentOS 7 - Windows Server 2012/2016/2019).
* Specify the OS of the administration/package creation machine and the machine with the problematic agent, if applicable (Windows 7/10/11/Debian 11/etc.).
* Avoid asking multiple questions when opening a topic, otherwise it may be ignored. If there are multiple topics, open separate topics, preferably one after the other and not all at the same time (i.e., do not spam the forum).
* Include code snippets, screenshots, and other images directly in the post. Links to Pastebin, Bitly, and other third-party sites will be systematically removed.
* As with any community forum, support is provided voluntarily by members. If you require commercial support, you can contact Tranquil IT's sales department at 02.40.97.57.55
Locked
security_error
Messages: 12
Registration: March 23, 2017 - 5:42 PM

March 24, 2017 - 2:27 PM

Hello everyone,

A big thank you already to the developers and users who provide feedback via blogs and forums. The wapt documentation makes setting up the server easy.

Currently, wapt is running on my VM via the Windows 10 Hyper-V Manager while I wait to transfer it to the Hyper-V server once everything is working.

However, I still have one problem, as the title suggests: the waptexit console fails to run on my test machine.

I've verified that the local GPO was correctly configured during the wapt agent installation.
If I launch it manually, it runs without any issues.
Even when creating a GPO during shutdown on the Active Directory server to launch a batch file that calls c:\wapt\waptexit, nothing happens.

I've checked the existing GPOs, and nothing seems to be preventing the policy from executing correctly.

Anyway, thanks for reading this long post.
Do you have any ideas? :?:
security_error
Messages: 12
Registration: March 23, 2017 - 5:42 PM

March 24, 2017 - 2:34 PM

Well, as is tradition, I found the answer via Google right after posting a topic...

Actually, on the Windows 10 machine, I had to disable fast startup in Power Options > Choose what the power buttons do.

https://www.tenforums.com/general-suppo ... -down.html

I'm not deleting the thread, hoping it might be useful to someone else...
User avatar
agauvrit
WAPT Expert
Messages: 238
Registration: Nov 17, 2016 - 10:25
Location: Nantes
Contact :

March 24, 2017 - 2:41 PM

Good point

Simon created a package that disables hybrid start/stop, HiberBoot: smp-disabling-hiberboot

Code: Select all

# -*- coding: utf-8 -*-
import time
from setuphelpers import *

uninstallkey = []

def install():

    print('Disabling  Hiberboot')
    registry_set(HKEY_LOCAL_MACHINE, r'SYSTEM/CurrentControlSet/Control/Session Manager/Power','HiberbootEnabled',0,type=REG_DWORD)

    print('Disabling  Hyberboot')
    inifile_writestring(WAPT.config_filename,'global','hiberboot_enabled',0)
We have just noticed that this package is neither in our repositories nor in our documentation, we are fixing it!
security_error
Messages: 12
Registration: March 23, 2017 - 5:42 PM

March 24, 2017 - 2:51 PM

Oh, that's perfect! Thank you :mrgreen:
User avatar
agauvrit
WAPT Expert
Messages: 238
Registration: Nov 17, 2016 - 10:25
Location: Nantes
Contact :

March 24, 2017 - 3:21 PM

Package available in our warehouse:

https://store.wapt.fr/wapt/tis-disable- ... 2_all.wapt
Locked