Disable time synchronization of VMware virtual machines to host
1. Check to see if VMware Tools is installed on the virtual machine and, if installed, remove the "options" in the VMware Tools Properties window and "Other options" in front of "virtual machine versus host OS Time synchronization (T)" and click OK.
2. Turn off the virtual machine (shutdown, not hibernate), and turn off VMware Workstation.
3. See if there are services in the host that have the name "VMware Tools Service" and, if so, disable the service.
4. Use Notepad to open the. vmx file, such as "F:/my Virtual machines/red hat Enterprise Linux 4/red hat Enterprise Linux 4.vmx"
5. Change the value of the following configuration item to FALSE
[JavaScript]View PlainCopy
- Tools.synctime = "FALSE"
- Time.synchronize. continue = "FALSE"
- Time.synchronize.restore = "FALSE"
- Time.synchronize.resume.disk = "FALSE"
- Time.synchronize.shrink = "FALSE"
- Time.synchronize.tools.startup = "FALSE"
6. If you need to set the startup time of the virtual machine, modify the value of the configuration item rtc.starttime, which is the number of seconds from January 1, 1970 0:0 0 seconds to the current time.
For example, after you set the value of Rtc.starttime to 1218182888, the virtual machine's time will be set to August 8, 2008 8:8 8 seconds after the VM is restarted.
[JavaScript]View PlainCopy
- Rtc.starttime = 1218182888
You can convert a time to a UNIX timestamp from this URL: http://www.onlineconversion.com/unix_time.htm
7. Run the VMware Workstation and start the virtual machine.
Attached 1: If it is Virtual PC 2007, open the. vmc file (the configuration file for Virtual PC 2007) with Notepad, and change the value of <enabled> below
[XHTML]View PlainCopy
- <integration>
- <Microsoft>
- Then add the following codes
- <components>
- <host_time_sync>
- <enabled type="boolean">false</enabled>
- </host_time_sync>
- </Components>
- ...... ......
Attached 2: Description of several configuration items modified in the. vmx file (refer to Http://www.vmware.com/files/pdf/Timekeeping-In-VirtualMachines.pdf on page 17th):
tools.synctime |
If set to TRUE, the clock syncs peri Odically. |
time.synchronize.continue |
If set to TRUE, the clock syncs after taking a Snapshot. |
time.synchronize.restore |
If set to TRUE, the clock syncs after reverting To a snapshot. |
time.synchronize.resume.disk |
If set to TRUE, the clock syncs after Resumi Ng from suspend and after migrating to a new host using the VMware vMotion feature. |
time.synchronize.shrink |
If set to TRUE, the clock syncs after Defragmenti ng a virtual disk. |
time.synchronize.tools.startup |
If set to TRUE, the clock syncs when the T Ools Daemon. |
The following is referenced on page 8th of Http://www.vmware.com/files/pdf/Timekeeping-In-VirtualMachines.pdf
You can also force the CMOS TOD clock-to-start at a-specified time whenever the virtual machine was powered on, independent of the real time. To does this, set the configuration file option rtc.starttime. The value you specify are in seconds since Jan 1, 1970 00:00 UTC, but it's converted to the local time zone of the host OP Erating system before setting the CMOS TOD clock (under the assumption that the guest operating system requires the CMOS T OD clock to read in local time). If your guest operating system is running the CMOS TOD clock in UTC or some other time zone, you should correct for this W Hen setting rtc.starttime.
Disable time synchronization of VMware virtual machines to host