I have faced many issues with the time on the servers which does not matches with real time and causes many software not to work properly, group policy not applying , user cannot logging to the domain, giving wrong time to the clients. Even I change time and date from the control panel it got revered back.
If time on your Primary domain controller is different, then the actual real time you have come to the right article.
To troubleshoot, First thing I would check
- If your BIOS Battery are all working, this can be fixed by changing
BIOS battery.
- If you are using a Virtual environment
- If you are using a Virtual environment
Check the time on the Host VM and check if your VM is using time from
the HOST.
Like on Hyper-V Time Synchronisation are on the Integration service.
(I usually keep then unsync)
Like on Hyper-V Time Synchronisation are on the Integration service.
(I usually keep then unsync)
If all the above are fine and your time of the server/client keeps changing, This
might be because your NTP time server is corrupt and not working correctly on your Primary
Domain Controller.
To fix this, on your Primary domain controller (your main DC server).Open command prompt with the administrator user rights.
Run the following line
w32tm /config /manualpeerlist:0.uk.pool.ntp.org /syncfromflags:manual /reliable:yes /update && net stop W32Time && net start W32Time
To fix this, on your Primary domain controller (your main DC server).Open command prompt with the administrator user rights.
Run the following line
w32tm /config /manualpeerlist:0.uk.pool.ntp.org /syncfromflags:manual /reliable:yes /update && net stop W32Time && net start W32Time
Or (if you want multiple time server)
w32tm /config /manualpeerlist:”0.uk.pool.ntp.org,1.uk.pool.ntp.org,1.uk.pool.ntp.org”
/syncfromflags:manual /reliable:yes /update && net stop W32Time
&& net start W32Time
I am from UK, so I am using UK (0.uk.pool.ntp.org) NTP time pool from the following website https://www.pool.ntp.org/zone/uk
I am from UK, so I am using UK (0.uk.pool.ntp.org) NTP time pool from the following website https://www.pool.ntp.org/zone/uk
If you are from different part of world please google any NTP server
that you like and replace “0.uk.pool.ntp.org”
from the above line.
If you have secondary Domain Controller. On that DC, open command prompt as admin and run the following line . This is not required if your secondary DC time is ok.
w32tm /config /syncfromflags:domhier /update && net stop w32time && net start w32time
Once this is done run the following line on the affected computer (server/client). This will sync the time
w32tm /resync /force
I hope that helps.
If you have secondary Domain Controller. On that DC, open command prompt as admin and run the following line . This is not required if your secondary DC time is ok.
w32tm /config /syncfromflags:domhier /update && net stop w32time && net start w32time
Once this is done run the following line on the affected computer (server/client). This will sync the time
w32tm /resync /force
I hope that helps.