Solved

Best way to sync time on Windows 2008 R2?

Posted on 2014-03-20
6
402 Views
Last Modified: 2014-03-27
I have a server that seems to go crazy with time every so often. I know there is built-in time sync in Windows and I typically do this on DCs.

w32tm /config /syncfromflags:manual /manualpeerlist:pool.ntp.org
w32tm /config /reliable:yes
w32tm /config /update
w32tm /resync
net stop w32time
net start w32time

And add the following to the registry:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders\NtpClient\SpecialPollInterval
"SpecialPollInterval"=dword:00000384
"SpecialInterval"=dword:00000001

Is that the best way to do it? Something I am missing? Twice this week this machine has been 30-50 minutes off and preventing logins.
0
Comment
Question by:mvalpreda
6 Comments
 
LVL 57

Accepted Solution

by:
Mike Kline earned 500 total points
ID: 39943171
Is tht the PDCe in your forest root?  That should be the only box that goes out for time, more on that in Matt's excellent blog below

http://tigermatt.wordpress.com/2009/08/01/windows-time-for-active-directory/

Is this box physical or virtual?

Is it the only box having issues?

Thanks

Mike
0
 
LVL 10

Expert Comment

by:0xSaPx0
ID: 39943172
This is the best way to do it. Only idea of the top of my head for the time changing is a dying motherboard battery.
0
 
LVL 2

Author Comment

by:mvalpreda
ID: 39943217
The PDCe is a VM and what is crazy is that the time is supposed to sync from the host, and the host was out of wack as well.

It looks like I can consolidate a few commands like this:

w32tm /config /manualpeerlist:”us.pool.ntp.org,0×8 pool.ntp.org,0×8¿ /syncfromflags:MANUAL /reliable:yes /update
net stop w32time
net start w32time

I'll make sure only the PDCe is going out and the rest are looking for time information on AD.
0
Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

 
LVL 36

Expert Comment

by:Mahesh
ID: 39943480
If this is Vm, just remove VM time sync between host and guest (VMware \ Hyper-V)

Rest of the settings already you have done

Then check your PDC system events for 35 and 37 for successful time sync
0
 
LVL 2

Author Comment

by:mvalpreda
ID: 39943500
Funny is that I set up us.pool.ntp.org and pool.ntp.org and I have an event 35 stating it is talking to NIST. Not that I mind....but not what I had configured....

The time service is now synchronizing the system time with the time source time.nist.gov (ntp.m|0x0|0.0.0.0:123->24.56.178.140:123).
0
 
LVL 36

Expert Comment

by:Mahesh
ID: 39943522
Please restart the time service once and see what changes happening in events
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Synchronize a new Active Directory domain with an existing Office 365 tenant
A safe way to clean winsxs folder from your windows server 2008 R2 editions
This tutorial will give a an overview on how to deploy remote agents in Backup Exec 2012 to new servers. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as connecting to a remote Back…
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question