Domain – Windows 7 PCs in a domain – time source keeps changing

domaingroup-policyntprouterwindows 7

I need help figuring out why the time source on some PCs keeps changing. Right now they're on Local CMOS clock. If I do w32tm /config /syncfromflags:domhier /update net stop w32time net start w32time then do a w32tm /query /status, they state they are getting their time from a domain controller. But then if I reboot the PC, it reverts back to Local CMOS clock.

I don't see anything in Group Policy that sets the time source. In fact, the PCs having this problem are in the same OU with some that aren't so I don't think it's Group Policy. They are on a different subnet, though. Can a router change the time source on a PC? Is there something in the Registry I can change that won't change after a reboot?

Thanks in advance.

Best Answer

In the GPO's console: Computer Configuration\Administrative Templates\System\Windows Time Service\Time Providers\Enable Enable Windows NTP Client and Enable Windows NTP Server.

Double Click Configure Windows NTP Client settings, type NTP server Name

In case the GPO does not apply, you can enter it by script or by hand that way :

w32tm /config /syncfromflags:manual /manualpeerlist:”dc.domain.com” /reliable:yes /update

If you do it by hand;

Restart the servcie to make sure it sync.

net stop w32time && net start w32time

Validate all the config;

W32TM /query /status

w32tm /query /peers

w32tm /query /configuration 

The reason I offer to hardcode the time server is because you use static IP and some network use the DHCP option 42 to set the timeserver. (a option you can't use as you are in static)