Virtual PC下的虚拟机会自动与当前host主机的时间同步。但是很多时候,测试虚拟机会很久以后再跑,可是你会发现由于时间不断同步,会导致一些windows过期。
解决方法如下 <a name=”entrymore” title=”entrymore”>
1、关闭运行的虚拟机
2、修改虚拟机文件的.vmc配置文件,在下列位置添加黑色加粗的代码
<integration>
<microsoft>
<mouse>
<allow type=”boolean”>true</allow>
</mouse>
<components>
<host_time_sync>
<enabled type=”boolean”>false</enabled>
</host_time_sync>
</components>
Bunch of other stuff that I am skipping over to save space…
</microsoft>
</integration>
3、保存配置文件。
下次您重新跑虚拟机的时候,时间就是vpc自己控制了,不会和host同步了!
0 条评论。