Solved

Windows Server 2008, HyperV, Time Sync Problem, Local CMOS Clock!

Posted on 2010-11-07
11
3,297 Views
Last Modified: 2012-08-17
I have a DC running on a HyperV Host. No matter what I seem to do I don't seem to be able to
get it to verify that it is sync'ing with an external timesource. Using the command line and typing
w32tm /query /computer:computername /source gives me Local CMOS Clock, If I force an update
it tells me that no time data is available!
 
Things I have tried;
Under services offered to this VM by the HyperV Host, Time Sync is definitely off
I have tried using w32tm to set a manual peer list of time sources, tried multiple sources!
I have checked the registry settings to ensure they are the same as many websites list e.g.
http://timjacobs.blogspot.com/2007/11/virtualized-domain-controllers-time.html
I have also used the program at the bottom of this net post to verify port 123 is open

I am running out of ideas and out of information on the web to try! Any ideas ? It's got me stumped
as to why it is getting no data even though the registry says it should be getting it from an external
source and the firewall seems to be for time sync.

Help ? Thanks :)
0
Comment
Question by:tuckrman
  • 7
  • 2
11 Comments
 
LVL 4

Expert Comment

by:Pro_
Comment Utility
0
 

Author Comment

by:tuckrman
Comment Utility
Forgot to include the link to the util I used
http://bchavez.bitarmory.com/archive/2009/12/21/how-to-setup-a-windows-2008-r2-sntp-ntp-server.aspx

Also tried checking the local and domain group policy regarding time servers, it is set to not configured. I will try rebooting the host like your link specified! Will update shortly
0
 

Author Comment

by:tuckrman
Comment Utility
Ok rebooted the HyperV Host, no change. Rebooted the Virtual DC, no change. About to try turning off volume snapshot services offered to the virtual machine as I read that as a side note on the forum link you mentioned.

0
 

Author Comment

by:tuckrman
Comment Utility
No change even when turning volume backup services off. Strangle enough W32tm /query
tells me LOCAL CMOS Clock but net time /querysntp tells me the correct external time sync server ?!?!

Thoughts ?
0
 

Author Comment

by:tuckrman
Comment Utility
No other solutions ?
0
Want to promote your upcoming event?

Are you going to an event? Are you going to be exhibiting at a tradeshow? Talking at a conference? Using a promotional banner in your email signature ensures that your organization’s most important contacts stay in the know and can potentially spread the word about the event.

 
LVL 4

Expert Comment

by:Pro_
Comment Utility
I know that you have prob done this but have you manually changed the clock on the DC. Set it manually and restart the time service and try again. NTP clients refuse to change the clock by larger amounts if they are already off

Also check the syntax i.e. http://efreedom.com/Question/2-62808/Problems-Setting-NTP-Sever-W32tm-DC-Hyper-Guest. The setting command may say it has completed succesfully but has not worked.

Also see this for DC with PDC: http://efreedom.com/Question/2-3403/Configure-Windows-Domain-Controller-Use-External-Time-Server

Will look at further solutions and get back to you
0
 

Author Comment

by:tuckrman
Comment Utility
thanks for the update. I did see also that post on the syntax regarding the space but most of my commands I was using only had one time server anyways so the space wasn't an issue. To ensure that it wasn't an issue regarding syntax I downloaded a little util from MS that will set it all for you and that ran ok, it is in the registry ok also by the looks.

The bottom link is for 2003, and I have actually done that command prior before I realised that 2008 u are meant to use w32tm. if I do net time /query it is setup to the correct time source I have set. But W32 shows local CMOS clock and if I do a w32tm /resync, it thinks about it for a while and then basically says no time data was available.

This is a rather frustrating problem as we seem to be issuing the right commands but just not getting the right results!

Thanks
0
 

Author Comment

by:tuckrman
Comment Utility
I think the key is in the fact when I do the resync it can't find any time data and that querying with w32 just shows the MAchine as sync'n with the Local CMOS Clock. I checked and the clock itself isn't out of time but if you do a reboot of the HyperV Host, by the time the DC boots up it is out of time
0
 

Accepted Solution

by:
tuckrman earned 0 total points
Comment Utility
SOLVED. I want to post a lot of swearing because this was such a frustrating problem! I will refrain. Anyhow basically I knew from using a small utility that I could get out via port 123 and all was well. then I thought well maybe I will try the w32 commands using the particular time servers used by this util. BINGO it works. so the local time servers I was using were not working (for me) now I think this is because they were from other ISP's rather than my own so basically I am assuming that if I wasn't possibly in the right IP address range they wouldn't service my time requests. Anyhow thanks for your help :)
0
 
LVL 74

Expert Comment

by:Glen Knight
Comment Utility
This question has been classified as abandoned and is being closed as part of the Cleanup Program. See my comment at the end of the question for more details.
0

Featured Post

Want to promote your upcoming event?

Attending an event? Speaking at a conference? Or exhibiting at a tradeshow? Easily inform your contacts by using a promotional banner in your email signature. This will ensure your organization’s most important contacts are in the know.

Join & Write a Comment

To effectively work with Diskpart on a Server Core, it is necessary to write some small batch script's, because you can't execute diskpart in a remote powershell session. To get startet, place the Diskpart batch script's into a share on your loca…
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
This tutorial will give a short introduction and overview of Backup Exec 2012 and how to navigate and perform basic functions. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as conne…
This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…

728 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now