如何禁止VMware虚拟机与Host的时间同步
1. 查看虚拟机是否安装了 VMware Tools, 如果有安装,则将 VMware Tools 属性窗口的“选项”-->“其他选项”中“虚拟机与宿主机操作系统时间同步(T)”前面的勾去掉,点击确定。
2. 关闭虚拟机(是关机,而非休眠),关闭 VMware Workstation。
3. 查看宿主机中的服务中是否有名称为 “VMware Tools Service” 的服务,如果有,则禁用该服务。
4. 用记事本打开 .vmx 文件,如“F:/My Virtual Machines/Red Hat Enterprise Linux 4/Red Hat Enterprise Linux 4.vmx”
5. 将如下配置项的值改为 FALSE
[javascript]view plaincopyprint?
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"
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. 如果需要设置虚拟机的启动时间,则修改配置项 rtc.startTime 的值,该配置项的值是从 1970 年 1 月 1 日 0 时 0 分 0 秒到当前时间的秒数。
如,将 rtc.startTime 的值设置为 1218182888 后,重新启动虚拟机时,虚拟机的时间将被设置为 2008 年 8 月 8 日 8 时 8 分 8 秒
[javascript]view plaincopyprint?
rtc.startTime = 1218182888
rtc.startTime = 1218182888
可以通过这个网址将某个时间转换为 UNIX 时间戳:doc.guandang.net
7. 运行 VMware Workstation,启动虚拟机。
附 1:如果是 virtual pc 2007,则用记事本打开 .vmc 文件(virtual pc 2007 的配置文件),将 <host_time_sync> 下 <enabled> 的值改为 false,如:
[xhtml]view plaincopyprint?
<integration>
<microsoft>
then add the following codes
<components>
<host_time_sync>
<enabled type="boolean">false</enabled>
</host_time_sync>
</components>
…… ……
<integration> <microsoft> then add the following codes <components> <host_time_sync> <enabled type="boolean">false</enabled> </host_time_sync> </components> …… ……
附 2:对 .vmx 文件中修改的几个配置项的说明(参考于 doc.guandang.net 第 17 页):
tools.syncTimeIf 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
另一则: 如何禁止VMware虚拟机与Host的时间同步功能 用VMware安装的Windows 2000/XP/2003虚拟机,要是实现跟主机的时间同步,这个比较简单,安装上VMware Tools就可以...
但是如何让虚拟机的时间与Host不同步呢? a) 关闭虚拟机和VMware软件。 b) 打开虚拟机的配置文件 (.vmx) ,并添加或修改下列选项的值为FALSE,注意要用文本编辑...
vmware 主机已禁用 usb 设备连接 的解决办法在虚拟机上装的 linux 系统 ,每次开机时都提示主机已禁用 usb 设备连接。 VMware Workstation,提示提示 Host U...
那么我们如何对虚拟机进行优化以达到最佳的资源利用...当我们在虚拟机中增加或删除文件时,随着时间的推移,...特别是 VMware 会尝试读取 Host OS 的光驱中是否有...
优化vmware虚拟机,提高运行速度(虚拟机慢的解决方法,详细图文教程)_工程科技_...选中 “Fit all virtual machine memory into reserved host RAM” 。 如下图...
Install VMware Tools i... 2页 免费 禁止VMware虚拟机与Host... 2页 ... 乘机安全小贴士 安全乘机指南 如何选择安全的航班 正确使用机上氧气面罩...
(进入 opt 目录) tar -xzf /media/cdrom/VMware Tools-8.1.4-227600.tar...(查看当前时间,可以看到时间还没与 host 主机,就是安装虚拟机的系统同步) date...
禁用vmware的vmem虚拟内存文件_IT/计算机_专业资料。禁用vmware的vmem虚拟内存...这里的禁用打上了引号,一般可能会认为,禁用了该文件就是完全使用 host 主机的 ...
极为实用的VMware虚拟机使用技巧十一例_自然科学_...记得笔者很长一段时间在Guest System中都无法使用声卡...如果你希望虚拟机也能借助Host主机访问Internet,那么...
使用虚拟系统的时间越长, Vmware 创建的虚拟磁盘占用...但是如何使虚拟磁盘达到一个最佳的状态是值得 研究...Run a disk defragmentation utility on the host ...
热门文档