Solved

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

Posted on 2010-11-07
11
3,337 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_
ID: 34082120
0
 

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
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 

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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

We recently had an issue where out of nowhere, end users started indicating that their logins to our terminal server were just showing a "blank screen." After checking the usual suspects -- profiles, shell=explorer.exe in the registry, userinit.exe,…
I was supporting a handful of Windows 2008 (non-R2) 2 node clusters with shared quorum disks. Some had SQL 2008 installed and some were just a vendor application that we supported. For the purposes of this article it doesn’t really matter which so w…
This tutorial will show how to push an installation of Backup Exec to an additional server in both 2012 and 2014 versions of the software. Click on the Backup Exec button in the upper left corner. From here, select Installation and Licensing, then I…
This tutorial will walk an individual through locating and launching the BEUtility application to properly change the service account username and\or password in situation where it may be necessary or where the password has been inadvertently change…

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