Brian Keller

Director of ALM Evangelism for Microsoft

Installing the Windows 7 Beta with Virtual PC 2007 SP1

Installing the Windows 7 Beta with Virtual PC 2007 SP1

Rate This
  • Comments 90

4/30/2009 Update: Now that the Windows 7 Release Candidate (RC) is available to MSDN / Technet Subscribers, and soon to the rest of the world, this post is starting to get a lot more traffic. The steps outlined in this article still apply to the RC, however you will need to substitute step #2 with the appropriate steps based on where you are downloading the RC from.

Yesterday we made the Windows 7 Beta available for public download. Hopefully you’re as excited as I am that the beta is here! The Windows 7 Beta is already getting some rave reviews for its new features, performance, and stability. But it is a beta, and with that comes the potential risk that some things may not work as well as they will in the final release.

If you have a spare test machine that supports the system requirements then I highly recommend installing the beta on your test machine. But if not, one way to mitigate the risks of using pre-release software is to use virtualization technology such as Microsoft Virtual PC 2007.

Creating a Windows 7 Beta 1 virtual image (aka virtual machine) is fairly similar to the process you would go through to install the Windows 7 Beta “on the metal” (non-virtualized). But for people who have never used Virtual PC before there are some differences.

Here is how to install the Windows 7 Beta with Virtual PC 2007.

1. Download and install Virtual PC 2007 SP1. If you already have Virtual PC 2007 installed, make sure you have SP1 by clicking on Help –> About and confirming that the version number is at least If not, then you can follow the same link to upgrade to SP1.image

2. Download the 32-bit edition of the Windows 7 Beta from here. The file is about 2.5GB, so while you are waiting for the download to finish it’s a good time to go whet your appetite by watching some Windows 7 preview videos here and here.

Note: It is important that you download the 32-bit edition of the Beta even if you’re running on 64-bit hardware since Virtual PC 2007 only supports 32-bit guest operating systems. If you want to try the 64-bit edition in a virtualized environment, then I suggest using Hyper-V to do so (if I get a chance I’ll write up a separate blog post for Hyper-V, as this article applies specifically to Virtual PC 2007).

Note 2: Be sure to record the Windows 7 Beta product key you are given since you’ll need this later.

3. Open Virtual PC (Start –> Programs –> Microsoft Virtual PC) and click New… to launch the New Virtual Machine Wizard. Click Next.


4. Ensure that “Create a virtual machine” is selected and click Next.

5. Provide a name and location for your virtual machine and click Next. I suggest saving this in the same location that you will create your VHD file (step 8).

6. The next dialog prompts you for the operating system you will be running. Since Virtual PC 2007 SP1 isn’t familiar with Windows 7, just select Windows Vista from this list. Click Next.

7. The next dialog asks you how much RAM you would like to assign to your virtual machine. This is always a balancing act to determine the right amount of RAM to allocate to your virtual machine and how much to allow your host operating system to utilize, but as a rule of thumb I suggest allocating 50% of your physical RAM to your virtual machine. For example, if you have 1GB of RAM in your computer, try assigning 512MB to the virtual machine. Click Next when you have allocated your RAM.

8. Select “A new virtual hard disk” and click Next.

9. Give your new virtual hard disk a name and location. I suggest using a location that has at least 16GB of disk space available. An external (e.g. USB2) hard drive works well for this purpose since it’s portable and it allows your computer to load balance disk IO between your system drive and the external drive. For “Virtual hard disk size” leave the default value and click Next when ready.

10. Click Finish.

11. Your Virtual PC Console should now have a new entry representing your new virtual machine. Highlight this entry and click Start.


12. Your virtual machine should now boot up and look for an operating system to boot to. Since you haven’t installed an operating system yet, it will eventually time out with the message below. It might take a minute or two to time out while it looks for a network device to boot off of, so be patient.image

13. Now from the top of the Virtual PC 2007 window click on CD –> Capture ISO Image and select the Windows 7 beta ISO image you downloaded in step 2. It should be called 7000.0.081212-1400_client_en-us_Ultimate-GB1CULFRE_EN_DVD.iso. This will mount the ISO image as a DVD drive available to your virtual machine.


14. Now simply select your virtual machine and press <Enter>. If you’ve done everything right so far, then your virtual machine should now launch the Windows 7 Beta setup!

15. The first few screens should be self-explanatory. When asked what type of installation you want, be sure to choose “Custom (advanced)” since you are not upgrading from a prior version of Windows.


16. The rest of the setup steps should be fairly straightforward, so I won’t document them all here. But you may notice that Virtual PC “captures” your mouse when you click inside of the window and you won’t be able to move your cursor outside of the virtual machine. We’ll address this later (see “Virtual Machine Additions” below), but for now you can press the <right-ALT> key to release your mouse pointer. That’s the ALT key to the right of your space bar.

Enabling Networking: You will need to enable networking for your virtual machine in order to activate the Windows 7 Beta with the product key you received when you downloaded it in step 2. In order to enable networking, click Edit –> Settings –> Networking. If “Number of network adapters” is set to “0” then you’ll need to increase this value to “1” the next time you shut down your virtual machine since you can’t modify this value while your virtual machine is running. Next, select your physical network adapter from the “Adapter 1” drop-down. Click OK when finished. Your virtual machine should now be capable of using your network adapter.


