Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide 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
01 May 2009
Published by

How to Create a Virtual Machine in Windows Virtual PC

information   Information
This will show you how to create a new virtual machine in Windows Virtual PC, and install the 32-bit guest operating system that you want to run in the virtual machine on your 32-bit or 64-bit Windows 7 as the host.
Note   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   Warning
Windows Virtual PC: Minimum Requirements
  • 1 GHz 32-bit / 64-bit processor that supports Intel® Virtualization Technology or AMD Virtualization.
  • 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 systems:
    • Windows 7 Home Premium (32-bit or 64-bit)
    • Windows 7 Professional (32-bit or 64-bit)
    • Windows 7 Ultimate (32-bit or 64-bit)
    • Windows 7 Enterprise (32-bit or 64-bit)
      NOTE: Windows XP Mode can only be installed on Windows 7 Professional, Windows 7 Ultimate, and Windows 7 Enterprise.
  • Supported "guest" (virtual machine) 32-bit only operating systems:
    • Windows XP 32-bit only
      • Virtual Applications feature is supported only on Windows XP Service Pack 3 (SP3) Professional
    • Windows Vista 32-bit only
      • Virtual Applications feature is supported only on Windows Vista Enterprise and Windows Vista Ultimate
    • Windows 7 32-bit only
      • 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:
1. If you have not already, then you will need to first download and install Windows Virtual PC. If you did, then go to step 2 below.
A) At the Windows Virtual PC webpage, select your language, and click on the Continue button. (see screenshot below)
Windows Virtual PC - Create Virtual Machine-windows_virtual-pc-1.jpg
B) If you have not already, you will need to validate your Windows 7 first. Click on Install to install the Genuine Windows Validation Component, or follow on screen instructions. (see screenshot below)
NOTE: You will need to have Windows 7 activated and cookies enabled to be able to do this.
Windows Virtual PC - Create Virtual Machine-validate-1.jpg
C) Select your language, and click on the Download button for either the Windows6.1-KB958559-x86-RefreshPkg.msu (32-bit) or Windows6.1-KB958559-x64-RefreshPkg.msu (64-bit) file for your same 32-bit or 64-bit Windows 7 version you have installed.
Windows Virtual PC - Create Virtual Machine-windows_virtual-pc-2.jpg
D) Save the Windows6.1-KB958559-x86-RefreshPkg.msu or Windows6.1-KB958559-x64-RefreshPkg.msu file to your desktop.

E) Double click on the downloaded Windows6.1-KB958559-x86-RefreshPkg.msu or Windows6.1-KB958559-x64-RefreshPkg.msu file to start installing it.

F) If prompted by UAC, click on Yes.

G) Click on Yes.

H) Click on the I Accept button.

I) When it is finished, click on the Restart Now button.
WARNING: This will restart your computer immediately. Be sure to save and close anything that you have open first.

J) When the computer is finished restarting, continue on to step 2 below.
2. Do step 3 or 4 below for what you would like to do.

3. Open the Start Menu, type vpcwizard.exe in the search box, press Enter, and go to step 5 below.
4. Open the Start Menu. Click on All Programs, expand Windows Virtual PC folder, double click on the Virtual Machines shortcut, and go to step 5 below. (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
5. Click on the Create Virtual Machine button on the toolbar. (See screenshot below)
Windows Virtual PC - Create Virtual Machine-step2.jpg
6. 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.
Name:  Step3.jpg
Views: 23203
Size:  98.0 KB
7. Enter how much of your RAM (1 GB = 1024 MB) you want to be used by the virtual machine. (See screenshot below)
Name:  Step4.jpg
Views: 23070
Size:  123.2 KB
8. 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)

9. 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)
Name:  Step5.jpg
Views: 23233
Size:  97.1 KB
B) Verify that the name and location is correct (from step 5), then click on the Create button. (See screenshot above)

C) Go to step 12.
10. To Use an Existing VHD File
A) Select (dot) Use an existing virtual hard disk. (See screenshot below)
Name:  VHD.jpg
Views: 23060
Size:  104.3 KB
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 17.
11. 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)
Name:  Step5A.jpg
Views: 22279
Size:  98.9 KB
B) Select the type of VHD to create. (See screenshot below)
Name:  Step6.jpg
Views: 22260
Size:  119.8 KB
C) Verify that the name and location is correct (from step 5), then click on the Next button. (See screenshot above)
Name:  Step6A.jpg
Views: 22229
Size:  106.8 KB
12. Right click on this new virtual machine (Ex: Vista.vmcx file), and click on Settings.
Click image for larger version

Name:	Step7.jpg
Views:	4986
Size:	226.5 KB
ID:	9352
13. To Use a ISO File to Create the Virtual Machine From
A) In the left pane select DVD Drive, then select (dot) Open an ISO image in the right pane. (See screenshot below)
Name:  Step8.jpg
Views: 24582
Size:  158.0 KB
B) Click on the Browse button and navigate to the location of the .ISO file of the operating system (ex: Vista) that you want to install in the VM, then select the ISO file and double click on it. Click on OK. (See screenshot above)
NOTE: If you do not have a ISO file of the operating system, then you can use a free program like ImgBurn to create a ISO file from the operating system's installation DVD.

C) Go to step 15.
14. To Use a DVD or Bootable USB to Create the Virtual Machine From
A) In the left pane select DVD Drive, select (dot) Access a physical drive in the right pane, then select the drive letter of the installation DVD or bootable USB. (See screenshot below step 13A)
15. Right click on this new virtual machine (Ex: Vista.vmcx file), and click on Open.
Click image for larger version

Name:	Step7.jpg
Views:	4986
Size:	226.5 KB
ID:	9352
16. 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.

17. To Install Integration Components
A) For how, see: Windows Virtual PC Integration Features - Install, Enable, and Disable
18. Close or shutdown the new virtual machine.
NOTE: See yellow TIP box below for how to close the virtual machine.

19. Open the Windows 7 Start Menu in your computer (host).

20. 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:	4986
Size:	226.5 KB
ID:	9352
21. 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.
Name:  Drive.jpg
Views: 22261
Size:  150.7 KB
22. You now have a newly created virtual machine.



Tip   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)
Name:  Close.jpg
Views: 21626
Size:  28.0 KB
  • 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





Related Tutorials

01 May 2009   #1
swarfega

Windows 7 Professional 64-bit
 
 

Getting ahead of yourself Brink Nice tut though.

My System SpecsSystem Spec
01 May 2009   #2
Brink
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

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
01 May 2009   #3
bummpr

Windows 7 x86 and x64 - RTM
 
 
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
.


01 May 2009   #4
Dwarf

Windows 8.1 Pro RTM x64
 
 

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
01 May 2009   #5
TheBull

Windows 7 RTM 64bit, Windows 8 Pro 64bit
 
 

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
01 May 2009   #6
Brink
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

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.

This can help show you how to connect to the internet in a VM.

Windows Virtual PC - Connect Virtual Machine to Network

Hope this helps,
Shawn
My System SpecsSystem Spec
01 May 2009   #7
Dinesh

Windows® 8 Pro (64-bit)
 
 

This is exactly what i wanted. Thanks Shawn.
My System SpecsSystem Spec
01 May 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
01 May 2009   #9
Brink
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

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

 Windows Virtual PC - Create Virtual Machine




Tutorial Tools




Our Sites

Site Links

About Us

Find Us

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

All times are GMT -5. The time now is 12:35 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33