VMware Cloud Community
tscott2340
Contributor
Contributor
Jump to solution

Time Incorrect on XP VM's (1 hour off)..

I'm running ESXi 4.1 and my XP VM's have the incorrect time. They are 1 hour slow.. In Windows they have the correct time zone (GMT-05:00 Eastern Time Zone with Automatically adjust for daylight savings) and when I do a net time it shows both a "current time" and a "Local Time" for the AD server it contacts..

Here is what a VM XP machine shows when doing a net time..

1.jpg

Here is what a non VM XP machine shows when doing a net time..

2.jpg

My hosts have NTP enabled and running and they do show the correc time..

Any ideas?

Thanks!

Reply
0 Kudos
1 Solution

Accepted Solutions
agrolt
Contributor
Contributor
Jump to solution

Sounds like a potential DST 2007 issue when they moved DST back 3 weeks from 1st Sunday of April to 2nd Sunday of March.  Machines that are still using the pre-2007 DST rules are behind an hour for 3 weeks in the spring and ahead for 1 week in the fall.  Set your timezone to UTC (Coordinated Universal Time) and see if it matches www.time.gov's UTC time.  If it does match, then install this hotfix:

http://support.microsoft.com/kb/955839

time.gov UTC time:

http://time.gov/timezone.cgi?UTC/s/0/java

View solution in original post

Reply
0 Kudos
12 Replies
weinstein5
Immortal
Immortal
Jump to solution

Do you have other VMs running on this host? Are they showing the correct time? DO you have another host you can migrate this VM to and see if the time is corrected?

The reason for my last question is I have seen this where the CMOS clock on the host is conflicting with the time zone set for the ESXi host -

If you find this or any other answer useful please consider awarding points by marking the answer correct or helpful
Reply
0 Kudos
tscott2340
Contributor
Contributor
Jump to solution

I have 6 hosts. All setup the same. I only have 2 XP Vm's (both with wrong time). All my 2003 / 2008 servers have the correct time.

The XP VM's are running on two different hosts..

There is no timezone setting in ESXi 4.1 (it uses UTC).

Thanks for the reply!

Reply
0 Kudos
tigerdeccan
Enthusiast
Enthusiast
Jump to solution

In Vcenter

right click VM -> properties -> options tab ,

make sure you tick sync guest time with host

Reply
0 Kudos
tscott2340
Contributor
Contributor
Jump to solution

My VMware Tools properties has "Time synchronization between the virtual machine and the ESX Server." checked.

Reply
0 Kudos
tscott2340
Contributor
Contributor
Jump to solution

Adding those values didn't fix it.

Reply
0 Kudos
tscott2340
Contributor
Contributor
Jump to solution

Anyone have any other ideas?

Thanks

Reply
0 Kudos
Cooldude09
Commander
Commander
Jump to solution

few steps

restart ntp server

check time on esxi

check on a vm without vmware tools

check on vm with vmware tools (time sync option enabled)

If U find my answer useful, feel free to give points by clicking Helpful or Correct. Subscribe yourself at walkonblock.com
Reply
0 Kudos
tscott2340
Contributor
Contributor
Jump to solution

The NTP server is a router and every other machine that pulls from it is correct.

The time on ESXI is correct.

A VM that I uninstalled vmware tools doesn't allow the NIC to work so it can't pull time.

Time is the same whether the option to sync is checked or not.

Thanks for the reply.

Reply
0 Kudos
agrolt
Contributor
Contributor
Jump to solution

Sounds like a potential DST 2007 issue when they moved DST back 3 weeks from 1st Sunday of April to 2nd Sunday of March.  Machines that are still using the pre-2007 DST rules are behind an hour for 3 weeks in the spring and ahead for 1 week in the fall.  Set your timezone to UTC (Coordinated Universal Time) and see if it matches www.time.gov's UTC time.  If it does match, then install this hotfix:

http://support.microsoft.com/kb/955839

time.gov UTC time:

http://time.gov/timezone.cgi?UTC/s/0/java

Reply
0 Kudos
tscott2340
Contributor
Contributor
Jump to solution

You friggin rock! That was it!

Thanks! Smiley Happy

Reply
0 Kudos
tscott2340
Contributor
Contributor
Jump to solution

You friggin rock! That was it!

Thanks! Smiley Happy

Reply
0 Kudos