Getting Shared Networking (NAT) to work with Windows Server 2008 as a Virtual PC Machine

I've had trouble in the past with sharing my internet connection with Windows Server 2003 but also with Windows Server 2008 in Virtual PC. This is because I have no physical network connection at home, I do everything wireless. And setting the physical network device as network adapter for the virtual machine doesn't work either. So I followed the following steps.

Step 1: Set the virtual machine settings to Shared Networking (NAT).


Step 2: Set the network settings inside the Virtual Machine, manual set the Preferred DNS Server to



This did the trick for me. I hope this will work for more people because it did take me a long time to find this solution.