Link to home
Start Free TrialLog in
Avatar of nplanek
nplanekFlag for United States of America

asked on

Windows Server 2012R2 Time Incorrect

Our domain controller is Windows 2012R2.  Since the time change this weekend I've reset the time on the server numerous times, but it will not maintain the correct time.  I do have the daylight savings time box checked, and it is set to the correct time zone (central US).  How do I fix this?
Avatar of Brian B
Brian B
Flag of Canada image

Do you know if the server is synching to a time source?

Is it dropping back an hour? Make sure you have all the latest patches installed are there are a couple of patches required on the server to adjust them to the "new" dailylight savings.
Avatar of MasterNe0
MasterNe0

Check the bios to see if maybe the clock off on that side. if the bios clock is wrong, even by a few minutes. it can cause the OS to be off.

We use a third party free app to keep our server clock in sync with the world: http://www.worldtimeserver.com/atomic-clock/
Also make sure you're not in the Indiana Central time zone - they don't observe DST.
Hi @NPlanek,

Have you synched this domian controller to a NTP source using any of the methods described in: http://blogs.technet.com/b/nepapfe/archive/2013/03/01/it-s-simple-time-configuration-in-active-directory.aspx

if yes, please try this simple steps below to reset the NTP service:

w32tm /config /syncfromflags:domhier /update
w32tm /resync /rediscover
net stop w32time
net start w32time

Open in new window



if the reset still not happening, then try this additonal lines to re-register the service:

net stop w32time
w32tm /unregister
w32tm /register
net start w32time

w32tm /config /syncfromflags:domhier /update
w32tm /resync /rediscover
net stop w32time
net start w32time

Open in new window

Is this a VM or is it a Physical box?

IF PHYSICAL

UDP Port 123 must be open between your server and NTP devices

ON PDCe
w32tm /config /manualpeerlist:"IPPrimary,0x9 IPSecondary,0x1" /syncfromflags:manual /reliable:yes /update
net stop w32time
net start w32time
w32tm /resync /nowait /rediscover

###wait about 30 seconds
w32tm /query /peers

You should get the peers you set

ON STANDARD DCs
w32tm.exe /config /syncfromflags:domhier /reliable:no /update
net stop w32time
net start w32time

w32tm /resync /nowait /rediscover

###wait about 30 seconds
w32tm /query /peers

You should see PDCe as the peer

IF VM

Follow this to make sure your guest is not syncing with the Host

http://www.mustbegeek.com/time-synchronization-between-virtual-machine-and-esxi-server/

POWERSHELL WAY

########################
# Disable VM Time Sync #
########################
Write-Verbose “If the Server is running in a VMWare VM, ensure VMWare sync is disabled. `r “
IF ($VMWareServiceCount -gt 0)
    {  ## OPEN IF The server is a VM running on a VMWare host
        Write-Output “$Computer is running on a VMWare VM. `r “
        Write-Output “Disabling VMWare VM time synchronization with host. `r “
        $TimeResult = ‘C:\Program Files\VMware\VMware Tools\VMwareService.exe -cmd “vmx.set_option synctime 1 0″‘
        Write-Output “VMWare VM time synchronization with host is Disabled. `r “
    }  ## OPEN IF The server is a VM running on a VMWare host

ON PDCe
w32tm /config /manualpeerlist:"IPPrimary,0x9 IPSecondary,0x1" /syncfromflags:manual /reliable:yes /update
net stop w32time
net start w32time
w32tm /resync /nowait /rediscover

###wait about 30 seconds
w32tm /query /peers

You should get the peers you set

ON STANDARD DCs
w32tm.exe /config /syncfromflags:domhier /reliable:no /update
net stop w32time
net start w32time

w32tm /resync /nowait /rediscover

###wait about 30 seconds
w32tm /query /peers

You should see PDCe as the peer
ASKER CERTIFIED SOLUTION
Avatar of nplanek
nplanek
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of nplanek

ASKER

It was provided by HP, and it worked.
Hi Nplanek,

Does the system is a HP physical machine ?