References > Troubleshooting Hyper-V discovery > Test WMI on the target server remotely

Test WMI on the target server remotely

By testing WMI on the target server remotely, you can check whether the target server is responding correctly to remote WMI requests from Virtualization Manager.

  1. Log in to a different Windows server with an administrator account.
  2. Click Start > Run, enter wbemtest.exe, and click OK. The Windows Management Instrumentation Tester is displayed.
  3. Click Connect.
  4. Enter \\Target_Primary_IP_Address\root\cimv2 in the Namespace field, where Target_Primary_IP_Address is the host name or primary IP address of the target server.
  5. Provide the user name and the password, and enter NTLMDOMAIN:NameOfDomain in the Authority field, where NameOfDomain is the domain of the user account specified in the User field.
  6. Click Connect.
  7. Click Enum Classes.

Verify the administrator credentials

The WMI services of the host can only be accessed with administrator credentials. Make sure that the user name and password you use belongs to an administrator on the target server.

If the administrator user is a domain member, specify both the user name and the domain according to the syntax: DOMAIN\Administrator.

Complete the following procedure on each Hyper-V host server to ensure that the account specified in the credential store has the required permissions.

If you use a local user account that is added to the administrator group, you must explicitly grant permissions in the WMI section.

Add your monitor account to the local administrator group of a Windows Server 2008 computer

  1. Log in to the computer you want to monitor with an administrator account.
  2. Click Start > Control Panel > Administrative Tools > Computer Management > Local Users and Groups > Groups.
  3. Right-click Administrators, and click Add to group.
  4. If the account you want to use is not currently a member of this group:
    1. Click Add on the Administrators Properties window.
    2. Enter the name of the account you want to use to gather WMI statistics, and click OK. This is the account you specify in the credentials section.

      If you add an account to a workgroup computer, you cannot add a domain account. You must use a local account.

  5. Click OK on the Administrators Properties window, and close Computer Management.

Enable the Remote Procedure Call (RPC) service

Remote WMI connections use RPC as a communication interface. If the RPC service is disabled on the target server, remote WMI connections cannot be established.

  1. Log in to the target server with an administrator account.
  2. Click Start > Run, enter services.msc, and press enter.
  3. Right-click Remote Procedure Call (RPC), and click Start.
  4. Select Recursive, and click OK.

    Do not enter a superclass name.

  5. If the WMI class list is displayed, remote WMI is functioning correctly. In this case, see Configure firewall settings for Hyper-V data collection, and test your Virtualization Manager credentials.

  6. If the list is not displayed, remote WMI is not functioning correctly.
  7. Click Close, and click Exit.