Virtual PC 2007 (VPC 2007) gives you an easy and cost-efficient way of consolidating multiple operating systems and legacy applications on to a single computer. Instead of using a dedicated computer for every operating system and application you require, you can install them on a single computer within virtual machines (VMs). You can switch between the VMs as though you are switching between applications.
In this article, I will discuss how to create a new VM in VPC 2007. I will also describe how to install two guest OSs: Windows Vista and Windows XP. This article assumes that you have installed VPC 2007 on your computer.
Creating a new VM
A guest OS runs inside of a VM. This means that before you can install a guest OS, you have to create a VM. Assuming you already installed VPC 2007 on your computer, you can use the steps below to create a new virtual machine.
- Start Microsoft Virtual PC. The New Virtual Machine Wizard appears. If it does not, press the New button from the console window.
- Press Next.
- Select Create A Virtual Machine and press Next.
- Type a name for the VM. The VM file is automatically stored in the My Virtual Machines folder. Press Browse to choose a new location. Press Next.
- Use the drop-down arrow to select the OS you plan to install in the VM, as shown in Figure A. Press Next.
- You can accept the default Random Access memory (RAM) setting and press Next.
- Select A New Virtual Hard Disk and press Next.
- Press Next to accept the default location for the virtual hard disk, as shown in Figure B. Press Next.
- Press Finish.
With your VM created, you can install the guest OS. The following sections describe how to install Windows XP and Windows Vista.
Installing Windows XP in a VM
You can install Windows XP Professional as a guest OS within VPC 2007. When you create a new VM, make sure you select Windows XP as the OS you plan to install (refer to Figure A).
If your virtual machine is set up, proceed with the steps described below to install Windows XP inside the VM.
- In the Virtual PC Console, select the VM you just created, and press Start. The prompt shown in Figure C will appear.
- If you have Windows XP on a DVD, insert it into your drive and press [Enter]. (If you have an ISO, select Capture ISO Image from the CD menu).
- The setup of Windows XP begins.
- Press [F6] to install a SCSI or RAID driver. Alternatively, you can press [F5] at this point to select the appropriate Hardware Abstraction Layer (HAL) for your computer.
- Once the initialization process completes, setup prompts you to select the type of installation. Press [Enter] to continue with the installation of Windows XP.
- At this point, setup looks for any existing installation of Windows XP. Since this is a clean installation, there should be no existing copies installed.
- Press [F8] to accept the Windows XP Licensing Agreement and continue the setup process. Alternatively, you can press [Esc] if you do not agree with the EULA. However, you will be unable to continue with the installation.
- The next screen will display the existing partitions and unpartitioned space on the computer. To delete an existing partition, use the up and down arrows to select the partition, and then press [D] to delete it.
- Press [C] to create a new partition. Enter the size of the partition and press [Enter].
- Press [Enter] to install Windows XP on the selected partition.
- Next, you must specify the type of file system to use.
- Press [Enter] to restart the computer. At this point, the text-mode phase of setup is complete and the Graphical User Interface (GUI) phase of the setup process will begin.
- Select the Regional and Language options and press Next to continue.
- Type in your name and company information. Press Next.
- Enter the 25-character Product Key and press Next.
- Provide a valid computer name and press Next to continue with setup.
- Select the appropriate day and time settings. This also includes selecting your time zone. Press Next.
- Press Next to accept the default network settings.
- If you are installing XP Professional, the next screen will allow you to configure domain or workgroup membership. By default, setup configures the computer as a member of a workgroup.
- Your computer will reboot and the Windows Activation screen will appear.
Installing Windows Vista in a VM
VPC 2007 also supports Windows Vista as a guest OS. You can install the Business, Enterprise or Ultimate version within a VM. Make sure you select Windows Vista as the OS you plan to install, as shown in Figure D.
If your VM is set up, proceed with the steps described below.
- In the Virtual PC Console, select the VM you just created, and press Start. The prompt shown in Figure D will appear.
- If you have Vista on a DVD, insert it in your drive and press [Enter]. (If you have an ISO, press Capture ISO Image from the CD menu.)
- Setup will start loading the files.
- Select your language, time, currency and keyboard language settings.
- Press Install Now when prompted.
- Enter the Product Key (located on the DVD case). You may skip this step, but the information must be provided within 30 days.
- Accept the license agreement to continue.
- Select the Custom installation option.
- Choose the partition on which you want to install Windows Vista. Select Drive Options Advanced if you want to re-partition, format your hard disk, or load RAID and SATA controller drivers.
- Setup will copy the necessary files. Your computer may restart several times during this process. Continue with the steps below after Windows Vista boots for the first time.
- Choose your Country or Region and keyboard layout settings.
- Create a username and password.
- Type in a name for the computer and choose a background for your desktop.
- Select your Automatic Update settings.
- Review the time and date settings.
- Select your network location, such as Public Location.
- Press Start.
At this point, the setup of Windows Vista within the VM is complete.
Installing Virtual Machine Additions
Your final step in the process is to install Virtual Machine Additions. It provides features to improve the integration of a virtual machine running a Windows or OS/2 OS.
Virtual Machine Additions includes the following features:
- Folder sharing
- Integrated mouse
- Optimized video drivers
- Time synchronization
- Clipboard sharing
- Improved OS performance
- Dynamic resizing of the virtual machine window, which automatically adjusts the size of the guest OS desktop
- Sound driver compatible with Windows Vista
Virtual Machine Additions is available for the following versions of Windows:
- Windows 98 Second Edition
- Windows 2000 Professional
- Windows XP Tablet PC Edition
- Windows XP Professional
- Windows Vista Business
- Windows Vista Enterprise
- Windows Vista Ultimate
Virtual Machine Additions is included with VPC 2007, so you don't need to download any special software. However, you do need to install it within each guest OS.
To install Virtual Machine Additions:
- Open Virtual PC Console.
- Double-click the appropriate VM.
- Log onto the guest OS with an administrative account.
- From the Action menu, select Install or Update Virtual Machine Additions.
- Press Continue to confirm your actions, as shown in Figure E.
- Press Next when the Virtual Machine Additions InstallShield Wizard appears.
- Press Finish.
- Press Yes to restart the VM.
With these steps complete, you now have a fully-functioning guest OS running inside a VPC 2007 VM.