Tuesday, January 15, 2019

Managing windows time

Open an Administrator Command Prompt
tzutil /s "Central European Standard Time"
This config will set NT5DS configuration in ws32 config, meaning update time from domain hierarchy.
w32tm /config /syncfromflags:domhier /update /reliable:no
Check your peers afterwards
w32tm /query /peers

If you want to manually set time run it:
w32tm /config /manualpeerlist:ntp1.corpaddress.tdl /reliable:yes /syncfromflags:manual /update

w32tm /resync /rediscover
net stop w32time && net start w32time
Check it with W32tm /query /configuration

Syncing manually:

w32tm /stripchart /computer:ntp1.corpaddress.tdl
If you sync to Linux machine
/manualpeerlist:ntp1.corpaddress.tdl,0x1
Restore all settings:

net stop w32time
w32tm /unregister
w32tm /register
net start w32time

a

No comments:

Post a Comment