• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 106
  • Last Modified:

Problem with time server configuration.

We have a Windows 2008 server which is reporting a lot of errors regarding the time service as detailed below.  This server is configured as a DC.  Notice the time is constantly being adjusted and the server is regularly stopping itself advertising as a time server

Event Log
This server is hosted on the cloud and is configured to sync time with the primary DC on our local site.  This local primary DC uses references time.windows.com.

Time Config

What is causing these time events and how should we fix it?
0
canuckconsulting
Asked:
canuckconsulting
  • 4
  • 3
2 Solutions
 
Old UserCommented:
This points to a communication issue with the time source, ie unable to update time from 10.1.1.250.

you need to resolve the communication issue or set that server to use an external time source.
0
 
Jeffrey Kane - TechSoEasyPrincipal ConsultantCommented:
If your cloud server is virtual (most likely) then you need to disable a key in the registry that forces it to sync with it's host machine no matter what else you have added to direct it to sync with your on-premise DC.

Look for this key:
HKLM\SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders\VMICTimeProvider\

Then set "Enabled" to "0"

After you do that, restart the time service:

net stop w32time
net start w32time

Also, I'd suggest that you don't use time.windows.com, if the server cannot reach it for some reason (which happens a lot) then you'll get those type of errors.

Instead use the ntp.org servers -- and to change to those run the following commands on your PDC:

w32tm /config /manualpeerlist:"0.pool.ntp.org,0x8 1.pool.ntp.org,0x8 2.pool.ntp.org,0x8" /syncfromflags:MANUAL
w32tm /config /update
net stop w32time
net start w32time
w32tm /resync /nowait
0
 
canuckconsultingAuthor Commented:
Jeffrey Kane: Thanks

I found this from ntp.org.  It suggests that this is not the right path for servers on an AD network.  Can you please advise?  I should mention that I made your changes prior to find this article so am a bit nervous now as I'm unsure how to rollback!

An example configuration, suitable for a Windows 2003 standalone server or Primary Domain Controller Emulator in a Active Directory domain:
C:\>w32tm /config /update /manualpeerlist:"0.pool.ntp.org,0x8 1.pool.ntp.org,0x8 2.pool.ntp.org,0x8 3.pool.ntp.org,0x8" /syncfromflags:MANUAL
The above configuration tells Windows Time Service to use four servers from the NTP Pool, and use a client-mode association (identified by the ,0x8 after each server name) to contact them. This configuration is analgous to server directives in the configuration file for ntpd. Note that this configuration should not be used on Windows servers or clients that are members of an Active Directory domain, unless you absolutely want them to ignore time from Active Directory domain controllers on the network.
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
canuckconsultingAuthor Commented:
Dave Preston: Thanks for the input.

The server with this errors is hosted remotely at hosting.com on the cloud while 10.1.1.250 is based at our local site.  They are both DCs.  Could the remote server be failing due to delays associated with this configuration.  Should instead both DCs be configured to sync with the same external time server like ntp.org?
0
 
Old UserCommented:
Yes I would configure both to sync from the same time source. I too use ntp.org.
If you go to their site there are very good instructions on how to configure a Windows server to use their pool of ntp servers
0
 
canuckconsultingAuthor Commented:
Thanks Dave.

I reread my post to Jeffrey above and think I missed the point.  Presumably the bit in bold refers to non-DCs.  Is that your chaps take as well?
0
 
Old UserCommented:
It is okay to use external time source on a DC, but better to let clients and member servers use th DC as their time source
0
 
canuckconsultingAuthor Commented:
Thanks guys!
0

Featured Post

[Webinar] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now