次の方法で共有


Hyper-V: Avoid using a legacy network adapter on Windows Server 2003 (x64) and Windows XP Professional (x64)

Applies To: Windows Server 2008 R2, Windows Server 2012, Windows XP

This topic is intended to address a specific issue identified by a Best Practices Analyzer scan. You should apply the information in this topic only to computers that have had the Hyper-V Best Practices Analyzer run against them and are experiencing the issue addressed by this topic. For more information about best practices and scans, see Best Practices Analyzer.

Operating System

Windows Server 2012 or Windows Server 2008 R2

Product/Feature

Hyper-V

Severity

Error

Category

Configuration

Issue

A virtual machine is configured with a legacy network adapter for which no driver is available.

Impact

Affected virtual machines cannot use a legacy network adapter to provide network connectivity. A legacy network adapter will not work without a network driver. The following virtual machines are configured with a legacy network adapter: list of virtual machine names>

Resolution

Use Hyper-V Manager to shut down the virtual machine and remove the legacy network adapter. If the virtual machine needs network connectivity, it requires at least one network adapter. If integration services are available, make sure they are installed.

Note

Integration services are included in Windows Server 2008 R2 and Windows 7. For all other operating systems, integration services are installed after you install the guest operating system. Integration services include the virtual machine driver required to use the network adapter.

By default, membership in the local Administrators group, or equivalent, is the minimum required to complete this procedure. However, an administrator can use Authorization Manager to modify the authorization policy so that a user or group of users can complete this procedure. For more information, see Using Authorization Manager for Hyper-V Security (https://go.microsoft.com/fwlink/?LinkId=142886).

To remove a legacy network adapter

  1. Open Hyper-V Manager. Click Start, point to Administrative Tools, and then click Hyper-V Manager.

  2. In the results pane, under Virtual Machines, find the virtual machine that you want to configure. The state of the virtual machine should be listed as Off. If it is not, right-click the virtual machine and then click Shut Down.

  3. In the Action pane, under the virtual machine name, click Settings.

  4. In the navigation pane, click the name of the network adapter.

  5. On the Legacy Network Adapter page, click Remove.

  6. If you do not want to add a network adapter, click OK. Otherwise, click Apply and continue to the next procedure.

To add a network adapter

  1. In the Settings dialog box, in the navigation pane, click Add Hardware.

  2. On the Add Hardware page, select Network Adapter.

  3. Click Add. The Network Adapter page appears.

  4. Under Network, select the virtual network that you want to connect to.

  5. If you want to configure a static MAC address or virtual LAN identifier, specify the numbers you want to use.

  6. Click OK.