Thoughts about setup and deployment issues, WiX, XNA, the .NET Framework and Visual Studio
All postings are provided AS IS with no warranties, and confer no rights. Additionally, views expressed herein are my own and not those of my employer, Microsoft.
Recently, I needed to configure and use a virtual server image that was provided to me by another team here at Microsoft. In order to do this, I had to install and configure Virtual Server 2005 to host this image on my desktop OS. I am running Windows Vista Ultimate edition on this system, and I found that I had to perform a few configuration steps in order to get Virtual Server 2005 to install and run correctly on Windows Vista. I found these steps through various conversations and web searches, so I decided to consolidate them in one place in case anyone runs into similar issues in the future (and to make sure I could find them and replicate them again myself if I need to....)
Here are the steps I had to take on my Windows Vista Ultimate system in order to install, configure and use Virtual Server 2005:
Add IIS features on an existing Windows Vista OS
IIS is not installed by default when installing Windows Vista, so in most cases you will need to add several IIS features before being able to install Virtual Server 2005 on Windows Vista. I used the following steps to add IIS to my Windows Vista system that is running the Ultimate edition:
Install Virtual Server 2005
Once you have added the appropriate IIS features on your Windows Vista system, you can proceed to install Virtual Server 2005. You should see a UI page during Virtual Server 2005 setup that allows you to configure the Virtual Server web site. If you have not properly configured IIS, you will likely see an error message during this phase of Virtual Server setup. If that is the case on your system, you should reboot and then return to the Windows Features control panel and verify the installation state of the IIS components on your system.
Add an IIS handler mapping so it will treat EXE files as CGI
After adding IIS features to your Windows Vista system and installing Virtual Server 2005, you will need to configure a new handler mapping for the VirtualServer web site. To do this, I used the following steps (there may be other ways of doing this, but this is the way I found that worked for me):
Create a shortcut to launch the Virtual Server administration Web site as an administrator
In order to be able to launch the Virtual Server administration Web site on Windows Vista, you have to start Internet Explorer 7 with administrator privileges. It is possible to manually launch IE7 by right-clicking on it and choosing Run as administrator, then manually navigate to the Virtual Server administrator site. However, that can get annoying if you find yourself needing to open this site frequently. Fortunately, I found this blog post that describes how to create a shortcut that will automatically launch IE7 with elevated privileges and navigate to the Virtuan Server administration Web site after you grant it permission to launch. To summarize those steps, you will need to do the following:
<update date="10/31/2007"> Added steps to the shortcut creation instructions that I missed initially to cause the shortcut to prompt for elevation every time it is double-clicked </update>
PingBack from http://www.universityupdate.com/Technology/Windows-Vista/5393180.aspx
PingBack from http://www.christian.luiscorreia.com/how-i-was-able-to-get-virtual-server-2005-to-work-on-windows-vista/
PingBack from http://msdnrss.thecoderblogs.com/2007/10/30/how-i-was-able-to-get-virtual-server-2005-to-work-on-windows-vista/
http://blogs.msdn.com/astebner/archive/2007/10/30/5788546.aspx
Why not just use Virtual PC 2007?
Recently I tried running Virtual Server 2005 R2 on Vista Ultimate edition, the program installed ok but
Hi,
Thanks for your excellent explanation. It got me past the first hurdle. Now I can see the admin page at least!
As I am struggeling to get the next step done, I would like to ask you if you can help me past the second one.
I now try to create a virtual machine, but then get the message: The virtual machine could not be created. The default virtual machine configuration directory could not be retrieved. User does not have sufficient access rights.
I am logged in as an administrator (the only user is me) on my own laptop, but for some reason I cannot just do everything on my own laptop.
I would appreciate your help very much!
Thanks,
Edgar
Hi Waltheed - Just to confirm, are you running the Virtual Server administrator site with elevated permissions when you are attempting this scenario? If so, then I'm not sure what to suggest because I haven't run into this kind of scenario yet. You may want to try to search on some of the Virtual Server forums to see if anyone else has run into a similar issue and might have some workarounds to suggest.
I'm sorry I'm not able to be more helpful in this scenario.
I have Vista Ultimate 32 bit edition. I need to run Virtual Server 2005 to install a 2000 server os and exchange 2000. I have tried all of the steps to run virtual server yet I still get the message;
Could not connect to Virtual Server. Access Denied.
Is anyone aware of any more solutions?