This is in the “Synchonize your clock” under the Date & Time settings of Windows 10. The button “Sync now” lets me update my date and time according to the time server that is time.windows.com. This fails for no apparent reason.
Error message I have is “Time synchronization failed” in red text on top of the button.
I’ve done this before successfully.
ANSWER
These are the things that you can do.
First thing is to check your Internet settings. The snc requires that you are connected.
Second, if you are using a firewall program other than the stock Windows one, be sure that it is not blocking with the sync server. Allow it in the firewall. Temporarily disablng it is another way if you don’t want to add another rule.
The default Windows firewall that comes in every Windows 10 should not be interfering with the sync. Check to make sure anyway by searching for Windows Defender Firewall from the Start Menu. Go to Advanced Settings link found at the left-hand side of the firewall window. The Windows time syncing is set on port 123 as UDP protocol that connects to time.windows.com.
Next, check on the time service. Hit Windows + R key combo. A small appears. Type after Open – services.msc – then press OK. This runs the Services tool and a window will appear after. There is a long list in alphabetical order. Scroll all the way down to the Windows Time service.
First off the service should be running. If not, check the Startup Type is Automatic. If not, correct that type so it should be so it starts automatically. Then proceed to Start the service. If it is already running, press the Stop button and wait for it to finish. Then Start it again shortly afterwards.
Check if time can be sync successfully now.
There are other things that can be done, such as pointing to another time server that is not controlled by Microsoft. I won’t normally do this, but it can be done with some extra steps in configuration which I won’t tackle here.