Top Nav

Share Your Network Connection with Hyper-V in Windows 10

Previously, we showed you how to use Hyper-V, available in Windows 10 Pro only; to setup a virtual machine with another copy of Windows. I recently needed to perform some testing, but realized I would need the Internet for this to work. Unfortunately, Hyper-V’s out of box networking support is not really intuitive. It can be done, but is a bit involved. In order to share your computer’s Internet connection with a Hyper-V virtual machine, you will need to setup a virtual switch through your Internet connection. In this article, we show you how to do it.

Share Your Network Connection with a Hyper-V Virtual Machine

If you don’t have already have virtual machine setup, check out our previous article for instructions. If you already do, proceed to launch the Hyper-V manager. Select your virtual machine then click Virtual Switch Manager under the Actions pane.

Step 1

Select New virtual network switch, select Internal then click Create virtual switch.

Step 2

Enter a name for your switch then select Internal. Click Apply then OK.

Step 3

Select your virtual machine then click Settings under the Actions pane.

Step 4

Select the Add Hardware tab, select Legacy Network Adapter then click Add.

Step 5

Click in the Virtual switch list box then select the connection created earlier, mine is Groovy Connect. Click Apply then OK.

Step 6

Right-click the network icon in the connection icon in the Notification area then click Network and Sharing Center. There you will see your newly created connection.

Step 7

In the same window, click Change Adapter Settings, select your network connection through which your computer connects to the Internet. Right-click the connection, click Properties, select the Sharing tab then check the box All other network users to connect through this computers Internet connection.

Step 8

You should now have the Internet set up in your virtual machine. This works whether you are using a wired or wireless connection.

Step 9

If you are running another edition such as Windows 10 Home, you can use a third-party virtual machine utilities such as Oracle VirtualBox. VirtualBox handles the networking part of configuring and sharing Internet connections much easier.

More Reading:


12 Responses to Share Your Network Connection with Hyper-V in Windows 10

  1. Laurence Frishman August 11, 2016 at 11:26 am #

    What’s a virtual machine and what’s it for?

    • Andre Da Costa August 12, 2016 at 10:13 pm #

      A virtual machine is a non-physical guest running within another computer using specialized software that allocates some of the hardware resources of your physical machine. You can use it to run applications that might not be compatible with the OS running on the physical machine.

      For example, if I have older app that works only on Windows 7, I can install Windows 7 in a virtual machine and run it on top of Windows 10 at the same time.

  2. L February 23, 2017 at 9:49 am #

    Legacy doesn’t show up in the Virtual Switch options…

    • L February 23, 2017 at 9:52 am #

      Also I have to select another switch after checking “allow other network users…”

    • Tony March 24, 2017 at 2:49 pm #

      I have the same problem. This will not work,

      • Tim M March 26, 2017 at 12:52 am #

        I got it to work. Tried everything and as soon as I picked a NIC it lost connection. I uninstalled Hyper-V, re-installed it and tried again and it worked. You might try that.

  3. Tim M March 1, 2017 at 10:55 am #

    followed this to the letter, still no connection on the virtual switch.

  4. William March 30, 2017 at 5:25 am #

    Thanks Andre, it worked for me !

  5. Martine April 15, 2017 at 6:52 pm #

    This worked beautifully thank you!

  6. Urga B July 8, 2017 at 10:26 pm #

    Thanks a lot. It was a perfect solution. Now I can browse from the guest os.

  7. Simon Potter August 24, 2017 at 12:32 am #

    I can’t tell you how incredibly helpful this article was! On my laptop hyper-v is probably 10x faster than Virtualbox but without wifi it was basically useless. Thanks a lot for providing so much detail, it works perfectly for me, this has been the missing link on hyper-v for me it will save me hours of waiting time.

  8. Chad Hedstrom August 24, 2017 at 7:28 pm #

    FYI you need to run a Gen 1 VM, Gen 2 does not have legacy network adapter

Leave a Reply


Free Learning


Don't miss a single tip, how to or tech news update. Subscribe to my free newsletter and receive updates, right to your inbox.

You have Successfully Subscribed!