Sunday, March 6, 2022

Windows 11 time issue

 I installed Windows 11 VM from Parallel Desktop, everything is OK but sometimes the time is not accurate, and it causes the scheduled tasks can't run at the specified time. My Mac is on Toronto timezone while the VM has to be on Beijing Timezone.

Parallel Desktop technically support suggests to disable time sync from PD (Time: Do not sync), but I still see the issue.

The workaround:

Update HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Config

MinPollInterval and MinPollInterval.

I updated both to 8, (2 power of 8 = 256 seconds), and run "w32tm /config /update" to update.

(Windows Time service needs to auto start)

Now I can see the time is sync at 12:14:07,12:18:23,12:22:39...

NtpClient SpecialPollInterval setting doesn't work for me, maybe need some other flag settings to make it work.

https://docs.microsoft.com/en-us/troubleshoot/windows-server/identity/specialpollinterval-polling-interval-time-service-not-correct

https://docs.microsoft.com/en-us/troubleshoot/windows-server/identity/w32time-sync-specialpollinterval-ignored



1 comment:

  1. Update the time server to time.google.com
    https://www.guidingtech.com/top-ways-to-fix-time-sync-failed-on-windows-11/#:~:text=Step%201%3A%20Press%20Windows%20key,'
    https://gist.github.com/mutin-sa/eea1c396b1e610a2da1e5550d94b0453

    ReplyDelete