By synchronizing the time with an external source, you will get the correct time and your applications will work correctly. By synchronizing the time, you can minimize time-related problems. You can also synchronize time from the command line.
To do this, run the command w32tm /resync. However, if that doesn’t work, this article will help you solve the problem. In this case, you will most likely get the message Computer could not resync because no time data was available.
If you have this problem, learn here what you can do to get rid of it.
Table of Contents
What is the cause of the error?
- Common problems with the Windows Time service: You can try running commands and/or restarting the service.
- Windows Time service setting incorrectly defined: Changing a setting in the Windows Time service registry settings should solve the problem.
- Group Policy may not be set correctly: You may need to change some group policies that affect the Windows Time Service.
How can I fix the error message?
Editing Group Policies
- Press Win + R to open the Run dialog box, then type Gpedit.MSC in the box and press Enter to open the Local Group Policy Editor.
- Select the Computer Configuration tab, then go to Administrative Templates > System > Windows Time Service.
- In the Windows Time Service folder, double-click the Global Configuration Settings policy and select the Not Configured option.
- Then click the Apply button.
- Double-click on the Time Providers key and in the folder you will find 3 keys: Configure Windows NTP Client, Enable Windows NTP Client, and Enable Windows NTP Server.
- Now double-click each key and check the “Not Configured” box at the top.
- After making the changes, click the Apply button.
- Restart your computer for the changes to take effect, and then check to see if the “Computer was unable to resynchronize due to missing time data” error has been resolved.
Restarting the Windows Time Service
If the Windows Time Service is misconfigured or has an error, the error may also occur. Therefore, try restarting this service.
- Open the Run dialog box, type services.MSC, and press Enter.
- In the list of services, go to the Windows Time service, right-click it, and select Properties.
- If the service status is Stop, change the Startup Type to Automatic and click OK and Apply.
- If the status of the service is Start, first click Stop, and then click Start again.
Changing specific registry keys
- Open the Run dialog box, type Regedit, and press Enter.
- Go to the following path in the left search bar.
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32TimeParameters - Find the Type string value, right-click on it and choose Edit from the context menu.
- In the Edit String window change the Date value to NT5DS.
- Then click the OK button to confirm your changes.
- Restart your computer and check if the problem is solved.
Frequently Asked Questions
How do I fix the “Computer could not be resynchronized because there was no time data” error?
- Restart the time service net stop w32time net start w32time.
- Ask the time synchronization service to use change: w32tm /config /update.
- Reset the time on the local computer with the time on the time server w32tm /resync /rediscover.
How do I get Windows to resynchronize the time?
- Click on Clock and select "Change date and time settings".
- Click on the "Internet Time" tab.
- Check if "Synchronize time from time.windows.com" is selected.
- If it is selected, click "Change Settings" to enable the "Synchronize with Internet Time Server" option.
- Click the OK button.
No resync due to missing time data?
What is the cause of the "Computer could not be resynchronized because there is no time data" error in Windows? The Windows time service setting is incorrectly defined - changing the setting in the Windows time service registry should solve the problem.
What should I do if time synchronization does not work?
- Check if the Windows Time Service is running.
- Use a different server.
- Restart the Windows time service.
- Use the command line.
- Disable the third-party firewall.
- Change the default refresh interval.
- Add additional servers to the registry.
- Change the registry values.