禁止虚拟机(Windows)与主机时间同步(VM & Virtualbox & Virtual PC)
2013-09-29 15:41
746 查看
Virtualbox (测试OK):
1. 安装增强功能:
2. 虚拟机系统确保没有开启W32TIME服务, 如有可用命令NET STOP W32TIME关闭
3. 修改虚拟机注册表如下:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\VBoxService项下ImagePath值改为system32\VBoxService.exe --disable-timesync
或者在主机运行: VBoxManage setextradata <vmname> "VBoxInternal/Devices/VMMDev/0/Config/GetHostTimeDisabled"
"1"
4. 重启Virtualbox虚拟机
VM(未测试):
参考地址: /article/2979488.html
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
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"
7. 重启VM虚拟机
Virtual PC 2007[b](未测试): [/b]
用记事本打开 .vmc 文件(virtual pc 2007 的配置文件),将 <host_time_sync> 下 <enabled> 的值改为 false,如:
1. 安装增强功能:
2. 虚拟机系统确保没有开启W32TIME服务, 如有可用命令NET STOP W32TIME关闭
3. 修改虚拟机注册表如下:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\VBoxService项下ImagePath值改为system32\VBoxService.exe --disable-timesync
或者在主机运行: VBoxManage setextradata <vmname> "VBoxInternal/Devices/VMMDev/0/Config/GetHostTimeDisabled"
"1"
4. 重启Virtualbox虚拟机
VM(未测试):
参考地址: /article/2979488.html
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
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"
7. 重启VM虚拟机
Virtual PC 2007[b](未测试): [/b]
用记事本打开 .vmc 文件(virtual pc 2007 的配置文件),将 <host_time_sync> 下 <enabled> 的值改为 false,如:
<integration> <microsoft> then add the following codes <components> <host_time_sync> <enabled type="boolean">false</enabled> </host_time_sync> </components> …… ……
相关文章推荐
- centos VM VirtualBox虚拟机设置跟windows主机共享文件夹
- Oracle VM virtualBox主机和虚拟机之间文件夹共享(宿主机Windows->Ubuntu)
- 使虚拟机(Virtual PC)与宿主机时间不同步
- Ubuntu下启用root账户和设置固定IP && ntp解决虚拟机Ubuntu时间与windows时间不同步
- Document share of Oracle VM VirtualBox(ubuntu) and Windows 7(虚拟机与本地主机实现文件夹的共享方法)
- Oracle VM VirtualBox配置虚拟网卡(桥接),实现主机-虚拟机网络互通
- Windows环境下在Oracle VM VirtualBOX下克隆虚拟机镜像(克隆和导入)
- Windows环境下在Oracle VM VirtualBOX下克隆虚拟机镜像(克隆和导入)
- Virtual PC 2007禁止与主机系统时间同步
- Windows 7的VPC虚拟机自动不与主机时间同步的解决办法
- Windows 7的VPC虚拟机自动不与主机时间同步的解决办法
- hadoop小知识1-虚拟机与主机时间同步
- VirtualBox NAT 模式下,主机ssh访问虚拟机配置
- Oracle VM VirtualBox启动新建虚拟机弹错--不能为虚拟机xxxx电脑 打开一个新任务 解决方法;
- virtualbox windows 主机 安装ubuntu系统 共享文件夹 没有权限访问
- virtualbox&nbsp;虚拟机&nbsp;ubuntu中下添加…
- Share folder between windows and ubuntu linux vm from Virtual Box
- oracle vm virtualbox 如何让虚拟机可以上网
- 虚拟机linux与主机时间同步
- Oracle VM VirtualBox启动新建虚拟机弹错--不能为虚拟机xxxx电脑 打开一个新任务