Blog of Terry

VS2010 过期问题的解决

元旦耍假回来发现VPC里面的VS2010用不了了,原来过期了:

google 了一下,原来vs2010 ctp版是hard-code到2009年元旦过期的,download了好几天,不能就这样放弃了吧?没办法,只有改系统时间了,不过改时间却不是那么简单,得遵循以下步骤:

1. 禁用虚拟机与主机的时间同步

     如果安装了Virtual Machine Additions 插件,默认情况下,虚拟机的时间会自动跟主机的时间同步,所以即使我们在虚拟机里改了时间而且也禁用了与internet时间同步功能,虚拟机的时间隔几秒又会变回跟主机一样的时间。按以下步骤禁用虚拟机与主机时间同步的功能:

     1.1 关闭VPC2007 (如果正在运行的话)

     1.2 找到VS2010的.vmc镜像文件VisualStudio2010CTP.vmc

     1.3 用记事本打开这个vmc文件

     1.4 在该文件中找到如下节点:

<integration>
    <microsoft>
        <mouse>
            <allow type="boolean">true</allow>
        </mouse>

Bunch of other stuff that I am skipping over to save space...

    </microsoft>
</integration>

     1.5 将以上部分按如下修改:

     <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>

     1.6 保存以后关闭该vmc文件

     1.7 用VPC2007运行该文件

2. 禁止虚拟机的时间与internet同步

     这个简单,uncheck “Synchronize with an Internet time server”前面那个复选框就ok了

3. 修改时间为2008年11月与2009年元旦之间的任意时间

     注意一定要是这个时间段,否则还是运行不了VS2010

     

 

参考:

http://blogs.msdn.com/briankel/archive/2008/10/27/visual-studio-2010-ctp-vpc-dealing-with-activation-messages.aspx

http://blogs.msdn.com/virtual_pc_guy/archive/2007/11/28/disabling-time-synchronization-under-virtual-pc-2007.aspx

posted on 2009-01-04 16:18 wd_Terry 阅读(3428) 评论(3) 编辑 收藏

评论

#1楼 2009-01-08 04:45 Evaluation[未注册用户]

Thanks for advice on your Blog. Captures are interesting reading.  回复 引用   

#2楼 2009-03-04 16:31 北方的狼      

非常感谢!good  回复 引用 查看   

#3楼 2009-04-01 04:16 Vasili I Galchin[未注册用户]

In step 3, I should disable the internet server synchronization with the virtual machine but when I try to logon as Admin to disable I am forced to "activate" first which fails. ??

Regards, Vasili

PS You can reply in Chinese ... I understand.
 回复 引用   

<2009年1月>
28293031123
45678910
11121314151617
18192021222324
25262728293031
1234567

导航

统计

公告

昵称:wd_Terry
园龄:3年2个月
粉丝:0
关注:0

搜索

 

常用链接

最新随笔

我的标签

随笔分类

随笔档案

.NET

最新评论