tis-disable-hiberboot 54

  • package : tis-disable-hiberboot
  • version : 54
  • architecture : all
  • locale :
  • description : Disable hiberboot (Windows 8/10)
  • maintainer :
  • date : 2018-02-27 18:58:39
  • min_wapt_version :
  • min_os_version :
  • max_os_version :
  • impacted_process :

setup.py

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

uninstallkey = []

def install():
    if Version(windows_version()) >= Version(WindowsVersions.Windows8):
        print('Disable hiberboot using registry keys')
        registry_set(HKEY_LOCAL_MACHINE, r'SYSTEM/CurrentControlSet/Control/Session Manager/Power','HiberbootEnabled',0,type=REG_DWORD)
        print('Disable hiberboot using WAPT config')
        inifile_writestring(WAPT.config_filename,'global','hiberboot_enabled',0)
    else:
        print("Hiberboot/FastStartup only supported on Windows 8/10")


    

Changelog

No changelog
    

manifest.sha256

setup.py 66612e624b2dbf2ea1c4b87b72fee0b45ed6bb6df1539ae66d617dfa33270db9
WAPT/certificate.crt 79e5388683c0b6cb03f4f81e4e58e3a11463b2b6cf169dd9c453098027dcfaa4
WAPT/icon.png 47ae4a82ca52c074ad2f8bc63c99c36c702d3e1122690b9a1387501bf7da8679
WAPT/control e2f71b7f5431daf8fe7bef4b07b6818576f667d5efdcb1947e247c78b3d919b6
WAPT/wapt.psproj c5a1697bf6e134989a9870764995725626a8f5055b640e541b569d1a927363fc