?
Solved

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

Posted on 2010-11-07
11
Medium Priority
?
3,547 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
10 Comments
 

Author Comment

by:tuckrman
ID: 34082184
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
ID: 34082343
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
Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

 

Author Comment

by:tuckrman
ID: 34082356
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
ID: 34090359
No other solutions ?
0
 
LVL 4

Expert Comment

by:Pro_
ID: 34091931
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
ID: 34098674
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
ID: 34098696
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
ID: 34098794
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
ID: 34824802
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

Simplify Active Directory Administration

Administration of Active Directory does not have to be hard.  Too often what should be a simple task is made more difficult than it needs to be.The solution?  Hyena from SystemTools Software.  With ease-of-use as well as powerful importing and bulk updating capabilities.

Question has a verified solution.

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

Scenario:  You do full backups to a internal hard drive in either product (SBS or Server 2008).  All goes well for a very long time.  One day, backups begin to fail with a message that the disk is full.  Your disk contains many, many more backups th…
This article explains how to install and use the NTBackup utility that comes with Windows Server.
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…
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…
Suggested Courses

809 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