Windows 11 - Time synchronization failed

Anonymous
2023-08-07T09:16:09+00:00

No sure why Windows time synchronization doesn't work at all for me.

I have installed clean Windows 11 months ago and it never worked.

enter image description here

ping time.windows.com

Pinging twc.trafficmanager.net [20.101.57.9] with 32 bytes of data:
Reply from 20.101.57.9: bytes=32 time=47ms TTL=112
Reply from 20.101.57.9: bytes=32 time=47ms TTL=112
Reply from 20.101.57.9: bytes=32 time=47ms TTL=112
Reply from 20.101.57.9: bytes=32 time=50ms TTL=112

Ping statistics for 20.101.57.9:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 47ms, Maximum = 50ms, Average = 47ms

Any ideas?

Tried different servers:


time.google.com 

time.nist.gov 

Still nothing, so the issue is definitely on Windows part

Tried

sfc /scannow
dism /online /cleanup-image /restorehealth

Also nothing
Windows for home | Windows 11 | Settings

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

22 answers

Sort by: Most helpful
  1. Reported
    Anonymous
    2023-08-07T11:02:03+00:00

    Hey, how you doing?

    Thank you for contacting us and welcome to the Microsoft Community.

    My name is Vitor. I'm an Independent Advisor and I'll be glad to help you today.

    It could be a problem with the Windows Time service, an overloaded time server, or an issue with your internet connection. This troubleshooting guide will teach you multiple ways to fix that on a Windows computer, if the error still persists. Go to the next step.

    Restart the Windows Time Service:

    Windows Time is the background service that manages time synchronization in Windows operating systems. It’s susceptible to unexpected glitches, so restart it via the Services console and check if that helps.

    1 - Press the Windows + R keys to open Run.

    2 - Type “services.msc” into the Open field and select OK.

    3 - Right-click the Windows Time service and select Restart. If the context menu item appears grayed out, choose Start.

    4 - Exit Services.

    Modify the Windows Time Service Properties:

    If the “Time synchronization failed” error in Windows persists, make the following adjustments to the Windows Time service properties. To do that:

    1 - Relaunch the Services console and double-click Windows Time.

    2 - Set Startup type to Automatic. Set Service status to Running.

    3 - Switch to the Log On tab.

    4 - Select Local System account and the Allow service to interact with desktop option under it.

    5 - Select Apply > OK and exit Services.

    Toggle Automatic Time-Keeping On/Off:

    Disabling and re-enabling the automatic time-keeping functionality in Windows fixes time-syncing errors a lot of the time. To do that:

    1 - Right-click the Clock on the right end of the taskbar and select Adjust date and time.

    2 - Disable the toggles next to Set time automatically and Set time zone automatically.

    3 - Scroll down to the Additional settings section and select Sync now.

    4 - Re-activate the Set time automatically and Set time zone automatically options.

    Restart Your Computer:

    Core Windows functionalities malfunction if you don’t restart your computer often. If the “Time synchronization error” persists, open the Start menu and select Power > Restart. If you see an Update and restart option, choose that instead.

    Troubleshoot Your Network Connection:

    If you see an extended error message reading something like “Time synchronization failed. Please check network connectivity and retry,” it’s likely something to do with your internet.

    Here are several things you can try to fix the problem:

    1 - Force the router to release and renew the IP address for your PC.

    2 - Turn the router off and on. Or soft-reset the router.

    3 - Flush the DNS (Domain Name System) cache in Windows.

    4 - Connect to a different Wi-Fi network.

    5 - Reset the network settings in Windows.

    Pick a Different Time Server:

    By default, Windows 10 and 11 syncs with Microsoft’s time server at time.windows.com. Switching to the alternative time.nist.gov server could resolve the “Time synchronization failed” error. You must use the Control Panel‘s Date and Time applet for that.

    1 - Type timedate.cpl into a Run box and press Enter.

    2 - Switch to the Internet Time tab.

    3 - Select Change settings.

    4 - Select Server and choose time.nist.gov. Enable Synchronize with an internet time server if the drop-down menu appears grayed out.

    5 - Select Update now, and then OK.

    Add a Different Time Server:

    It’s possible to add additional time servers to Windows via the Registry Editor. Popular NTP (Network Time Protocol) servers include:

    time.google.com

    time.cloudflare.com

    ntp.gsu.edu

    pool.ntp.org

    isc.org

    Back up the Windows system registry, and then:

    1 - Type regedit into a Run box and select OK.

    2 - Copy the following path into the address field at the top of the Registry Editor window and press Enter:

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\DateTime\Servers

    3 - Right-click an empty area on the right pane and select New > String Value.

    4 - Name the string value as 3 (or 4, 5, and so on if there are more than two string values present by default).

    5 - Double-click the string value and enter a time server URL into the Value data field—e.g., time.google.com.

    6 - Select OK.

    7 - Exit the Registry Editor.

    8 - Revisit the Internet Time settings (repeat the steps from the section above) and switch to the new time server.

    Sync Time Through the Command Prompt:

    Next, unregister and re-register the Windows Time service, then sync the time via the Command Prompt console. To do that:

    1 - Type “cmd” into the Windows Search box and select Run as administrator.

    2 - Run the following commands one after the other:

    net stop w32time

    w32tm /unregister

    w32tm /register

    net start w32time

    w32tm /config /manualpeerlist:time.google.com /syncfromflags:manual /update

    w32tm /config /update

    w32tm /resync /rediscover

    3 - Exit the Command Prompt console.

    Allow Time Syncing on Firewall:

    If you use a third-party network firewall on your computer, uninstall it and switch back to the Windows Firewall or allow UDP port 123 (needed to sync the time). Refer to the firewall’s online documentation or FAQ on how to do that.

    If the problem occurs over the Windows Firewall, here’s how to create inbound and outbound rules to ensure there are no network restrictions on the flow of NTP packets:

    1 - Type firewall.cpl into a Run box and select OK.

    2 - Select Advanced settings on the left menu.

    3 - Right-click Inbound rule on the left pane and select New Rule.

    4 - Set Rule Type to Port and select Next.

    5 - Select UDP and set Specific local ports to 123. Select Next to continue.

    6 - Keep the default selections in the remaining steps and select Next. In the final screen, set a name (e.g., NTP Inbound), and select Finish.

    7 - Right-click Outbound rule, select New rule and repeat steps 4-6 above.

    Disable VPNs and Proxies:

    VPNs (virtual private networks) and proxy servers are another reason Windows could struggle to sync the time with a time server. Try disabling them.

    1 - Open the Settings app in Windows and select Network & internet.

    2 - Dive into the VPN and Proxy categories.

    3 - Turn off any active VPNs and proxies.

    Run an SFC Scan:

    1 - Open an elevated Command Prompt console.

    2 - Type sfc /scannow.

    3 - Press Enter.

    Check if the suggestions above helped you and tell me if it worked.

    Thanks

    Vitor S.

    0 comments No comments
  2. Anonymous
    2023-09-29T12:37:12+00:00

    You helped me again!

    I found a NTP server that works with my internet home provider.

    Now it works really good!

    Tks once again!

    Notes for Brazilian users using VIVO internet home provider:

    • Use the a.st1.ntp.br NTP server.

    Was this answer helpful?

    30+ people found this answer helpful.
    0 comments No comments
  3. Anonymous
    2023-08-07T10:22:36+00:00

    I have tested it with my phone internet (Cellular network) and shared wifi to pc and it worked, so it mb my router or internet home provider.

    Upd: yeah, it was caused by my internet service provider. They said that they have their own sync server, and now I use it and it works fine.

    They said that they block 123 port which is used by Windows time synchronization because it can be used for attacks

    Was this answer helpful?

    30+ people found this answer helpful.
    0 comments No comments
  4. Anonymous
    2023-08-07T11:08:54+00:00

    As I already mentioned, it can be related to my internet home provider or router, please don't suggest all random solutions

    Was this answer helpful?

    10+ people found this answer helpful.
    0 comments No comments
  5. Anonymous
    2023-09-28T20:19:04+00:00

    Same problem here on September 28, 2023.

    Tks for the tip.

    • Country/State: Brazil, São Paulo.
    • Internet home provider: VIVO Fibra.

    Was this answer helpful?

    5 people found this answer helpful.
    0 comments No comments