
Disable Sleep Mode
Paquet d’installation silencieuse pour Disable Sleep Mode
0.2-2
- package: tis-disable-sleep-mode
- name: Disable Sleep Mode
- version: 0.2-2
- categories: System and network
- maintainer: WAPT Team,Tranquil IT,Jimmy PELÉ,Ingrid TALBOT
- licence: proprietary_free
- locale: all
- target_os: windows
- architecture: all
- signature_date:
- size: 10.50 Ko
- conflicts :
package : tis-disable-sleep-mode
version : 0.2-2
architecture : all
section : base
priority : optional
name : Disable Sleep Mode
categories : System and network
maintainer : WAPT Team,Tranquil IT,Jimmy PELÉ,Ingrid TALBOT
description : Disable sleep mode by disallowing standby states (S1-S3) - GPOs are prioritary against this package
depends :
conflicts : tis-disable-sleepmode
maturity : PROD
locale : all
target_os : windows
min_wapt_version : 2.3
sources :
installed_size :
impacted_process :
description_fr : Désactiver le mode veille en interdisant les états de veille (S1-S3) - Les GPO sont prioritaires par rapport à ce paquet
description_pl : Wyłączenie trybu uśpienia poprzez uniemożliwienie stanów czuwania (S1-S3) - GPO są priorytetowe dla tego pakietu
description_de : Deaktivierung des Ruhezustands durch Verbot von Standby-Zuständen (S1-S3) - GPOs sind vorrangig gegen dieses Paket
description_es : Desactivar el modo de reposo desestimando los estados de espera (S1-S3) - Los GPO son prioritarios frente a este paquete
description_pt : Desactivar o modo de sono, proibindo os estados de vigília (S1-S3) - os GPO são prioritários contra este pacote
description_it : Disabilitare la modalità sleep disabilitando gli stati di standby (S1-S3) - le GPO sono prioritarie rispetto a questo pacchetto
description_nl : Slaapstand uitschakelen door stand-by toestanden (S1-S3) te verbieden - GPO's zijn prioritair tegen dit pakket
description_ru : Отключение спящего режима путем запрета состояний ожидания (S1-S3) - GPO приоритетны для этого пакета
audit_schedule :
editor :
keywords : sleepmode,disable
licence : proprietary_free
homepage :
package_uuid : 5cf60435-16b4-42b1-8e32-67012e74fe70
valid_from :
valid_until :
forced_install_on :
changelog :
min_os_version :
max_os_version :
icon_sha256sum : dd6d0a0459ac08f5d66ec983dd52306c74a2c3dee12e8365eb4098fd8f2911d2
signer : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature : LqzACMQdhfBALAWphCy53ztdxrOmkh5OPeu8OXGAnoHYVe0D931ElpNz4an63g8TffmRO7bQkCZFHi021XN6UMrAtrDNnqVXSVtESECbjcWO7qauwFmR2huMYMa+tawjDsyacEv1aEAoesP5qXovJuUF5hXeUOBZYFzJtlMJfAvVG/VQ1JPdWqrFRpZX1FWebcCYqfqdrlcnPHBd6bpdTsBkdZoNRY4sQOZ9xB6bCnRfyLybLtrFtmaym0kccHrC9gnIea6pIgqvOaKO7luj8YIbSRRwVH6Reu6Ki1kCynt81VPxoPAuFOV+9u38RlWwNrZ/7y4IiCRteE/8TSif0g==
signature_date : 2024-04-13T11:00:06.612718
signed_attributes : package,version,architecture,section,priority,name,categories,maintainer,description,depends,conflicts,maturity,locale,target_os,min_wapt_version,sources,installed_size,impacted_process,description_fr,description_pl,description_de,description_es,description_pt,description_it,description_nl,description_ru,audit_schedule,editor,keywords,licence,homepage,package_uuid,valid_from,valid_until,forced_install_on,changelog,min_os_version,max_os_version,icon_sha256sum,signer,signer_fingerprint,signature_date,signed_attributes
# -*- coding: utf-8 -*-
from setuphelpers import *
"""
Sources:
https://gpsearch.azurewebsites.net/
"""
def install():
# Shows or hides sleep from the power options menu.
registry_set(HKEY_LOCAL_MACHINE, r"Software\Policies\Microsoft\Windows\Explorer", "ShowsleepOption", 0)
# Allow or not standby states (S1-S3) when sleeping (plugged in)
registry_set(HKEY_LOCAL_MACHINE, r"Software\Policies\Microsoft\Power\PowerSettings\abfc2519-3608-4c2a-94ea-171b0ed546ab", "DCSettingIndex", 0)
# Allow or not standby states (S1-S3) when sleeping (on battery)
registry_set(HKEY_LOCAL_MACHINE, r"Software\Policies\Microsoft\Power\PowerSettings\abfc2519-3608-4c2a-94ea-171b0ed546ab", "ACSettingIndex", 0)
def uninstall():
registry_delete(HKEY_LOCAL_MACHINE, r"Software\Policies\Microsoft\Windows\Explorer", "ShowsleepOption")
registry_delete(HKEY_LOCAL_MACHINE, r"Software\Policies\Microsoft\Power\PowerSettings\abfc2519-3608-4c2a-94ea-171b0ed546ab", "DCSettingIndex")
registry_delete(HKEY_LOCAL_MACHINE, r"Software\Policies\Microsoft\Power\PowerSettings\abfc2519-3608-4c2a-94ea-171b0ed546ab", "ACSettingIndex")
b7451d15e2b52bf8dd532089caebc2a1dfa11c8d67dfefff911803762e0d460d : setup.py
dd6d0a0459ac08f5d66ec983dd52306c74a2c3dee12e8365eb4098fd8f2911d2 : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
1c4239c0e16aaca45bfb99cb7ff1950c6542d4718a683ae03aca558037d25a55 : luti.json
aa027af34b285d4c74bb01a2fdfe054e6fc8dfd8ee3bd743a6d49f34c85482fe : WAPT/control