Share via


time change issue in server 2012 r2

Question

Monday, January 29, 2018 7:25 AM

hello everyone

 we are facing a problem in server 2012 r2 DOMAIN CONTROLLER that its time getting changed after few hour/minute automatically. it set on manually with no internet access. please help to solve this issue.

All replies (4)

Monday, January 29, 2018 8:39 AM

If it's a VM, VM host has incorrect time, Please disable syncing time from VM.

and set reliable time source as time server on that server by typing below command,

1. Check what Current time source is,
w32tm /query /status

2. Set Time source (Instert Your time server ip or name instead of TimeServer.net)
w32tm /config /manualpeerlist:"TimeServer.net" /syncfromflags:manual /reliable:yes /update

3. Stop and Restart Time service
Stop-Service w32time
Start-Service w32time

4. Sync time forcely
w32tm /resync /force


Tuesday, January 30, 2018 4:20 AM

Sir,

It is not VM.

Second important thing is My Server (2012 R2) is not on internet i.e. I cannot access internet from server at all.

Server and its network is without internet access for security reason.

Please help me.


Tuesday, January 30, 2018 4:31 AM

Then use trusted and reliable time source as your time server. Include it's name or ip in below code and run it in elevated cmd to set time server. No need Internet.

w32tm /config /manualpeerlist:"TimeServer.net" /syncfromflags:manual /reliable:yes /update

But you have to open UDP port 123 your server to target time server.


Tuesday, January 30, 2018 8:38 AM

Hi,

If there is no Internet access, you may try to configure the Windows Time service to use an internal hardware clock. You can use the tool provided by below article, or, reference the detail step mentioned in below article to manually configure it.

How to configure an authoritative time server in Windows Server:
https://support.microsoft.com/en-us/help/816042/how-to-configure-an-authoritative-time-server-in-windows-server

Best Regards,
Eve Wang

Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact [email protected].