Your Windows PC automatically synchronizes the time with a time server to always show you the correct time of day. If your PC fails to synchronize the time, you'll receive a message that says, "An error occurred while Windows was synchronizing with the time server." This tutorial explains how to fix the Windows time synchronization failure on your PC.
Tip: Don't like the built-in security suite in Windows? Here's how. How to permanently disable Windows Defender.
1. Enable “Set time automatically”
Checking whether you have enabled the “Set time automatically” option on your computer is the first thing you should do if you are experiencing time synchronization failure.
- Click on Windows + I To open a menu Settings on your computer.
- Click the tab Time and Language on the left sidebar.
- Click Section Date and time in the right sidebar.
- Toggle option “Automatically set time” in the right sidebar.
- In the right sidebar, make sure the correct time zone is selected in the drop-down menu. time zoneAlternatively, you can switch to the option “Set time zone automatically.”
2. Check the Windows Time service.
Automatically setting the Windows Time service often fixes the issue. Follow these steps to do so.
- Click Windows + R To open Run, type services.msc In the search box to open a window “Services”.
- Locate a service “Windows Time” In the right sidebar, double-click it to open it. Properties window.
- Under the tab "general" Click on the drop-down menu. "Startup Type" and select "automatic". Click “Apply -> OK”.
- Verify “Service Status” To see if it is running. If not, click the button. "Start" , Then “Apply -> OK”.
Tip: Need to check the weather forecast for tomorrow? Check out Best Weather Apps for Windows.
3. Enable time synchronization feature
- Click on Windows + CHEAP To open Run And paste Taskschd.msc In the search box, click the button. "OK" To open Task scheduler.
- Double click Task Scheduler Library To expand it, then go to “Microsoft → Windows”.
- Double click on a folder Time Synchronization in the left sidebar.
- Right click on SynchronizeTime , then tap "Empowerment".
- close Task scheduler Restart your computer. Check if the time synchronization failure issue is resolved.
4. Use the command prompt to force time synchronization.
If the problem persists, use the command prompt to re-register the time service, and then re-synchronize the time.
- Click on Windows + X and turn on “Terminal (Admin)”.
- Run the following commands in order.
net stop w32time w32tm /unregister w32tm /register net start w32time w32tm /resync
- Quit Windows PowerShell And see if the time synchronization failure issue has gone away.
Good to know: The difference between Command Prompt and PowerShell.
5. Update Internet time settings
Another thing you may want to try is updating your computer's Internet time options.
- Open a window Run on your computer.
- Type "control Board" In the search box, click the button. "OK" to open the Control Panel.
- Locate "The clock and the area."
- Click on an option Set time and date to open a window Date and time.
- within the section Internet time , click the . button “Change settings.” It will open a window. Internet time settings.
- Select the option Synchronize with a private Internet time server and click the . button “Update now”You will receive a message stating that the watch has been successfully synced. Follow this by tapping "OK".
6. Select a different time server.
Time.windows.com It is the default time server on your Windows PC, but sometimes, selecting a different time server can fix synchronization issues.
- Open a window Internet time settings As shown above.
- Locate time.nist.gov From the dropdown menu next to "The servant". Click Update now. Your watch will be synchronized with the new server. Click "OK".
Tip: Have you noticed that your computer is slowing down? You might need to Clean Windows Registry.
7. Add more time servers
If nothing has worked for you so far, you can try adding a new time server and see if that takes care of things.
- Open Run and type regedit In the search box, then click the button. "OK" to open the Registry Editor.
- Paste the following line into the address bar: Registry Editor And press Enter.
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\DateTime\Servers
- Right click anywhere on the white field and go to “New → String Value”.
- Right-click on the newly created string and select "amendment".
- Add time.google.com To the field Value statements and click the . button "OK".
- Follow the steps above in Update Internet time settings To specify the newly added time server.
8. Use Registry Editor to fix the problem.
You can modify the registry settings to make Windows update the time every six hours (21600 seconds) and see if this resolves the issue.
- Go to Registry Editor Paste the following line into the address bar and press Enter.
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders\NtpClie
- Double-click a key “SpecialPollInterval” , Then select "decimal" Set the value data to 21600. tap on "OK".
- close Registry Editor and restart the computer.
9. Run SFC Scan
you can use System File Checker (SFC) To fix the issue if a corrupted file is causing Windows time synchronization to fail.
- Fill “Terminal (admin)”.
- Paste the following command and press Enter.
sfc / scannow
- Windows will repair any corrupted files found during the process. When finished, close Windows PowerShell, restart your computer, and check if the sync failure issue is resolved.
Frequently Asked Questions
Q1. Can a low CMOS battery cause a time error on my computer?
answer. A complementary metal oxide semiconductor (CMOS) battery powers the CMOS chip, which stores information about your system's configuration, including the date and time. Although rare, a weak CMOS battery can cause your computer to display the wrong time. What you can do is reset the CMOS and see if it resolves the issue.
Q2. Can malware cause time and date errors on your computer?
answer. Yes. If your computer is displaying incorrect time and date, even after trying the methods shared in this post, scan your computer with a reputable malware tool. Additionally, you can use Windows Defender via the Command Prompt to create your own scripts and scheduled tasks for better protection.
Q3. What are some other ways to keep your computer time accurate?
answer. If you're interested in alternatives, there are a few at your disposal. For example, you can automatically adjust your computer's clock for daylight saving time or use a third-party time synchronization program, such as Atomic clock sync To ensure the accuracy of the time displayed on your computer.