Link to home
Start Free TrialLog in
Avatar of jkellyg78
jkellyg78Flag for United States of America

asked on

Primary DC time is wrong

I have a 2008 DC that is 5 min. ahead. I am unable to manually adjust the time. I know the setting must be in the registry, but what are the steps to correcting this? Also all the client computers and other server are syncing time with this Server.

Thanks
Avatar of Mike Kline
Mike Kline
Flag of United States of America image

So is this the PDC emulator in the forest root?  See if you have it set to sync with an external time source.  Matt has a good blog entry on time here    http://tigermatt.wordpress.com/2009/08/01/windows-time-for-active-directory/

Thanks

Mike
One more article for whichever DC is configured as PDC Emulator role owner in your forest root domain.

- Configuring the Windows Time Service:
http://www.windowsnetworking.com/articles_tutorials/Configuring-Windows-Time-Service.html
check that the server is not synchronising the time with thirdy part time server.Check the servies on the server is there any thirdy part time service.Uninstall the same if not required.
Install the latest Daylight saving patch on the server if not installed.
Configure the authoritative time server: http://support.microsoft.com/kb/816042
Check the resgistry under HKML->system->current comtrol set->services->w32time->parameters ,check  type is set to NTP and NTPServer is poiting to external time source

Resync the time using commands

w32tm /resync [/computer:<computer>]

Check teh article for w32 commands

http://technet.microsoft.com/en-us/library/cc773263(WS.10).aspx
Avatar of jkellyg78

ASKER

I tried some of the solutions, but when I do a w32tm /resync command its changes for like ten seconds. The it changes its self back to being 5 minutes ahead. Any ideas?
ASKER CERTIFIED SOLUTION
Avatar of Sandesh Dubey
Sandesh Dubey
Flag of India 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
Check  HKLM\System\CurrentControlSet\Services\W32time\Config.Check AnnounceFlags value isset to 5.
Restart the time service and ran w32tm /resyn /rediscover and check if  it is sync the time.

IT is a VM on Hyper-V. Sorry forgot to mention that. How do you stop it syncing time? On the Hyper-V host side or the client Side? Thanks,
Never mind I know how to do it. It’s under the VM settings within Hyper-V Manager. You have to select Integration Services. Then you just have to uncheck the box for Time Synchronization. Thanks for the Direction Sandeshdubey... I'll let you know if it doesn’t work...

On the physical host.
Turn off Time Sychronization in Integration Services
http://blogs.technet.com/b/chrad/archive/2009/08/28/fighting-hyper-v-physical-host-time-drift-utilizing-ntp-to-synchronize-clocks.aspx

On the VM server
1) Disable the Hyper-V Time Synchronization Service inside the VM.
2)Delete the following registry subtree: HKLM\SYSTEM\CurrentControlSet\Services\w32time\TimeProviders\vmictimeprovider
3)Set the correct time on the server and reboot the server.
4)Configure authorative time on the server.http://support.microsoft.com/kb/816042

Note:Backup the resgistery before you proceed.