Windows 7 Forums Search

Go Back Windows 7 Forums > Seven Forums > Tutorials » Windows Virtual PC - Create Virtual Machine

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows 7. The Windows 7 forum also covers news and updates and has an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7 - Windows Virtual PC - Create Virtual Machine


 

Windows Virtual PC - Create Virtual Machine

How to Create a Virtual Machine in Windows Virtual PC
Published by Brink
05-01-2009
Default Windows Virtual PC - Create Virtual Machine

How to Create a Virtual Machine in Windows Virtual PC
Information
This will show you how to create a new virtual machine in Windows Virtual PC, and install the guest operating system that you want to run in the virtual machine with Windows 7 as the host.
Note
Windows Virtual PC is the latest Microsoft virtualization technology for Windows 7. It is the runtime engine for Windows XP Mode to provide a virtual Windows environment for Windows 7. With Windows Virtual PC, Windows XP mode applications can be seen and accessed from a Windows 7-based PC.

You will need to download and install the 32-bit (x86) or 64-bit (x64) version of Windows Virtual PC for your 32-bit or 64-bit Windows 7.



Warning
System Requirements:
  • Hardware Virtualization Technology enabled
  • 1 GHz 32-bit / 64-bit processor required
  • Memory (RAM)
    • 1.25 GB required, 2 GB memory recommended
  • Recommended 15 GB hard disk space per virtual Windows environment
  • Supported host (your computer) operating system:
    • Windows 7 Home Basic
    • Windows 7 Home Premium
    • Windows 7 Enterprise
    • Windows 7 Professional
    • Windows 7 Ultimate
      NOTE: Windows XP Mode is only available in Windows 7 Enterprise, Windows 7 Professional, and Windows 7 Ultimate.
  • Supported guest (virtual machine) 32-bit only operating system:
    • Windows XP
      • Virtual Applications feature is supported only on Windows XP Service Pack 3 (SP3) Professional
    • Windows Vista
      • Virtual Applications feature is supported only on Windows Vista Enterprise and Windows Vista Ultimate
    • Windows 7
      • Virtual Applications feature is supported only on Windows 7 Enterprise and Windows 7 Ultimate



EXAMPLE: Create Virtual Machine

NOTE: For example, create a Vista virtual machine.
Windows Virtual PC - Create Virtual Machine-example.jpg
Here's How:
WARNING: You will have to install Windows Virtual PC first though as descibed in the NOTE box at the top of the tutorial.

FIRST:
Confirm that your computer supports hardware virtualization to be able to run XP Mode by checking the items in the red warning box at the top, and at this link: Windows Virtual PC: Configure BIOS
1. Open the Windows 7 Start Menu.
A) In the search line, type vpcwizard.exe and press Enter.

B) Go to step 3.
OR

2. Open the Windows 7 Start Menu.
A) Click on All Programs, expand Windows Virtual PC folder, and double click on the Virtual Machines shortcut. (See screenshot below)
NOTE: You can also open the Virtual Machines folder at C:\Users\(User Name)\Virtual Machines.
Windows Virtual PC - Create Virtual Machine-step1.jpg
B) Click on the Create Virtual Machine button on the toolbar. (See screenshot below)
Windows Virtual PC - Create Virtual Machine-step2.jpg
3. Type in a name (ex: Vista) you want for the new virtual machine, then select a location where you want the .vmcx and .vhd files saved at. Click on the Next button. (See screenshot below)
NOTE: You can save them anywhere you like, but the default location is the hidden C:\Users\(user name)\AppData\Local\Microsoft\Windows Virtual PC\Virtual Machines folder or the C:\Users\(user name)\Virtual Machines folder.
Windows Virtual PC - Create Virtual Machine-step3.jpg
4. Enter how much of your RAM (1 GB = 1024 MB) you want to be used by the virtual machine. (See screenshot below)
Windows Virtual PC - Create Virtual Machine-step4.jpg
5. Check the Use computer on network connections box if you would like the virtual machine to have network or internet access, then click on the Next button. (See screenshot above)

6. To Create a Dynamically Expanding VHD -
NOTE: This is the usual default option.
A) Select (dot) Create a dynamically expanding virtual hard disk. (See screenshot below)
Windows Virtual PC - Create Virtual Machine-step5.jpg
B) Verify that the name and location is correct (from step 3), then click on the Create button. (See screenshot above)

