bat file ::time service needs to be started before changing time
Nothing worked for me because " The computer did not resync because the required time change was too big.", I ended up using node with ntp-client to set the approximated current time and then be able to resync If you DO need ADDC as a reliable time source, make it reliable again:.external NTP), /update for notifying the time service the configuration have changed. Option /syncfromflags:manual means sync with NTP listed in peer list (i.e.
W32tm /config /reliable:no /syncfromflags:manual /update Of course, it won't work if you are on AD., /Y just hides the question. Net time /SET /Y does not work either, because it would have asked:ĭo you want to set the local computer's time to match the time at W32tm /resync /force does not work, because the /force does not appear in server 2016. Note: NTP port is 123 UDP and should give the same output on any healthy computer Powershell Get-NetUDPEndpoint -LocalPort 123īest practice from ms: Time Sync best practicesĪlmost none of the solutions (except work if the host is an Windows Server 2016 Active Directory Domain Controller (ADDC), as it treats itself as a "reliable" source that cannot make big time change. If time service broken or failed and need reset: On servers and other stations for update time only, not config:Ĭheck that time is really updating(difference ): W32tm /config /syncfromflags:domhier /update W32tm /config /manualpeerlist:"192.168.0.254,0x8" /syncfromflags:manual /reliable:yes /update On PDC(or any single workstation), update from quoted internal DNS or ip untrusted address(0x8): If Hyper-v host server is a part of the same domain, disable time sync for PDC guest vm Reg add HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\w32time\Config /v MaxPosPhaseCorrection /d 0xFFFFFFFF /t REG_DWORD /f Reg add HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\w32time\Config /v MaxNegPhaseCorrection /d 0xFFFFFFFF /t REG_DWORD /f Rem changing the registry keys temporarly: Reg export HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\w32time\Config exported_w32time.reg /y I use this simple win_clock_sync.bat file from Start Menu StartUp: echo off change this if the local time is delayed (e.g.change this if the local time is in a hurry (e.g.HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\w32time\Config The original problem still exists: " The computer did not resync because the required time change was too big." If the WindowsUpdate directory isn't there just right click the Windows directory, choose New, then Key, paste WindowsUpdate in there and press Enter.All above ideas have been tried but did not help. In the Registry Editor, navigate here: Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate If a User Account Control prompt pops up, hit Yes.
Home edition users will need to jump into the Registry Editor instead, as there's no access to the former on Home.įirst mash Windows+R, then paste regedit in the Open box, and run it. If you're using Windows 10 Pro, Enterprise, or Education edition, you can use the Local Group Policy Editor. Make sure to note down the exact version of Windows 10 you're on, we'll need that later-it'll be in the format of 21H1, or similar, depending on which version you're reverting to. Just navigate to the Start menu, then go into Settings > Windows Update > Advanced options > Recovery, and select Previous version of Windows. Reverting to Windows 10 is simple enough, provided you are still within the grace period that allows you revert to Windows 10 within a specified timeframe of 10 days.