When you work on a Microsoft Windows Server system and try to synchronize its time with another time source (an external NTP server), you may encounter the error message “The computer did not resync because no time data was available“. So, to synchronize the time between the internal and external time source, you need to run the command “w32tm /resync”.
The command must be executed either in the domain or on the client system. This error is mostly due to the improper configuration of the Windows Time Service group policy. Fortunately, the error “Computer could not resync because there is no time data” can be fixed on a Windows 10 computer. Let’s take a look at how.
What causes the “Computer failed to resync due to missing time data” error in Windows
When using an external time source on a Windows server, many users encounter the error “Computer failed to resync because time data was not available.” This error also occurs when running some Windows time synchronization commands.
If group policies are not configured correctly, this unpleasant error can occur. In addition, improper Windows settings are also the cause of the “The computer has not been resynchronized because time data was not available” error.
Group Policy is the main reason that can cause the Windows time synchronization error. To solve this problem, Microsoft recommends that you change Group Policy.
How to clear the “Computer failed to resynchronize due to missing time data” error in Windows
Launch the Windows Extended Time command (w32tm)
- The extended w32tm command can fix the “Computer failed to resync” error.
- Open the search tool by pressing the Windows + S key combination.
- Enter the keyword cmd to search for the Command Prompt.
- Right-click on Command Prompt and select Run as administrator to open the extended command prompt.
- Type this long command in the Command Prompt window:
- w32tm /config /manualpeerlist:time.windows.com,0x1/syncfromflags:manual/reliable:yes /update
- Press Enter to execute the command.
Editing the registry
- Open the Open Run text box.
- Type Regedit in the Open field and click OK.
- Open this registry key:
- Double-click on the Type line to open the window shown in the figure below.
- If the Type string does not exist, right-click on the empty space on the right side of the window and select New, then String Value.
- Enter a new string in the text box.
- Delete the Value data field.
- Then enter NT5DS in the Value data field.
- Click the OK button.
- Then restart Windows.
Reconfiguring the Windows time service group policy objects
- To do this, run the Run command with the Windows + R shortcut.
- Open the Group Policy Editor by typing Gpedit.MSC in the Run menu and clicking OK.
- Click on Computer Configuration to expand it.
- Then double-click Administrative Templates on the left side of the window.
- Select Windows Time System and Service, which contains the Global Configuration Settings policy.
- Double-click the Global Configuration Settings policy to open additional options for it.
- In the window that opens, select the Not Configured radio button.
- Confirm by clicking OK.
- Then select Time Providers on the left side of the window.
- Double-click on Configure Windows NTP Client, Enable Windows NTP Client, and Windows NTP Server to open these configuration windows.
- Then select Configure Unconfigured for Windows NTP Client, Enable Windows NTP Client and Enable Windows NTP Server.
- Click the Apply buttons in the windows to save the changes.
- You must then restart Windows for the changes to take effect.
Frequently Asked Questions
- Restart the time service net stop w32time net start w32time.
- Ask the time synchronization service to use w32tm /config /update changes.
- Reset the local computer time to the time server w32tm /resync /rediscover.
Maybe the wrong group policy is installed - You may need to change some group policies related to Windows Time Service.
- Click on the clock and select "Change date and time settings".
- Click on the "Internet Time" tab.
- Make sure that "Synchronize time from time.windows.com" is selected.
- If selected, click Change Settings to enable the Synchronize with Internet Time Server option.
- Click the OK button.
- Open the extended (administrative) command line.
- Execute the following commands: net stop w32time w32tm /unregister w32tm /register net start w32time.
- Restart the server. (Optional)