RSS

VPC虚拟机自动与主机时间同步的解决办法

17 Mar

Virtual PC下的虚拟机会自动与当前host主机的时间同步。但是很多时候,测试虚拟机会很久以后再跑,可是你会发现由于时间不断同步,会导致一些windows过期。(测试当然用测试版windows,用vl版本测试的用户略过本文)。

解决方法

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同步了!

Advertisements
 
Leave a comment

Posted by on March 17, 2009 in VDI

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: