-
2008-11-03
取消Virtual PC和主机的时间同步
最近在虚拟机中使用VS2010,因为修改了主机的时间,居然导致VS2010的试用时间过期,想在虚拟机中将时间修改成正常时间,可是一会虚拟机中的时间又跟主机进行了同步,被改了回去,Google了一下,找到一个取消Virtual PC和主机进行时间同步的方法:
1.Stop the virtual machine in question. (关闭正在运行的虚拟机)
2.Locate the .VMC file for the virtual machine.(找到虚拟机的VMC格式的配置文件)
3.Open the .VMC file in notepad. (用记事本打开VPC文件)
4.Find the section of the .VMC file that looks like this:(找到VMC文件中如下几行)5.Change it to look like this:(改成这样)代码:
<integration>
<microsoft>
<mouse>
<allow type="boolean">true</allow>
</mouse>
Bunch of other stuff that I am skipping over to save space...
</microsoft>
</integration>代码:
<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>6.Close notepad and save the .VMC file. (保存VMC文件后关闭记事本)
PS.老外居然倒着写,先关后保存?!
7.Start the virtual machine under Virtual PC. (在VPC里启动虚拟机)供参考了。
随机文章:
Visual Studio 2010中的C++0x新特性 2008-12-24使用Visual Studio 2010动态语言特性支持Office开发 2008-12-24使用Visual Studio 2010自动产生特性支持TDD 2008-12-24C# 4.0中的动态类型和动态编程 2008-12-11与Win7共舞:如何进行操作系统版本检查? 2009-09-27
收藏到:Del.icio.us
<< Visual Studio 2010 Walkthrough(0): 下一个Visual Studio 6 | 首页 | Visual Studio 2010 Walkthrough(1): 自定义开始页 >>








评论
PS.老外居然倒着写,先关后保存?!
====
老外就是这样子,没有错呀
关闭记事本并保存.vmc文件
把我搞糊涂了
vmc文件使用记事本打开的,当然是先在记事本中保存编辑后的vmc,然后关闭记事本吧