Use > General Reference > How to Run HPCmd from Windows Server 2008, 2008 R2, 2012, 2012 R2, and 2016 Machines

How to Run HPCmd from Windows Server 2008, 2008 R2, 2012, 2012 R2, and 2016 Machines

Perform the following to ensure that HPCmd functions properly when the Data Flow Probe is installed on a Windows Server 2008, 2008 R2, 2012, 2012 R2, or 2016 machine:

  1. Stop the Data Flow Probe.

  2. Open the standard Windows Registry Editor application by running the regedit executable.

  3. In the Registry Editor navigate to the following registry key:

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control

  4. Under this key there should be a REG_DWORD parameter SCMApiConnectionParam

    1. If this is missing, add a new REG_DWORD parameter SCMApiConnectionParam and set its value to 0x80000000.
    2. If this value is already available in the registry, combine it with the 0x80000000 mask (using bitwise OR). For example, if there was a value 0x1 in there, you need to set this value to 0x80000001.

      Note To run HPCmd from a Windows 2008 machine with UAC enabled, also perform the following additional steps. Do not perform these steps for a Windows Server 2008 R2, 2012, 2012 R2, or 2016 machine.

  5. Locate the wrapper.exe file, in the UCMDB\DataFlowProbe\bin directory.

  6. Right-click the wrapper.exe file, and select Properties.

  7. In the Compatibility tab:

    1. Select Compatibility mode.
    2. Select Run this program in compatibility for: Windows XP (Service Pack 2).
    3. Select Run this program as administrator.
  8. Start the Data Flow Probe.

Note HPCmd uses DCOM protocol for connecting to remote machines. The DCOM protocol requires that the following ports are open: 135, 137, 138, and 139. In addition it uses arbitrary ports between 1024 and 65535, but there are ways to restrict the port range used by WMI/DCOM/RPC. For information about configuring DCOM to work with firewalls, see http://support.microsoft.com/kb/154596/en-us.