Files
wapt-packages/kg-disable-background-apps-wapt/setup.py
T
2019-06-02 18:21:50 +02:00

16 lines
566 B
Python

# -*- coding: utf-8 -*-
from setuphelpers import *
uninstallkey = []
def install():
print('installing %s' % control.asrequirement())
print('To use this package configuration, please execute "wapt-get session-setup ALL"')
def session_setup():
print('Session setup for %s' % control.asrequirement())
registry_set(HKEY_CURRENT_USER,r'Software\Microsoft\Windows\CurrentVersion\BackgroundAccessApplications','GlobalUserDisabled',1)
registry_set(HKEY_CURRENT_USER,r'Software\Microsoft\Windows\CurrentVersion\Search','BackgroundAppGlobalToggle',0)