Forum Discussion
abcdefoi
May 11, 2023Copper Contributor
date and time sync failed
date and time sync fails all the time, after 3 different microsoft supports they send me here=)
- CoderRCopper Contributor
The problem is that the source `w32tm /query /source` is pointing to the Local CMOS clock and the configuration `w32tm /query /configuration` shows a broken `NtpServer` pointing to a Policy instead of Local
```
Type: NTP (Policy)
NtpServer: ,0x1 (Policy)
```
No matter what I tried (including overriding the registry `SpecialPollTimeRemaining` key, it would always reset back to CMOS and the broken `NtpServer`.
The solution I eventually found was to create a group policy using gpedit.msc under `Computer Configuration -> Administrative Templates -> System -> Windows Time Service -> Time Providers -> Configure Windows NTP Client`
- Enable this policy
- Set the NtpServer to time.windows.com,0x9
- Set the Type to NTPSave it, run `gpupdate` from Run to apply the policy.
Now you should see `w32tm /query /configuration` show
```
Type: NTP (Policy)
NtpServer: time.windows.com,0x9 (Policy)
```
Once it shows this, go back into `gpedit.msc` and set the `Configure Windows NTP Client` to `Not configured`, re-run `gpupdate` to apply the new policy and now when you run `w32tm /query /configuration` it should show you the correct information
```
Type: NTP (Local)
NtpServer: time.windows.com (Local)
```
and when you run `w32tm /query /source` it should show you
```
time.windows.com,0x9
```
This was the only way I could reset windows time to use a NTP server correctly
- JosephLazarusCopper Contributor
abcdefoi Change your cell on the motherboard.
- msux2Copper ContributorSame here. It is astonishing I could not manually set the time to fix this. Had a laptop I had not booted for a time, and just wanted to setup a little work area for my kid. Would not sync the time so it was basically a brick. My pin would also not work to get past the gatekeeper for the sync operation. Why would I need a pin to set the time? Couldn't I use my password? I gave up and literally threw the laptop away. That is the level of frustration I have with these sorts of issues. Such a waste of my time, and I put the blame squarely on microsoft.
- caernoCopper Contributor
abcdefoi for me too "sync now" not working — so TOTP one-time passwords generating was f*cked up
I couldn't do anything about it either
just use https://timesynctool.com/ or some other soft that is not bugged like microsoft "programs" - NikolinoDEGold Contributor
Here are some steps you can take to troubleshoot the issue:
- Check your internet connection: Ensure that your computer is connected to the internet and that your internet connection is stable.
- Disable third-party firewall or antivirus: If you're using third-party firewall or antivirus software, temporarily disable it and try to sync the date and time again.
- Restart the Windows Time Service: Press the Windows key + R, type "services.msc" and press Enter. Find the "Windows Time" service, right-click it, and select "Restart". This should restart the time service and attempt to sync the date and time again.
- Update your system clock: Click on the clock in the lower-right corner of your screen, then click "Date and time settings". Under "Synchronize your clock", click "Sync now" to manually update your system clock.
- Check your time zone settings: Make sure your computer is set to the correct time zone. To do this, go to "Date and time settings", click "Change time zone", and select the correct time zone for your location.
I hope this helps!
- UsmanhamidCopper Contributor
Thanks Nik. Your tip has just saved me from going crazy.
- abcdefoiCopper Contributor
already tried all of this(
- NikolinoDEGold Contributor