08 June, 2009

Workaround for running Virtual Server 2005 R2 on Windows 7 RC

As we know Virtual Server or Virtual PC doesn't work on Windows 7. But there is a workaround to get it working.

Here’s how to run Virtual server on windows 7;

PCA is always blocking the vssrvc.exe (Virtual Server service). First you should block PCA. I did that by the following way: In the Group Policy go to the Computer Configuration\Administrative Templates\Windows Components\Application Compatibility\ and enable all of the Turn off xxx entries. I think if you enable only the "Turn off Application Compatibility Engine" it would be enough but I wanted to be sure and enabled everything, later we are going to restore the original settings. Then go to the "Computer Configuration\Administrative Templates\System\Troubleshooting and Diagnostics\Application Compatibility Diagnostics\"and disable all of the entries so that we don't come across any DCOM or driver related error.

IIS have to be prepared as well. Requirements are same as in Vista take a look at this link.

Restart your computer and then you are ready to install the Virtual Server 2005 R2 SP1. Afterwards Virtual Server (VS) should be running and you can check it by Virtual Server Administration Website.

Next restore all settings what you changed in Group Policy and restart your computer. Unfortunately Application Compatibility Engine will detect Virtual server services and block that again. So you have to go to the Virtual Server directory (Usually C:\Program Files\Microsoft Virtual Server\) and rename the vssrvc.exe to something else (example: vssrvc_newname.exe). Open the registry editor and replace all entry which contains "vssrvc.exe" to vssrvc_newname.exe (path, DCOM object details, etc)
Finally restart your computer and enjoy Virtual server 2005 at Windows 7 RC :)


Please let me know if this post was helpful.

1 comment:

  1. Very useful!
    Thanks a lot, this is just about the only resource on the web that handles this!

    ReplyDelete