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
Cybersecurity
DevOps Cloud (ADM)
IT Operations Cloud
If an answer to your question is correct, click on "Verify Answer" under the "More" button. The answer will now appear with a checkmark. Please be sure to always mark answers that resolve your issue as verified. Your fellow Community members will appreciate it!  Learn more
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
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:
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
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