Bugfix
This commit is contained in:
parent
23add7e276
commit
091c31d33a
2 changed files with 0 additions and 12 deletions
|
|
@ -73,16 +73,6 @@ def config_windows_updates():
|
||||||
write_registry_settings(SETTINGS_WINDOWS_UPDATES, all_users=True)
|
write_registry_settings(SETTINGS_WINDOWS_UPDATES, all_users=True)
|
||||||
|
|
||||||
|
|
||||||
def disable_windows_telemetry():
|
|
||||||
"""Disable Windows 10 telemetry settings with O&O ShutUp10."""
|
|
||||||
extract_item('ShutUp10', silent=True)
|
|
||||||
cmd = [
|
|
||||||
r'{BinDir}\ShutUp10\OOSU10.exe'.format(**global_vars),
|
|
||||||
r'{BinDir}\ShutUp10\1201.cfg'.format(**global_vars),
|
|
||||||
'/quiet']
|
|
||||||
run_program(cmd)
|
|
||||||
|
|
||||||
|
|
||||||
def update_clock():
|
def update_clock():
|
||||||
"""Set Timezone and sync clock."""
|
"""Set Timezone and sync clock."""
|
||||||
run_program(['tzutil' ,'/s', WINDOWS_TIME_ZONE], check=False)
|
run_program(['tzutil' ,'/s', WINDOWS_TIME_ZONE], check=False)
|
||||||
|
|
|
||||||
|
|
@ -100,8 +100,6 @@ if __name__ == '__main__':
|
||||||
if global_vars['OS']['Version'] == '10':
|
if global_vars['OS']['Version'] == '10':
|
||||||
try_and_print(message='Explorer (system)...',
|
try_and_print(message='Explorer (system)...',
|
||||||
function=config_explorer_system, cs='Done')
|
function=config_explorer_system, cs='Done')
|
||||||
try_and_print(message='Disabling telemetry...',
|
|
||||||
function=disable_windows_telemetry, cs='Done')
|
|
||||||
try_and_print(message='Windows Updates...',
|
try_and_print(message='Windows Updates...',
|
||||||
function=config_windows_updates, cs='Done')
|
function=config_windows_updates, cs='Done')
|
||||||
try_and_print(message='Updating Clock...',
|
try_and_print(message='Updating Clock...',
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue