Chat Zalo Chat Messenger Phone Number Đăng nhập
Remotely manage Hyper-V hosts - Microsoft Learn

Remotely manage Hyper-V hosts – Microsoft Learn

Applies To: Windows Server 2022, Windows Server 2019, Windows Server 2016, Windows

Server 2012 R2, Windows 10, Windows 8.1

This article lists the supported combinations of Hyper-V hosts and Hyper-V Manager versions and

describes how to connect to and manage remote and local Hyper-V hosts. Hyper-V Manager

allows you to manage a small number of Hyper-V hosts, both remote and local. It is installed when you install the Hyper-V management tools, which you can do through a full installation of Hyper-V or a tools-only installation. Performing a tool-only installation means that you can use the tools on computers that do not meet the hardware requirements for hosting Hyper-V. For more information about the hardware of Hyper-V hosts, see System Requirements.

If Hyper-V Manager is not installed, see the instructions below.

Supported combinations

of Hyper-V Manager and Hyper-V host versions

In some cases, you can use a different version of Hyper-V Manager than the version of Hyper-V on the host, as shown in the table. When you do this, Hyper-V Manager provides the features available for the version of Hyper-V on the host that you are managing. For example, if you use the version of Hyper-V Manager in Windows Server 2012 R2 to remotely manage a host running Hyper-V on Windows Server 2012, you will not be able to use the features available in Windows Server 2012 R2 on that Hyper-V host.

The following table lists the versions of a Hyper-V host that you can manage from a particular version of Hyper-V Manager. Only supported operating system versions are listed. For more information about the support status of a particular version of the operating system, use the Search Product Lifecycle button on the Microsoft Lifecycle Policy page. In general, earlier versions of Hyper-V Manager can only manage a Hyper-V host running the same or comparable version of Windows Server.

Hyper-V Manager version Hyper-V host version Windows Server 2016, Windows 10 – Windows Server 2016: All editions and installation options, including Nano Server, and corresponding version of Hyper-V Server – Windows Server 2012 R2: All editions and installation options, and corresponding version of Hyper-V Server – Windows Server 2012: all editions and installation options, and the corresponding version of Hyper-V Server – Windows 10 – Windows 8.1 Windows Server 2012 R2, Windows 8.1 – Windows Server 2012 R2: All editions and installation options, and the corresponding version of Hyper-V Server – Windows Server 2012: All editions and installation options, and the corresponding version of Hyper-V Server – Windows 8.1 Windows Server 2012 – Windows Server 2012: all editions and installation options, and the corresponding version of Hyper-V Server Windows Server 2008 R2 Service Pack 1, Windows 7 Service Pack 1 – Windows Server 2008 R2: All editions and installation options, and the corresponding version of Hyper-V Server Windows Server 2008, Windows Vista Service Pack 2 – Windows Server 2008: all editions and installation options, and the corresponding version of Hyper-V Server Connect to a Hyper-V host To connect to a Hyper-V host from Hyper-V Manager,

right-click Hyper-V Manager in the left pane, and then click Connect to Server. Manage Hyper-V on a

local computer

Hyper-V Manager does not list the computers that host Hyper-V until the computer is added, including a local computer. To do this:

In the

  1. left pane, right-click Hyper-V Manager
  2. . Click

  3. Connect to Server
  4. . Under Select Computer, click

  5. Local Computer, and then click OK.

If you can’t connect:

  • Only Hyper-V tools might be installed. To verify that the Hyper-V platform is installed, locate the Virtual Machine Management service. /(Open the Services desktop application: Click Start, click the Start Search box, type services.msc, and then press Enter. If the Virtual Machine Management service is not listed, install the Hyper-V platform by following the instructions in Install Hyper-V.
  • Verify that your hardware meets the requirements. See System requirements.
  • Verify that your user account is a member of the Administrators group or the Hyper-V Administrators group.

Manage Hyper-V hosts remotely

To manage remote Hyper-V hosts, enable remote management on both

the local computer and the remote host. In Windows Server, open Server

Manager >Local Server >Remote Management, and then click Allow remote connections to this computer.

Or, from either operating system, open Windows PowerShell as an administrator and run:

Enable-PSRemoting

Connect to hosts in the same domain

For Windows 8.1 and earlier, remote management only works when the host is in the same domain and your local user account is also on the remote host.

To add a remote Hyper-V host

to Hyper-V Manager, select Other Computer in the Select Computer dialog box, and type the remote host name, NetBIOS name, or fully qualified domain name (FQDN) of the remote host. Hyper-V Manager in

Windows

Server 2016 and Windows 10 offers more remote connection types than previous versions, as described in the following sections.

Connect to a remote Windows

Server 2016 or Windows 10

host as a different user

This enables you to connect to the Hyper-V host when it is not running on the local computer as a user who is a member of the Hyper-V Administrators group or the Administrators group on the Hyper-V host. To do this:

  1. In the left pane, right-click Hyper-V Manager
  2. .

  3. Click Connect to Server
  4. . Select

  5. Connect as another user in the Select Computer dialog box. Select
  6. Set User.

Connect to a remote Windows Server 2016 or Windows 10 host by using

the IP address

To do this:

  1. In the left pane, right-click Hyper-V Manager
  2. .

  3. Click Connect to Server
  4. .

  5. Type the IP address in the Other Computer text field.

Connect to a remote Windows

Server 2016 or Windows 10 host outside your domain or without a domain

To

do this

:

  1. On the Hyper-V host to manage, open a Windows PowerShell session as an administrator. Create

  2. the required firewall rules for private network zones: Enable-PSRemoting To allow remote access in public areas, enable firewall rules for CredSSP and WinRM: Enable-WSManCredSSP –

  3. Role server For

    more information, see Enable-PSRemoting and Enable-WSManCredSSP.

Next, configure the computer that you will use to manage the Hyper-V host

.

  1. Open a Windows PowerShell session as an administrator. Run

  2. these commands: Set-Item WSMan:localhostClientTrustedHosts -Value “fqdn-of-hyper-v-host”

  3. Enable-WSManCredSSP -Role client -DelegateComputer “fqdn-of-hyper-v-host”

  4. You may also need to configure the following Group Policy:

    • Computer Configuration > Administrative Templates > > Delegating System > Credentials Allow delegation of new credentials with NTLM-only server authentication
    • Click Enable and add wsman/fqdn-of-hyper-v-host.
  5. Open Hyper-V Manager.

  6. In the left pane, right-click Hyper-V Manager.

  7. Click Connect to Server.

For

more information about the cmdlet, see Set-Item and Enable-WSManCredSSP

. Install Hyper-V Manager

To use a user interface tool, choose the appropriate one for your operating system on the computer where you will run Hyper-V Manager:

In Windows Server, open Server Manager > Manage > Add roles and features. Go to the Features page and expand Remote Server Administration Tools > Role Management Tools > Hyper-V Management Tools.

On Windows, Hyper-V

Manager is available on any Windows operating system that includes Hyper-V.

On the Windows desktop, click the Start button and start typing Programs and Features. In the search results, click Programs and Features. In the left pane, click

  1. Turn Windows features on or off
  2. . Expand the Hyper-V folder, and then click Hyper-V Management Tools. To install Hyper-V Manager,

  3. click Hyper-V
  4. Management Tools. If you also want to install the Hyper-V module, click that option.

To use Windows PowerShell, run the following command as an administrator:

add-windowsfeature rsat-hyper-v-tools

Additional references

Install Hyper-V

Contact US