Link to home
Start Free TrialLog in
Avatar of Dale Forguson
Dale ForgusonFlag for United States of America

asked on

NTP on Hyper-V PDC running 1/2 hour fast

On a Windows 2008 Hyper-V PDC the NTP service is configured to sync with external source. This is the only DC in a small network.



C:\Users\Administrator.XXXXXX>w32tm /query /status
Leap Indicator: 0(no warning)
Stratum: 3 (secondary reference - syncd by (S)NTP)
Precision: -6 (15.625ms per tick)
Root Delay: 0.0000000s
Root Dispersion: 10.0000000s
ReferenceId: 0xD0359E22 (source IP:  208.53.158.34)
Last Successful Sync Time: 1/14/2015 9:51:23 PM
Source: 0.pool.ntp.org,1.pool.ntp.org,2.pool.ntp.org,3.pool.ntp.org
Poll Interval: 6 (64s)


C:\Users\Administrator.XXXXXX>net stop w32time & net start w32time
The Windows Time service is stopping.
The Windows Time service was stopped successfully.

The Windows Time service is starting.
The Windows Time service was started successfully.


C:\Users\Administrator.XXXXXX>w32tm /resync /force
Sending resync command to local computer
The computer did not resync because no time data was available.

Late here. will check for posts in the AM.
Avatar of Dale Forguson
Dale Forguson
Flag of United States of America image

ASKER

forgot to mention the system time in the system tray is about 1/2 hour fast. I tried to reset but it immediately went back to 1/2 hour fast. Edited registry per this link; http://blogs.msdn.com/b/virtual_pc_guy/archive/2010/11/19/time-synchronization-in-hyper-v.aspx prior to running commands above.
SOLUTION
Avatar of VB ITS
VB ITS
Flag of Australia 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
ASKER CERTIFIED SOLUTION
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
time zone is correct.
time sync is unchecked
followed steps in blog
time in system tray is still about 30 mins. off, date is correct.

C:\Users\Administrator.XXXXXX>w32tm /config /syncfromflags:manual "/man
ist:0.ca.pool.ntp.org,ox1 1.ca.pool.ntp.org,0x1 2.ca.pool.ntp.org,0x1 3.
ntp.org,0x1" /reliable:yes
The command completed successfully.

C:\Users\Administrator.XXXXXX>w32tm /config /update
The command completed successfully.

C:\Users\Administrator.XXXXXX>net stop w32time && net start w32time
The Windows Time service is stopping.
The Windows Time service was stopped successfully.

The Windows Time service is starting.
The Windows Time service was started successfully.


C:\Users\Administrator.XXXXXX>w32tm /resync /force
Sending resync command to local computer
The command completed successfully.

C:\Users\Administrator.XXXXXX>w32tm /query /source
3.ca.pool.ntp.org,0x1
Checked the host machine. it is not a DC so obviously not PDC. but, the time service was misconfigured. I corrected it and resynced. It now has correct time. This also corrected the VM. I don't understand why since the VM wasn't configured to sync with the host. :-/
Both experts are on the right track but Phillips solution was more complete and reminded me to check the host. Thanks to both!
You are welcome. :)
Glad you sorted out the issue. Definitely a weird one!