I have a server that seems to go crazy with time every so often. I know there is built-in time sync in Windows and I typically do this on DCs.
w32tm /config /syncfromflags:manual /manualpeerlist:pool.ntp.org
w32tm /config /reliable:yes
w32tm /config /update
net stop w32time
net start w32time
And add the following to the registry:
Is that the best way to do it? Something I am missing? Twice this week this machine has been 30-50 minutes off and preventing logins.