Windows Time

home | blog | Terrible people and places | Covid-19 links | Teh Internet | guest blog |rants | placeholder | political | projects | Gwen and Liam | Citadel patched | Tools | Scouts



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

(it looks like if you /register, you kill your special polling interval reg key!)
Reset it here:
HKLM\System\CCS\Services\w32time\TimeProviders\NtpClient => SpecialPollInterval
(especially low for finicky virtual machines under VMWare.)

Check with this:

w32tm /dumpreg /subkey:parameters

Should have NT5DS for domain time sync

Check settings with this as well:
net time /set

Change up time servers:
w32tm /config /syncfromflags:manual /manualpeerlist:peerlist
eg:
w32tm /config /syncfromflags:manual /manualpeerlist:time.nist.com /reliable:yes
Follow up with:
w32tm /config /update
(on clients do this):
net time /set /reliable:yes

-- or in an AD --
PDC:
w32tm /config /manualpeerlist:"0.us.pool.ntp.org 1.us.pool.ntp.org 2.us.pool.ntp.org" /syncfromflags:manual /reliable:yes /update
The rabble:
w32tm /config /update /syncfromflags:DOMHIER
w32tm /resync /rediscover

-- if you are getting SID errors, this might help:
sc config w32time type= own
sc config w32time type= share
(note the space after the = sign).

-- if permissions errors, check the "Log on" user:
- Should be the "Local Service" account.  If you have to set it, make sure to blank out the password fields as there is no password for the user.

-- If you are using sad old VMWare and loosing time sync on boot, you might try this as a boot scheduled task:

net stop w32time
c:\windows\system32\w32tm.exe /unregister
c:\windows\system32\w32tm.exe /register
sc config w32time type= own
net start w32time
c:\windows\system32\w32tm.exe /config /manualpeerlist:"0.us.pool.ntp.org 1.us.pool.ntp.org 2.us.pool.ntp.org" /syncfromflags:manual /reliable:yes /update


finally - if you want to check up on things:
w32tm /monitor



[æ]