Failed to connect to WMI

uCMDB version: 23.4 

We are trying to discover a server but the error appears "Failed to connect to WMI".

What could be the issue and how do we resolve it?

BR,

Haniyya Rehan

  • Suggested Answer

    0  

    hi, 

    Is the connection got failed? or connection gets successful, but discovery got failed?

    If it is connection issue, first you need to make sure ports are opened. 

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

    You may try to use a tool called WMI Tester which is provided by windows to verify connectivity from the probe machine to the remote windows machine.

    Log into the probe machine and check connectivity following the steps below:

    1. Click Start, then Run.
    2. Type "wbemtest" (without quotes) in the Open drop-down list, and click OK.
    3. This open the Windows Management Instrumentation Tester  (Note: All button except Edit Context under IWbemServices will be grayed out)
    4. Click the Connection button.
    5. Type "\\<remoteServerIP>\root\cimv2"  (without quotes) in the Namespace text box.
    6. Click Connect.

    Hope this helps. 

    Best Regards, 

    Jun 

    Jun Liu

    Micro Focus (now OpenText) Global Technical Support

    If you found this post useful, give it a “Like” or click on "Verify Answer" under the "More" button

  • 0

    Hello,

    did you figure out what was the problem?

    I´ve encountered the same problem in Containerized environment, when trying to use Connection by WMI. Using the same credentials and settings as I do in Classic environment (it works there), and Im getting the "Failed to connect to WMI" problem.

    Best Regards,

    VojtÄ›ch Štokr

    EDIT: Nevermind, I just found out Linux Probe cannot run WMI discovery.