Fixed setting timezone in Windows
This commit is contained in:
parent
7ccd4c6055
commit
35890d6bb3
1 changed files with 1 additions and 1 deletions
|
|
@ -75,7 +75,7 @@ def config_windows_updates():
|
||||||
|
|
||||||
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)
|
||||||
run_program(['net', 'stop', 'w32ime'], check=False)
|
run_program(['net', 'stop', 'w32ime'], check=False)
|
||||||
run_program(
|
run_program(
|
||||||
['w32tm', '/config', '/syncfromflags:manual',
|
['w32tm', '/config', '/syncfromflags:manual',
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue