Setting up Virtual Windows XP (aka “XP mode”) in Windows 7
Last evening, I installed Windows 7 Ultimate Edition x64 Release Candidate (RC) on my Lenovo W500 notebook. Since I was moving from Windows 7 Ultimate x32 Beta, this meant a complete re-installation, as there is no upgrade option from beta to RC.
The installation was pretty smooth and I did not have issues with drivers for the standard hardware on this notebook.
After installing the RC, I decided to try out Virtual Windows XP (or ‘XP Mode’ as the media calls it). Here’s how I went about doing it:
- Restart the computer and enter BIOS. Make sure Hardware Assisted Virtualization (HAV) is enabled. (Hint: Look under CPU options) This requires a processor that is HAV enabled with technologies like Intel VT or AMD-V, which is common on most of recent machines.
- Download Windows Virtual PC. This will require a restart at the end of the installation.
- Download XP Mode Beta. This is a 400+ MB download.
- Complete the installation, see screenshots below:
![clip_image002[7] clip_image002[7]](http://lh3.ggpht.com/_lSGuEfogrPw/ShUm11_KjBI/AAAAAAAABXc/Oqf7hzCqI8w/clip_image002%5B7%5D_thumb.jpg?imgmax=800)
![clip_image002[11] clip_image002[11]](http://lh3.ggpht.com/_lSGuEfogrPw/ShUnE4uq2FI/AAAAAAAABXs/39-MIWXn5hE/clip_image002%5B11%5D_thumb.jpg?imgmax=800)
- Check out the Start Menu, you will find Virtual Windows XP.
- When Virtual Windows XP starts for the first time, it will take a while. Once it has started, you will find the Windows XP Virtual PC instance as below:
- Right click on the Windows XP Start menu and choose Open All Users.
- Place shortcuts to the Windows XP programs that you want to publish in Windows 7 in this folder. All shortcuts you place here will automatically appear in the Windows 7 Start Menu! Let’s put Internet Explorer 6 as an example:
- Close the virtual machine. You cannot open a virtual Windows XP application while the virtual machine is open, and you will be prompted to close the machine.
- On your Windows 7 Start menu, point to Windows Virtual PC > Virtual Windows XP Applications. You will find the XP shortcuts you placed in Step 8 here!
- Open your Windows XP application from the Windows 7 Start menu. See Internet Explorer 6 from Windows XP running side-by-side with Internet Explorer 8 from Windows 7!
Notice the Luna theme of Windows XP is maintained on the IE 6 window, even while it is running on Windows 7.
How does one end a process running on the Virtual Windows XP machine?
Simply by opening the Windows 7 Task Manager, the user can see both Windows 7 applications as well as Windows XP mode applications in a single interface. The user may end the Windows XP task (labeled ‘(remote)’) from the same Task Manager instance:
XP Mode is a really cool feature that will help organizations running Windows XP to make the move to Windows 7 much easier. Legacy applications that do not support running on Windows Vista or Windows 7 can still continue running on XP mode, just like we ran Internet Explorer 6 on Windows 7 in this example. The user simply clicks on a shortcut on the Windows 7 Start Menu or desktop and the Windows XP application opens, giving the end-user a seamless experience.
Update:
You no longer need Hardware Assisted Virtualization for Windows XP Mode. See a later blog post: http://www.microsoftnow.com/2010/03/xp-mode-no-longer-requires-hardware-virtualization.html