How to Connect Windows Virtual PC to the Network

Information
This will show you how to connect Windows Virtual PC to your network so that your created virtual machine or XP Mode will be able to access the internet.

For more information, see: Networking in Windows Virtual PC - Windows Virtual PC - Site Home - TechNet Blogs


Warning

You will need to be logged in as an administrator to be able to do this tutorial.









Here's How:
1. Open the created or XP Mode virtual machine in Windows Virtual PC that you want to connect to the network.

2. On the virtual machine's menu bar, click on Tools.
A) If you see Disable Integration Features, then go to step 5. (see screenshot below)B) If you see Install Integration Features, then go to step 3. (see screenshot below)C) If you see Enable Integration Features, then go to step 4. (see screenshot below)
3. To Install Integration Features in Windows Virtual PC
A) Click on Install Integration Components. (see screenshot below step 2B)

B) Follow steps 15 to 20 here (click on link) to finish installing. C) When finished, continue on to step 4.
4. To Enable Integration Features in Windows Virtual PC
A) Click on Enable Integration Components. (see screenshot below step 2C)

B) Log on using the user name and password for the virtual machine. (see screenshots below)
NOTE: If you do not see the user name for you virtual machine, then click on Use another account to enter the user name and password and click on OK.C) When finished, continue on to step 5.
5. To Enable "Virtual PC Network Filter Driver" in Windows 7
NOTE: This step is to be done in your host Windows 7 computer and not in the virtual machine in Windows Virtual PC.
A) Open the Control Panel (icons view), then click on the Network and Sharing Center icon.

B) In the Network and Sharing Center, click on the Change adapter settings link on the left side. (see screenshot below) C) Right click on your internet network connection, and click on Properties. (see screenshot below)
NOTE: Make note of the network adapter name (ex: Marvel Yukon....). You will need to know this in step 7B below.D) If prompted by UAC, then click on Yes.

E) If not already, check the Virtual PC Network Filter Driver box, and click on OK. (see screenshot below)F) Close the Network Connections window. (see screenshot below step 5C)
6. If you Use a Router with "MAC Address Filtering" Enabled
Note
If you do not, then skip this step and go to step 7 instead.

If you do, then this step will show you how to get the MAC address of the virtual machine in Windows Virtual PC so you can add it to the MAC Filtering Rules of your router to allow the virtual machine access through the router.


A) In the virtual machine, open a command prompt and type ipconfig /all (space after g) and press enter.

B) In the command prompt, look for the MAC address (ex: 00:03:ff:1e:03:57) to the right of Physical Address. Write this MAC address number down. (see screenshot below)C) In your Windows 7 computer (not virtual machine), open your web browser (ex: Internet Explorer) and log in to your router.
NOTE: You would usually do this by typing in your router's IP address in the web browser's address bar and pressing enter. Consult your router's manual to see what it's default IP address is.

D) Go to your router's Network Filter settings, and add the virtual machine's MAC address (step 6B) to the MAC Filtering Rules and save it. (see screenshot below)
NOTE: This is for a D-Link router, but this will vary depending on what brand and model of router you have. Consult your router's manual on how to enter the MAC address.E) You can now close the web browser in your Windows 7 computer (not virtual machine).

F) Close the command prompt in the virtual machine. (see screenshot below step 6B)

G) Continue on to step 7.
7. To Set the Virtual Machine Network Settings
A) On the virtual machine's menu bar, click on Tools and Settings.B) In the left pane, select Networking, then select your network adapter name (step 5C above) from the drop down box and click on OK. (see screenshot below)C) Continue on to step 8.
8. Select the network location type you want for the virtual machine to have the settings for that location automatically applied. (see screenshot below)9. The virtual machine in Windows Virtual PC should now be able to connect to your network and access the internet from it.
That's it,
Shawn



Related Tutorials



Attached Thumbnails