VMware Cloud Community
Experience
Contributor
Contributor
Jump to solution

Date and Time synchronization.

I have an ESXi 5 and it has a  VM Windows Server 2003 and joined to the domain
When I restart the VM W2K3 the date and time is not correct.

I tried to configure a GPO before login, but does not work because the time can not be correct with the domain controller.

0 Kudos
1 Solution

Accepted Solutions
Gav0
Hot Shot
Hot Shot
Jump to solution

Sounds like the VM is syncing its time with the ESXI host at boot up, and the ESXi host is not in sync with your Domain Controller.

You can try either of the following:

1. Ensure your ESXi host is using the same NTP settings as your DC's.  From the vSphere Client select the ESXi host>configuration tab>under 'Software' select Time Configuration>Properties>Options - ensure the service is started and set to 'Start and Stop with the host'.  Click NTP settings and specify the same NTP source as your domain.

2. Stop the VM from syncing its time source with the ESXi host. - right click VM>Edit Settings>Options>VMware Tools>uncheck the 'Synchronize Guest time with host'.  If you do this it should revert back to getting its time from the DC

Please award points to your peers for any correct or helpful answers

View solution in original post

0 Kudos
8 Replies
abhilashhb
VMware Employee
VMware Employee
Jump to solution

When you restart the VM, the date and time is not correct on ESXi or the Guest OS? Can you be n=more clear? Is the ESXi syncing the time from the domain?

Abhilash B
LinkedIn : https://www.linkedin.com/in/abhilashhb/

0 Kudos
Paltelkalpesh
Enthusiast
Enthusiast
Jump to solution

Did you installed VMware tool in virtual machine ? Did you set date and time on Physical host configuration setting.

0 Kudos
SatyS
Hot Shot
Hot Shot
Jump to solution

You can always sync with DC.

Please have a look at this thread

https://communities.vmware.com/message/2081372#2081372

-SatyS

If you find this useful,please mark the answer as correct/helpful

Regards,
SatyS
http://myvirtuallearning.wordpress.com/

Gav0
Hot Shot
Hot Shot
Jump to solution

Sounds like the VM is syncing its time with the ESXI host at boot up, and the ESXi host is not in sync with your Domain Controller.

You can try either of the following:

1. Ensure your ESXi host is using the same NTP settings as your DC's.  From the vSphere Client select the ESXi host>configuration tab>under 'Software' select Time Configuration>Properties>Options - ensure the service is started and set to 'Start and Stop with the host'.  Click NTP settings and specify the same NTP source as your domain.

2. Stop the VM from syncing its time source with the ESXi host. - right click VM>Edit Settings>Options>VMware Tools>uncheck the 'Synchronize Guest time with host'.  If you do this it should revert back to getting its time from the DC

Please award points to your peers for any correct or helpful answers
0 Kudos
Experience
Contributor
Contributor
Jump to solution

The client operating system.

0 Kudos
Experience
Contributor
Contributor
Jump to solution

The VMTools is installed, do not set the VM to sync with ESXi.

0 Kudos
Experience
Contributor
Contributor
Jump to solution

Now the problem seems to be solved after doing the steps;


1.
Ensure your ESXi host is using the same NTP settings to your DC's. From the vSphere Client, select the ESXi host> configuration tab> under 'Software' select Time Configuration> Properties> Options - Ensure the service is started and set to 'Start and Stop with the host'. Click NTP settings and specify the same NTP source to your domain.


NTP
was disabled

0 Kudos
Gav0
Hot Shot
Hot Shot
Jump to solution

Glad its working now Smiley Happy

Please award points to your peers for any correct or helpful answers
0 Kudos