MSVS is inventoried as a normal physical machine

  • 7920840
  • 15-Jan-2007
  • 26-Apr-2012

Environment

Applies to:  PowerRecon

Situation

Overview

When attempting to add a Microsoft Virtual Server host to the PowerRecon inventory, the machine is added as a normal physical machine.

Details

This behavior can occur if one or more of the following is true:

  • MSVS service is not running on the machine being inventoried
  • The credentials used to add the MSVS host to the inventory do not have MSVS administrative privileges
  • PowerConvert was originally installed before PowerRecon and has subsequently been uninstalled - during installation, the vssrvc.exe file (used to register a MSVS host) is copied to a non-shared location. This location (which is dependant on the PowerConvert install location), is then stored in the registry.  During the PowerRecon install, the installer will check if the type library is already registered, and if it is (i.e. PowerConvert was already installed) it will not register it again.  However, if a user uninstalls PowerConvert, then the registration will be broken and the MSVS host will be inventoried as a normal physical machine.
  • PowerRecon was previously installed and uninstalled, however the user is now reinstalling PowerRecon to a different directory path location.  Upon reinstall, the installer will check if the type library is already registered, and if it is - it will not register it again.  In this particular scenario, the registry entry will still exist from the previous PowerRecon installation but will be pointing to a different location as the vssrvc.exe  has been reinstalled into a different directory path.  As a result, the registration will be broken and the MSVS host will be inventoried as a normal physical machine.

Solution

To resolve this issue, the following steps are required:

  1. Undiscover the MSVS host from the PowerRecon Server's inventory
  2. Download the PlateSpin PowerRecon Register Server utility by clicking here (A valid PlateSpin download account is required)
  3. Delete the following registry key from the PowerRecon Server:

    HKEY_CLASSES_ROOT\TypeLib\D7526A6D-CF83-48A4-87FD-4FBE2AEC5D93

  4. Copy the utility downloaded in step 2 to the PowerRecon Server
  5. On the PowerRecon Server, open a command prompt, navigate to the directory where the utility resides and
    execute the following command:

    PlateSpin.RegisterMSVS.exe  /register /path="[INSTALLDIR]\dependencies\vssrvc.exe"

    -> where [INSTALLDIR] is the directory where the PowerRecon Server was installed.  By default this is "\Program Files\PlateSpin PowerRecon 2.x Server"

  6. Proceed to re-inventory the MSVS host.  It should now be inventoried correctly.

 

Resolution

Solution

To resolve this issue, the following steps are required:

  1. Undiscover the MSVS host from the PowerRecon Server's inventory
  2. Download the PlateSpin PowerRecon Register Server utility by clicking here (A valid PlateSpin download account is required)
  3. Delete the following registry key from the PowerRecon Server:

    HKEY_CLASSES_ROOT\TypeLib\D7526A6D-CF83-48A4-87FD-4FBE2AEC5D93

  4. Copy the utility downloaded in step 2 to the PowerRecon Server
  5. On the PowerRecon Server, open a command prompt, navigate to the directory where the utility resides and
    execute the following command:

    PlateSpin.RegisterMSVS.exe  /register /path="[INSTALLDIR]\dependencies\vssrvc.exe"

    -> where [INSTALLDIR] is the directory where the PowerRecon Server was installed.  By default this is "\Program Files\PlateSpin PowerRecon 2.x Server"

  6. Proceed to re-inventory the MSVS host.  It should now be inventoried correctly.