C) Go to step 9.
7. To Use an Existing VHD File -
A) Select (dot) Use an existing virtual hard disk. (See screenshot below)
Windows Virtual PC - Create Virtual Machine-vhd.jpg
B) Click on the Browse button and navigate to and select the VHD file that you want to use to create a virtual machine (VM) with, then click on the Create button. (See screenshot above)
WARNING: Windows Virtual PC only supports using a VHD up to 127 GB (130,048 MB) for a dynamic VHD, and up to 41 GB (42,023) for a fixed VHD. Any larger and you will not be able access the VM from within Windows Virtual PC.

C) Right click on this new virtual machine (Ex: Vista.vmcx file), and click on Open. (See screenshot below)
Windows Virtual PC - Create Virtual Machine-step7.jpg
D) Go to step 14.
8. To Create a VHD with Advanced Options -
A) Select (dot) Create a virtual hard disk using advanced options, then click on the Next button. (See screenshot below)
Windows Virtual PC - Create Virtual Machine-step5a.jpg
B) Select the type of VHD to create. (See screenshot below)
Windows Virtual PC - Create Virtual Machine-step6.jpg
C) Verify that the name and location is correct (from step 3), then click on the Next button. (See screenshot above)
Windows Virtual PC - Create Virtual Machine-step6a.jpg
9. Right click on this new virtual machine (Ex: Vista.vmcx file), and click on Settings.
Click image for larger version

Name:	Step7.jpg
Views:	519
Size:	226.5 KB
ID:	9352
10. In the left pane select DVD Drive, then select (dot) Open an ISO image in the right pane. (See screenshot below)
Windows Virtual PC - Create Virtual Machine-step8.jpg
11. Click on the Browse button and navigate to the location of the .ISO file (ex: Vista), then select the ISO file and double click on it. Click on OK. (See screenshot above)

12. Right click on this new virtual machine (Ex: Vista.vmcx file), and click on Open.
Click image for larger version

Name:	Step7.jpg
Views:	519
Size:	226.5 KB
ID:	9352
13. Install the OS (Ex: Vista) in the virtual machine.
WARNING: Be sure to give the user account a password. Blank passwords are not supported, and can cause you to have problems with logging on to the VM. If you did leave the password field blank, then you should get a option after trying to log on without a password to continue to login without the password for now. You can then create a password for the user account in the VM.

14. When finished, click on Tools and Install Integrated Compents from the virtual machine. (See screenshot below)
Windows Virtual PC - Create Virtual Machine-step9.jpg
15. Click on Continue. (See screenshot below)
Windows Virtual PC - Create Virtual Machine-step10.jpg
16. Click on Run setup.exe in AutoPlay. (See screenshot below)
Windows Virtual PC - Create Virtual Machine-step11.jpg
17. Click on the Next button. (See screenshot below)
Windows Virtual PC - Create Virtual Machine-step12.jpg
18. Click on Continue in the UAC prompt. (See screenshot below)
Windows Virtual PC - Create Virtual Machine-step13.jpg
19. Click on the Finish button. (See screenshot below)
Windows Virtual PC - Create Virtual Machine-step14.jpg
20. Click on Yes to restart the virtual machine. (See screenshot below)
Windows Virtual PC - Create Virtual Machine-step15.jpg
21. Close or shutdown the new virtual machine.
NOTE: See yellow TIP box below for how to close the virtual machine.

22. Open the Windows 7 Start Menu.

23. Click on All Programs, expand Windows Virtual PC folder, then right click on this new virtual machine (Ex: Vista.vmcx file), and click on Settings.
Click image for larger version

Name:	Step7.jpg
Views:	519
Size:	226.5 KB
ID:	9352
24. In the left pane select DVD Drive, then select (dot) Access a physical drive in the right pane. Select the DVD drive letter from the drop down menu that you would like to use in the virtual machine, and click on OK. (See screenshot below)
NOTE: If you do not want to use a DVD drive in the virtual machine, then select (dot) None instead.
Windows Virtual PC - Create Virtual Machine-drive.jpg
25. You now have a newly created virtual machine.




Tip
  • You can close the virtual machine by shutting down the virtual machine from the Start menu inside the virtual machine, or by clicking on the close X at the top right corner of the virtual machine window. Afterwards, select the Turn Off option and click on OK. (See screenshot beow)
