Disable time synchronization between vmwarevm and host
1. check whether VMware Tools is installed on the VM. If any, synchronize the VM time with the host operating system (t) in the Options> other options in the VMware Tools Properties window) "And click" OK.
2. Shut down the Virtual Machine (shut down rather than sleep) and shut down vmware workstation.
3. Check whether the service in the host machine is known as "VMware Tools service". If yes, disable the service.
4. Open the. vmx file in notepad, 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.
Tools. synctime = "false" <br/> time. synchronize. continue = "false" <br/> time. synchronize. restore = "false" <br/> time. synchronize. resume. disk = "false" <br/> time. synchronize. shrink = "false" <br/> time. synchronize. tools. startup = "false"
6. If you need to set the VM startup time, modify the value of the configuration item RTC. starttime, which is the number of seconds from 00:00:00 on January 1, January 1, 1970 to the current time.
For example, if you set the value of RTC. starttime to 1218182888, the VM time will be set to August 8, 2008 08:08:08 when you restart the VM.
RTC. starttime= 1218182888
You can use this URL to convert a time to a Unix timestamp: http://www.onlineconversion.com/unix_time.htm
7. Run vmware workstation to start the virtual machine.
Appendix 1: for Virtual PC 2007, use NotePad to open the. VMC file (configuration file of Virtual PC 2007) and change the value of <enabled> under
<Integration> <br/> <Microsoft> <br/> then add the following codes <br/> <Components> <br/> <post_time_sync> <br/> <enabled type = "Boolean"> false </enabled> <br/> </post_time_sync> <br/> </components> <br/> ...... ......
Appendix 2: Description of the configuration items modified in the. vmx file (refer to http://www.vmware.com/files/pdf/Timekeeping-In-VirtualMachines.pdf 17th page ):
Tools. synctime |
If set to true, the clock syncs periodically. |
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 resuming 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 defragmenting a virtual disk. |
Time. Synchronize. Tools. startup |
If set to true, the clock syncs when the tools daemon. |
See http://www.vmware.com/files/pdf/Timekeeping-In-VirtualMachines.pdf 8th for the following content
You can also force the CMOS Todd clock to start at a specified time whenever the virtual machine is powered on, independent of the real time. To do this, set the configuration file optionRTC. starttime. The value you specify is in seconds since Jan 1, 1970 00:00 UTC, but it is converted to the local time zone of the host operating system before setting the CMOS Todd clock (under the assumption that the guest operating system requires the CMOS Todd clock to read in local time). if your guest operating system is running the CMOS Todd clock in UTC or some other time zone, you shoshould correct for this when settingRTC. starttime.