How to fix Windows Server 2012 time goes back 1 hour after reboot?

mahdi gh picture mahdi gh · Mar 29, 2016 · Viewed 12.2k times · Source

We have two domain controllers with windows server 2012 R2. My Timezone is set to +3:30 and I disabled the daylight savings. Daylight savings will add 1 hour to current time but I want it to be unchecked and add 1 hour manually to current time. After server reboot or a while my time goes back 1 hour!! NTP is disabled, Windows Time service is disabled. Why I can't set my clock manually? I unplugged PDC from network and added 1 hour and reboot. the result was Ok. This shows that when PDC boots, it syncs clock with somewhere. How can I disable this? Please help, My entire domain clock is in wrong time. Thanks

Answer

Mohannd picture Mohannd · Mar 30, 2016

you need to disable the external time source to stop updating system time. you have two ways to fix this,

w32tm.exe /config /manualpeerlist:"127.0.0.1" /syncfromflags:manual /reliable:YES /update

or go to regedit

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\W32Time\Parameters]

"NtpServer"="127.0.0.1"

this way you guarantee that your system have no external time source.