Windows Time
Query Current Time Source
w32tm /query /source
also
w32tm /query /peers
Resync Time
w32tm /resync
Secure Time Seeding – improving time keeping in Windows
Manual ReSync From pool.ntp.org
w32tm /config /syncfromflags:manual /manualpeerlist:"pool.ntp.org"
Time Sync for a Remote Workforce
https://techcommunity.microsoft.com/t5/core-infrastructure-and-security/domain-time-synchronization-in-the-age-of-working-from-home/ba-p/1440820
Windows NTP Client Flags
The best documentation I can find for what the flags mean is here:
The flags are a hex bitmask:
-
0x01 SpecialInterval - The value of the SpecialPollInterval element is used as the polling interval for this time source.
-
0x02 UseAsFallbackOnly - Use this time source only when all other time sources have failed. No preference is given among fallback time sources when multiple time sources are configured with this option.
-
0x04 SymmetricActive - Use the symmetric active mode when communicating with this time source.
-
0x08 Client - Use the client mode when communicating with this time source.
So 0xb is:
- 0x01 SpecialInterval
- 0x02 UseAsFallbackOnly
- 0x08 Client
Multiple time sources are delineated by a space. For two time sources, the following form would be used:
<Time Source #1>[,<Bitwise Flags #1>] <Time Source #2>[,<Bitwise Flags #2>]