Hyper-V: The number of virtual machines must be within supported limits

Applies To: Windows Server 2008 R2

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 2008 R2

Product/Feature

Hyper-V

Severity

Error

Category

Configuration

Issue

More virtual machines are configured than are supported.

Impact

Microsoft does not support the current number of virtual machines configured on this server.

Note

The state of a virtual machine does not affect whether it is included in this number. All virtual machines configured for this server are included.

Resolution

Move one or more virtual machines to another server.

If this server belongs to a failover cluster, use the tools provided with the failover clustering feature to move the virtual machines. For instructions about moving a virtual machine, see Live Migrate, Quick Migrate, or Move a Virtual Machine from Node to Node (https://go.microsoft.com/fwlink/?LinkId=181519). Otherwise, use Hyper-V tools to export the virtual machines from this server and then import them to another server running Hyper-V.

By default, membership in the local Administrators group, or equivalent, is the minimum required to complete the import and export procedures. 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 complete the optional procedure to configure constrained delegation, membership in the Domain Administrators group is required.

To export a virtual machine

  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, right-click a virtual machine and then click Export.

  3. In the Export a Virtual Machine dialog box, type or browse to a location that has enough free space to store all of the virtual machine resources. When you export a virtual machine, all virtual hard disks (.vhd files), snapshots (.avhd files), and saved state files associated with the virtual machine are copied to the specified folder.

Important

In a domain environment, if you specify a remote location such as a shared network folder or a folder on the server that you want to import the virtual machine to, you must configure the server running Hyper-V for constrained delegation. You need to do this so that the computer account of the server running Hyper-V can present delegated credentials for the Common Internet File System (CIFS) service type. For instructions, see the following procedure.

  1. Click Export.

If you need to configure constrained delegation, complete the following procedure and then export the virtual machines.

To configure constrained delegation

  1. On a computer that has the Active Directory Domain Services Tools feature installed, in Administrative Tools, open Active Directory Users and Computers, and then navigate to the computer account for the computer running Hyper-V.

Note

If Active Directory Users and Computers is not listed, install the Active Directory Domain Services Tools feature. For instructions, see Installing Remote Server Administration Tools for AD DS (https://go.microsoft.com/fwlink/?LinkId=140463).

  1. Right-click the computer account for the computer running Hyper-V, and then click Properties.

  2. On the Delegation tab, click Select this computer for delegation to specified services only, and then click Use any authentication protocol.

  3. To allow the Hyper-V computer account to present delegated credentials to the remote computer:

    1. Click Add.

    2. In the Add Services dialog box, click Users or Computers, select the remote computer, and then click OK.

    3. In the Available services list, select the cifs protocol (also known as the Server Message Block (SMB) protocol), and then click Add.

After exporting the virtual machines, import them to the other server.

To import a virtual machine to another server

  1. Connect to the server running Hyper-V and open Hyper-V Manager.

  2. In the Action pane, click Import Virtual Machine.

  3. In the Import Virtual Machine dialog box, specify the location where you exported the virtual machine. Unless you want to reimport this virtual machine, leave the import settings as they are.

  4. Click Import.

Additional references

For information about limits and maximums in Hyper-V, see Requirements and Limits for Virtual Machines and Hyper-V in Windows Server 2008 R2 (https://go.microsoft.com/fwlink/?LinkID=180919).