If the time is off by a  lot, "w32tm /resync" refuses to work. "SyncTime-FixWindowsStupidity.reg" fixes this.

SyncTime.bat

net stop w32time
net start w32time

w32tm /resync

SyncTime-FixWindowsStupidity.reg

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Config]
"MaxPosPhaseCorrection"="0xFFFFFFFF"
"MaxNegPhaseCorrection"="0xFFFFFFFF"


IMSID7B25DAFE0EE64DF9CA019D9EFADFDDCBB05E87FB