Troubleshoot failed to communicate with the WMI collector service errorIssue <!-- div.margin{ padding: 10px 40px 40px 30px; } table.tocTable{ border: 1px solid; border-color:#E0E0E0; background-color: rgb(245, 245, 245); padding-top: .6em; padding-bottom: .6em; padding-left: .9em; padding-right: .6em; } table.noteTable{ border:1px solid; border-color:#E0E0E0; background-color: rgb(245, 245, 245); width: 100%; border-spacing:2; } table.internaltable { white-space:nowrap; text-align:left; border-width: 1px; border-collapse: collapse; font-size:14px; width: 85%; } table.internaltable th { border-width: 1px; padding: 5px; border-style: solid; border-color: rgb(245, 245, 245); background-color: rgb(245, 245, 245); } table.internaltable td { border-width: 1px; padding: 5px; border-style: solid; border-color: #E0E0E0; color: #000000; } table tr td { padding: 15px; } .title { color: #D1232B; font-weight:normal; font-size:28px; } h1{ color: #D1232B; font-weight:normal; font-size:21px; margin-bottom:-5px } h2{ color: #646464; font-weight:bold; font-size:18px; } h3{ color: #000000; font-weight:BOLD; font-size:16px; text-decoration:underline; } h4{ color: #646464; font-weight:BOLD; font-size:15px; text-decoration:; } h5{ color: #000000; font-weight:BOLD; font-size:13px; text-decoration:; } h6{ color: #000000; font-weight:BOLD; font-size:14px; text-decoration:; } hr{ border-top-width: 1px; border-top-style: solid; border-top-color: #cccccc; } ul { list-style: disc outside none; margin-left: 0; } li { padding-left: 1em; } --> Some pattern commands require the use of the WMI Collector service, including some process detection steps depending on the target being discovered. The MID Server service communicates to the WMI Collector service via localhost on port 8585 by default. The following error is thrown when communication cannot be established between the MID Server service and the WMI Collector service. Failed to communicate with the WMI collector service. ReleaseAll currently supported versions.CauseThe following are the most common causes for the communication failure error: WMI Collector Service is not running or fails to start.Port 8585 is already in use by another application.ResolutionService not running or fails to start: Start the WMI Collector service.If starting the service fails, review the collector log "<install_directory>\agent\bin\sw_wmi\log\logfile.txt". The solution to starting the service will depend on the error found in the log.Review windows system event logs for errors when starting the service. Port already in use by another application: Change the configured port for the WMI Collector via configuration file "<install_directory>\agent\bin\sw_wmi\conf\wmi_collector.ini", and parameter "port". port=<available_port> Restart the service."netstat –ano | findstr <port_number>" can be used to find the process currently using the port.Related LinksKBs to commonly seen WMICollector errors: Pattern discovery error "Failed to download binary using httpgetbin_adodb.vbs"How to resolve a failure to communicate with the WMI Collector during top-down discovery (Missing .Net, Not listening on correct IP)WMI fails to execute WMI command on MID Server localhost (Missing log4net.dll)WMI Collector service is not started on MID Servers on Windows machines set to non-English language MID Server parameters to connect to WMI Collector service (Can be added via MID server "Configuration Parameters" related list): mid.servicewatch.wmi.port = Port which WMI Collector service is listening on, default 8585.mid.servicewatch.wmi.host = Host where WMI Collector service is running, default localhost.mid.servicewatch.wmi.get_file_on_shared_drive_from_collector = Should file resulting from command be collected on shared drive of target, default true. WMI Collector startup service parameters, configured via file "<install_directory>\agent\bin\sw_wmi\conf\wmi_collector.ini": localAddress = Address used by server being discovered to communicate back to the WMI Collector service.port = Port used by WMI Collector process Important note WMI Collector is deprecated in New York patch 10 and later. See the KB0791835 WMI Collector deprecation details for more information.