The computer did not resync because the required time change was too big

If your time is out of sync then you can run w32tm.exe /resync to force a resync with the time server.

I have encountered the following error:

C:\>W32tm.exe /resync
Sending resync command to local computer...
The computer did not resync because no time data was available.

In order to fix this issue, you need to stop the Windows Time service and re-register it.  To do so, you can run the following commands in a DOS prompt or create a batch file that contains the following:

net stop w32time
w32tm /unregister
Regsvr32 c:\windows\system32\w32time.dll
net start w32time
W32tm.exe /resync
pause

I am using Windows Time Service to synchronize the time between two machines in a network. The network is isolated and it doesn't have internet connectivity. I configure one of the machines in the network as the server and the other as the client.

The Server configuration w32tm /query /configuration is as follows. The NTPServer bit is enabled in the machine.

[Configuration]

EventLogFlags: 2 (Local)
AnnounceFlags: 10 (Local)
TimeJumpAuditOffset: 28800 (Local)
MinPollInterval: 10 (Local)
MaxPollInterval: 15 (Local)
MaxNegPhaseCorrection: 4294967295 (Local)
MaxPosPhaseCorrection: 4294967295 (Local)
MaxAllowedPhaseOffset: 300 (Local)

FrequencyCorrectRate: 4 (Local)
PollAdjustFactor: 5 (Local)
LargePhaseOffset: 50000000 (Local)
SpikeWatchPeriod: 900 (Local)
LocalClockDispersion: 10 (Local)
HoldPeriod: 5 (Local)
PhaseCorrectRate: 1 (Local)
UpdateInterval: 30000 (Local)


[TimeProviders]

NtpClient (Local)
DllName: C:\Windows\system32\w32time.dll (Local)
Enabled: 1 (Local)
InputProvider: 1 (Local)
CrossSiteSyncFlags: 2 (Local)
AllowNonstandardModeCombinations: 1 (Local)
ResolvePeerBackoffMinutes: 15 (Local)
ResolvePeerBackoffMaxTimes: 7 (Local)
CompatibilityFlags: 2147483648 (Local)
EventLogFlags: 1 (Local)
LargeSampleSkew: 3 (Local)
SpecialPollInterval: 3600 (Local)
Type: NT5DS (Local)

NtpServer (Local)
DllName: C:\Windows\system32\w32time.dll (Local)
Enabled: 1 (Local)
InputProvider: 0 (Local)
AllowNonstandardModeCombinations: 1 (Local)

VMICTimeProvider (Local)
DllName: C:\Windows\System32\vmictimeprovider.dll (Local)
Enabled: 1 (Local)
InputProvider: 1 (Local)

The client configuration is as follows.

C:\Windows\system32>w32tm /query /configuration
[Configuration]

EventLogFlags: 2 (Local)
AnnounceFlags: 10 (Local)
TimeJumpAuditOffset: 28800 (Local)
MinPollInterval: 10 (Local)
MaxPollInterval: 15 (Local)
MaxNegPhaseCorrection: 54000 (Local)
MaxPosPhaseCorrection: 54000 (Local)
MaxAllowedPhaseOffset: 1 (Local)

FrequencyCorrectRate: 4 (Local)
PollAdjustFactor: 5 (Local)
LargePhaseOffset: 50000000 (Local)
SpikeWatchPeriod: 900 (Local)
LocalClockDispersion: 10 (Local)
HoldPeriod: 5 (Local)
PhaseCorrectRate: 1 (Local)
UpdateInterval: 360000 (Local)


[TimeProviders]

NtpClient (Local)
DllName: C:\Windows\system32\w32time.dll (Local)
Enabled: 1 (Local)
InputProvider: 1 (Local)
AllowNonstandardModeCombinations: 1 (Local)
ResolvePeerBackoffMinutes: 15 (Local)
ResolvePeerBackoffMaxTimes: 7 (Local)
CompatibilityFlags: 2147483648 (Local)
EventLogFlags: 1 (Local)
LargeSampleSkew: 3 (Local)
SpecialPollInterval: 604800 (Local)
Type: NTP (Local)
NtpServer: [172.19.36.138],0x8 (Local)

VMICTimeProvider (Local)
DllName: C:\Windows\System32\vmictimeprovider.dll (Local)
Enabled: 1 (Local)
InputProvider: 1 (Local)
NtpServer (Local)
DllName: C:\Windows\system32\w32time.dll (Local)
Enabled: 0 (Local)
InputProvider: 0 (Local)

You can see NtpServer: [172.19.36.138],0x8 (Local) above which is pointing to the Server that I have configured. I am able to ping between the two machines.

If I try to run w32tm /resync from client it says

Sending resync command to local computer
The computer did not resync because no time data was available.

Why is this happening and How can I fix it.?

Skip to content

Microsoft Windows Vista has a built-in feature to synchronize your machine’s time automatically with global time servers around the world. The service can be scheduled to run automatically and works like charm keeping your system time up-to date, but there’s a tiny catch in here.

If your computer’s clock is async for more than 15 hours, this service will not work for you saying “An error occurred”.

Copy the following code and save it as .reg file, apply it and re-run the synchronization. It will work !

Windows Registry Editor Version 5.00  
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Config] 
"MaxNegPhaseCorrection"=dword:ffffffff 
"MaxPosPhaseCorrection"=dword:ffffffff

The above code is also available in pastie @ http://pastie.caboo.se/179732.

Post navigation