Page 1 of 1

GPO waptexit not taken into account

Published: March 24, 2017 - 2:27 PM
by security_error
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? :?:

Re: GPO waptexit not taken into account

Published: March 24, 2017 - 2:34 PM
by security_error
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...

Re: GPO waptexit not taken into account

Published: March 24, 2017 - 2:41 PM
by agauvrit
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!

Re: GPO waptexit not taken into account

Published: March 24, 2017 - 2:51 PM
by security_error
Oh, that's perfect! Thank you :mrgreen:

Re: GPO waptexit not taken into account

Published: March 24, 2017 - 3:21 PM
by agauvrit
Package available in our warehouse:

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