No Internet Connection on Hyper-V Virtual Machines

Situation

A Hyper-V virtual machine does not have an internet connection.

Cause

Some guest operation systems (for example, Windows 7 Starter 32-bit) require a legacy network adapter installed.

Solution

Add legacy network adapter to your virtual machine.

To do this, proceed as follows:

  1. Open Hyper-V Manager.
  2. Switch off the required virtual machine.
  3. Click Add Hardware, then select Legacy Network Adapter.

  1. Click Add.
  2. Select a virtual switch for your legacy network adapter.

  1. Click OK.