?
Solved

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

Posted on 2010-11-07
11
Medium Priority
?
3,461 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 7
  • 2
11 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
Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

 

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

Free Backup Tool for VMware and Hyper-V

Restore full virtual machine or individual guest files from 19 common file systems directly from the backup file. Schedule VM backups with PowerShell scripts. Set desired time, lean back and let the script to notify you via email upon completion.  

Question has a verified solution.

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

OfficeMate Freezes on login or does not load after login credentials are input.
A safe way to clean winsxs folder from your windows server 2008 R2 editions
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…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
Suggested Courses

762 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