No WMI connection

Anupam Thomas
Tera Expert

Hi,
I am getting below error message please help me resolve it and understand the root cause of the issue,
Active, couldn't classify: No WMI connection


Thanks in advance.

1 ACCEPTED SOLUTION

Ashutosh Munot1
Kilo Patron
Kilo Patron

HI,


We always try gwmi connection first when the discovery is initiated. SO couple of the things to check:

1) 135 port

2) then logon to mid server and go to powerShell executor and run 

gwmi win32_operatingsystem -computer <IP address of server to gather info> -credential '<credentials>'

3) If this is successful then check firewall rules on that target machine.

 

Thanks,
Ashutosh

View solution in original post

15 REPLIES 15

Hi Hitoshi,
We are receiving the below error,
Connecting to remote server failed with the following error message: The WinRM client received an HTTP status code of 403 from the remote WS-Management service.

Thanks

Error 403 implies credential error. It's not able to login with the provided user/password. 

Check if MID server is running with domain credentials so it'll be able to access computers in the domain.

Hi, 

 

the mid server is not having the Powershell folder. What to do?

chuckm
Giga Guru

Did you also check that the high ports 49152 - 65535 are open to this server as well?  When discovering using WMI, port 135 from the MID Server to the Remote Windows host must be open for initial communication AND high ports 49152 - 65535 must be open for the remainder of the communication.  It is possible the high ports are being blocked.

find_real_file.png

And as Ashutosh Munot mentioned - check the firewall rules on the remote Windows host.  If the Windows host has the Windows Firewall with Advanced Security turned on, you can check the firewall logs (C:\Windows\System32\LogFiles\Firewall) to determine if any of the WMI ports are being blocked.  When the Inbound rule Windows Management Instrumentation (WMI-In) for WMI is enabled, you can see in the logs that the high ports (src-port and dst-port) are allowed (action=ALLOW).

find_real_file.png