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 7 and Virtual PC Networking

14 Jul 2011   #1

Windows 7 Ultimate x64
Windows 7 and Virtual PC Networking

Hi Guys,

I am quite disappointed to see the lack of support for Microsoft's Virtual PC networking configurations. If there is anyone that can help me with this, I will greatly appreciate it.

I have Windows 7 Ultimate x64 as primary OS installed. I have also installed Microsoft Virtual PC 2007 (not Windows XP Mode). Inside this virtual machine, I have installed Windows XP Professional (x86). I need to have the Windows XP connect to Windows 7 via networking.

According to most threads, I need to install Microsoft Loopback Adapter in Win 7 to be able to connect the VM to Win 7. Done.

I have configured the loopback adapter (on Win 7) to use IP, subnet, no default gateway and DNS server addresses. On the virtual machine, I have set the LAN connection to use IP, subnet, no default gateway and DNS server addresses. No connection.

I then set the default gateway on the VM to but still no connection. I have tried all available adapters, all the advice given on MSDN, Technet and other forums but no luck.

Is is actually possible to connect to the host OS from within the VM Guest? If so, how do you get the guest OS to connect to the host OS?

Inside the VM, I need to connect to the SQL Server instance on the host OS for testing purposes.

Any help or advice will be greatly appreciated.

My System SpecsSystem Spec
14 Jul 2011   #2


I've never had to install a loopback driver. I simply choose the computer's NIC (intel in my case) via the drop down menu on Adapter 1. This will then initialize the NIC and DHCP will take over. Once you share the same default gateway, you can see the 2 machines.
My System SpecsSystem Spec
15 Jul 2011   #3

Windows 7 Pro x86

Quote   Quote: Originally Posted by brady View Post
I simply choose the computer's NIC
That only works if your NIC has a connection. It makes working between the host and a VM impossible if there isn't one.

As for the OP, your network is flawed. There is pretty much only one way to satisfy all of the following...
  1. All VMs can talk to each other.
  2. All VMs can talk to the host.
  3. The host can talk to all VMs.
  4. All VMs have internet access if it is available.
  5. It doesn't all fall apart when the host has no wired or wireless connection.

If you are already using Internet Connection Sharing, do not proceed. You're out of luck with this method.

Install loopback adapter (you've done that already). Do not under any circumstances set a default gateway on this adapter.

In the sharing tab of your real adapter properties, enable sharing for the loopback that you created.

The loopback will now have the IP (Note that you can change the default ICS settings in HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\SharedAccess\Parameters)

Use the loopback IP as gateway and DNS for VMs

Bridge the VM to the loopback adapter.

Configure VMs with static IPs in range

For complex VM nets, I'd recommend running a local dns server but you can scrape by with C:\Windows\System32\drivers\etc\hosts.ics

Access the host from the VMs by the loopback IP.
My System SpecsSystem Spec


 Windows 7 and Virtual PC Networking

Thread Tools

Similar help and support threads
Thread Forum
Windows Virtual PC - Connect Virtual Machine to Network
How to Connect Windows Virtual PC to the Network 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 -...
Windows Virtual PC - Create Virtual Machine
How to Create a Virtual Machine in Windows Virtual PC 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. Windows Virtual PC is...
How to Create a Win95 Virtual Machine in Windows Virtual PC
Hi, first post here. I have Win XP mode running in Win virtual pc on my Win 7 Pro tower. I have been given an original and unopened Win95 pack containing a Win95 v4.0.950B Nov96 CD with USB support and an IE4 CD. I think I understand from Brinks "How to create a virtual machine in windows virtual...
Windows Virtual PC - Delete a Virtual Machine
How to Delete a Virtual Machine Created with Windows Virtual PC This will show how to delete or uninstall a Virtual Machine created with Windows Virtual PC.This will delete the .vmcx (Virtual Machine settings) and .vhd (Virtual Hard Drive) files to completely remove the virtual machine and...
Windows Virtual PC - Change Virtual Machine Settings
How to Change Virtual Machine Settings in Windows Virtual PC This will show you how to change a Windows Virtual PC virtual machine's settings in Windows 7. To create a virtual machine or install Windows XP Mode, you will need to download and install the 32-bit (x86) or 64-bit (x64) version of...
Virtual PC Networking issue
Hi I have just got my Windows 7 Home premium PC set up and running. I also downloaded and install Virtual PC and have created a XP Prof virtual PC, activated it etc. The issue I am having is that I can't seem to get my Host Windows 7 PC and the XP Prof PC to see each other. I wanted to...

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 06:55.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App