Windows Virtual PC - Create Virtual Machine-close.jpg
  • You can open the virtual maching by opening the Start Menu, click on All Programs, expand Windows Virtual PC folder, and double click on the virtual maching shortcut.

That's it,
Shawn





.
Published by
Brink's Avatar
Administrator

Join Date: Oct 2008
Location: Texas
Posts: 10,959
Brink has a reputation beyond reputeBrink has a reputation beyond repute
Brink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond repute

Tutorial Tools
05-01-2009   #1
swarfega


Windows 7 Professional 64-bit
Cambridge, UK
 
 


Getting ahead of yourself Brink Nice tut though.

My System SpecsSystem Spec
05-01-2009   #2
Brink


Windows 7 Ultimate x64 Retail
Texas
 
 


LOL, yeah I thought it would be nice to have some more information out there to help folks get familiar with this more before it is released to the public on the 5th.
My System SpecsSystem Spec
05-01-2009   #3
bummpr


Windows 7 x86 and x64 - RTM
Wisconsin
 
 

VM can also do Ubuntu

Just installed Jaunty Jackalope so the VM does handle more than the Microsoft OS's listed above.
My System SpecsSystem Spec
05-01-2009   #4
Dwarf


Vista Home Premium 32-bit & Vista Ultimate 64-bit both Service Pack 2 W7 Pro RTM 7600 32 & 64
Doncaster, UK
 
 


Not sure if this has been posted elsewhere, but here is a useful link from Microsoft relating to virtualization and the technologies involved.
Hyper-V, Virtualization | Server and Application Resources on TechNet
My System SpecsSystem Spec
05-01-2009   #5
TheBull


Windows 7 RTM 64bit, RTM 32bit Chinese
Wuxi, China
 
 


Hi there guys, just installed a virtual machine, and everything has installed fine. The only thing is that I can't seem to get aero enabled on the virtual machine, as well as connect to the internet. I followed Brinks instruction to the T. So I hope someone can help me with these 2 settings please!! O, and I can't see the rest of my system in the Virtual Machines 'Computer' also!
My System SpecsSystem Spec
05-01-2009   #6
Brink


Windows 7 Ultimate x64 Retail
Texas
 
 


Hello TheBull,

It appears that it is similar to Virtual PC where we can only use up to the Windows Basic color scheme instead. I do not have Widows Aero available as a color scheme in the above Vista virtual machine either.

Last edited by Brink; 05-01-2009 at 01:44 PM..
My System SpecsSystem Spec
05-01-2009   #7
Dinesh


Windows 7 Ultimate and Mac OS X 10.5
Mumbai, India
 
 


This is exactly what i wanted. Thanks Shawn.
My System SpecsSystem Spec
05-01-2009   #8
JamesY


Win 7 RC1
 
 

Great post

Does anyone have any idea why I would not see the "Create Virtual Machine" button on my bar. Running RC (upgrade from Vista Ultimate) and I can connect to my old virtual machines just fine.

thx
My System SpecsSystem Spec
05-01-2009   #9
Brink


Windows 7 Ultimate x64 Retail
Texas
 
 


Hello James, and welcome to Seven Forums.

I have just a few questions that may help get a solution quicker for you.

Do you have the C:\Users\(user name)\Virtual Machines folder open, and not another location by mistake? Could you post back a screenshot of this window to see if it may help find what may be wrong with it.

Do you have any other virtual program still installed with Windows Virtual PC? If so, uninstall it as a test to see if that helps.

It may be possible that since you had upgraded from Vista, that some remnant of Vista may be causing a issue with this.

Shawn
My System SpecsSystem Spec
Comment

Tags
virtual machine, windows virtual pc

Tutorial Tools



Similar Threads for: Windows Virtual PC - Create Virtual Machine
Windows 7 Tutorial Category
Virtual Hard Drive VHD File - Create and Start with at Boot Tutorials
Virtual Hard Disk - Create and Attach VHD Tutorials
P2V conversion - Convert your Windows system to run on a Virtual Machine Software
Windows Virtual PC - Change Virtual Machine Settings Tutorials
Windows 7 on Virtual Box Virtualization


All times are GMT -5. The time now is 11:10 PM.



Windows 7 Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows 7" and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd
Windows 7 Tutorial powered by GARS 2.1.9 ©2005-2006