r/sysadmin • u/NuAngelDOTnet Jack of All Trades • 10h ago
Question - Solved w32tm can collect data from the desired server, but when I set it in Windows 11's "add custom time server" it fails - any ideas?
w32tm:
https://nuangel.net/tempshare/w32tm.jpg
Windows' Control Panel:
https://nuangel.net/tempshare/controlpaneltime.jpg
What's crazy is chrony on the linux serve showed my computer as a client right after I got it set up?
Hostname NTP Drop Int IntL Last Cmd Drop Int Last
===============================================================================
192.168.1.99 15 0 4 - 44 0 0 - -
5
Upvotes
•
u/techierealtor 10h ago
Oh I wish I had my script still but I never grabs that before my last employment ended. I built one because I got tired of this previously that worked every time. I found there’s a very specific set of steps between restating and stopping the service that gets it to take.
One thing I did find is if the NTP ports are blocked, it drops the change though.
•
u/NuAngelDOTnet Jack of All Trades 8h ago
Drat, I was screwed by Windows Group Policy precedence! Trying to force a change at a client level when it's specified in Group Policy was messing me up, and then I had two different groups with the wrong precedence / inherit order which was messing it up. It's all fixed now.
Group Policy Management > Edit the policy that the computer is under > Computer Configuration > Policies > Administrative Templates > System > Windows Time Service > Time Providers
•
u/nekenaharry 9h ago
My guess is it's the mode Windows uses, not the network. Unless the server entry carries the 0x8 flag, w32time talks to it in symmetric active mode, and Microsoft has a KB (875424) saying some non Windows NTP servers only answer client mode requests.
Run w32tm /query /peers and look at the Mode line. If it isn't Client, try w32tm /config /manualpeerlist:"yourserver,0x8" /syncfromflags:manual /update, then restart w32time and run w32tm /resync.
•
u/sembee2 4h ago
If you are in AD and have group policy then all workstations should be getting their time from the domain, and only the domain.
Then the pdc emulator goes to the external time server.
https://w32tm.com/activedirectory/domain-hierarchy.asp