Note: If you are completing these steps on your work machine, be sure to first check with your IT staff to determine if you’re allowed to enable networked virtual machines. Some companies have a policy against this to help protect against the risk of viruses. If you don’t activate the Windows 7 Beta you can still try it out, but it will stop working after 30 days.

Ctrl+Alt+Del to log in: When you get Windows 7 installed and it’s time to finally sign in it will expect you to send the usual Ctrl+Alt+Del characters to log in. But since you are running within Virtual PC, you will need to click Action –> Ctrl+Alt+Del in order to send this command to your guest virtual machine instead of your host operating system.

Virtual Machine Additions: After you log in for the first time I suggest installing the Virtual Machine Additions. This will allow your mouse to move in and out of the virtual machine without the need to press <right-Alt>, in addition to some other integration enhancements between your host and guest operating systems. To install virtual machine additions simply click Action –> Install or Update Virtual Machine Additions and follow the prompts. You will need to reboot in order for these changes to take effect.


Congratulations! You now have the Windows 7 Beta installed in a virtual machine using Virtual PC 2007. Remember that this won’t run quite as fast as Windows would run if you installed it into a non-virtual environment, but virtualization is a great way to try out pre-release software in a risk-free environment. I hope you have as much fun exploring Windows 7 as I have been. Bookmark for all of the latest news, and don’t forget to send us your feedback by clicking the icon on the desktop (you will need to have networking enabled in order for this to work).

  • Hi Jason -

    When you click to install Virtual Machine Additions it mounts a CD image and makes that available to Windows 7. By default it should then give you an autolauncher and the option to run setup.exe. If that doesn't happen, though, you can browse to the CD drive and run setup.exe manually to install the Virtual Machine Additions.

    Hope that helps -


  • Is the expanding files suppose to take for ever on 0% because its been about 10min now... Dont know if Im just being impatient..

  • Chris -

    Are you talking about the files which expand during the beginning of the Windows 7 setup stage? Make sure you don't have any of the VPC settings open. Virtual PC pauses execution of your VPC while you have the settings dialogs open. For me, this step took about 10 minutes if I recall correctly but the percentage kept ticking up and it didn't hang on 0%.


  • How would u succesfully uninstall windows 7 from virtual pc?

  • Hello,

    I have Windows 7 under Virtual PC, network adapter, I have asked to 1. Now my problem, I'm not into the Internet. With my PC, I can ping Windows 7, but not vice versa. I use a router as Fritzbox. where I have gone wrong.

    Thank you for the help


  • Trace -

    That's the beauty of Virtual PC. :-) Since the virtual machine is self-contained as one big file (the .VHD file you created in step 9) all you need to do is delete that file and the virtual machine will be gone.


  • Andi -

    Hmm, that could be a tricky one for me to troubleshoot via blog comments since there are a lot of things which could be impacting your networking. But here are some ideas:

    - See Richard Bewley's earlier comment about needing to input the MAC address of his virtual machine on his router. I think Richard has a MAC address filtering policy enabled which means that any machine (virtual or otherwise) which wants to communicate will need to be authorized. Now I don't think this would have prevented your ping from working, but it's one idea to try.

    - Try pinging by IP address instead of machine name.

    - If you are in a location that uses a proxy server, be sure to install the proxy client on your virtual machine. Again this shouldn't have impacted a local ping, but it's worth trying.

    - It's possible that your host machine has ping responses turned off. Can you ping your host machine from another machine on your local network? If not, then ping might be an invalid test of your connectivity.

    I hope that helps. Networking can be a bit tricky with virtual machines. I'm not as much of an expert in that area as I'd like to be.


  • When I installed the Virtual Machine Additions, Windows blue screened upon rebooting. I had to do a roll back to before I installed the Additions. Anything I'm missing there? Here is the issue:

  • You may or may not have heard that Windows 7 Beta 1 was made available to the general public on Friday,

  • Stephen -

    Congratulations! You're the first person I've talked to who has managed to blue screen Windows 7. ;-)

    I'm willing to bet that the problem is caused by not running Virtual PC 2007 SP1. I've seen similar results on other (non-Windows 7) virtual images before. See step 1 of my blog post to make sure you're running SP1.

    Let me know how it goes.


  • Windows 7 och Windows Server 2008 R2 innebär inte bara en hel del nyheter för användare, t.ex. smidigare

  • Yep, upgrading to SP1 did the trick. The Virtual Machine Additions installed without a problem. I guess I thought I already had SP1. Thanks!

  • Great, I'm glad that worked for you Stephen! Thanks for following up to let me know.


  • After i select Custom at the install screen, where would i install it to? What folder? Also do i need to partition anything?

  • Matt D -

    You don't need to create any special partitions, just select the one that's already there and click 'Next' (or whatever the equivelent to 'Next' is, it might say 'Finish' or 'Install' or something like that, I can't remember).


Page 2 of 6 (90 items) 12345»