If Telnet or Powershell test fails, check for firewalls between the CCS Manager and the target which might be blocking these ports. Also, check any Local Firewall on the target machine if there is no physical Firewall between the CCS Manager and the Targets. Open these ports on the Local Firewall (Inbound/Outbound Rules) if necessary.
SERVICES
Make sure that the following Services are running on the Windows target asset.
Remote Procedure Call (RPC)
Computer Browser
Server
Remote Registry
Windows Management Instrumentation
Netlogon
Remote Desktop Services
Windows Remote Management (WS-Management)
TEST UTILITIES
The Windows utility "wbemtest" can be run on the CCS Manager Machines from a command prompt or Powershell window (run the command prompt or Powershell 'as Administrator')
Type wbemtest on the command prompt of the CCS Manager. When the 'Windows Management Instrumentation Tester' window opens, click the Connect button.
In the Namespace field type: \\##.##.##.##\root\default (replace the hashes with the IP of the Windows target server)
In the Credentials section, enter the credentials being used by CCS for data collection on this target machine and then click Connect
If wbemtest can connect, then you should be returned to the first page and will be connected. Otherwise, an error will occur. NOTE: As wbemtest is a Microsoft application, this demonstrates that the issue is most likely the configuration on the target machine and not CCS based problem.
SETTING WMI PERMISSIONS
To set WMI permissions, on the Windows target machine do the following
Click Start > Run > type wmimgmt.msc, and then click OK.
On the resulting screen, right-click WMI Control and click Properties > Security tab > expand Root, and then click Default (or the failing node). Click the Security button and then the Advanced button.
On the Advanced Security Settings screen, double-click on the CCS Service account (or the group containing the CCS Service account) and ensure it has the Enable Account and Remote Enable permissions checked. If those permissions are not enabled, enable those permissions.
NOTE: The wmimgmt.msc may not run on certain machines due to Internet security settings. You may not have access to change the internet security settings on the target machine in order to use this tool, there may be a GPO enforced setting. Instead you can use the Computer Management utility to grant WMI permissions. Please search for instructions on how to grant WMI permissions using Computer Management utility.
LESS LIKELY SETTINGS TO LOOK AT
NOTE: Internet security policies can cause the group policy editor not to be available.
On the remote computer, open gpedit.msc, open Computer Configuration, open Administrative Templates, open Network, open Network Connections, open Windows Firewall, and then open either Domain Profile or Standard Profile, depending on which profile you want to configure. Enable the following exception: "Allow Remote Administration Exception" and "Allow File and Printer Sharing Exception".
After completing the steps above, RETEST with wbemtest (step 3) to verify that it works.
REPAIRING WMI
The following suggestions are at the risk of the user. They are often recommended by Microsoft articles, however, consultation with Microsoft is always recommended.
Depending on your version of Windows, these are the following ways to repair/rebuild/reset WMI on your machine. (this has been tested on Windows 2022)
Open a command prompt (as administrator).
Type the following command: winmgmt /salvagerepository
The above command performs a consistency check on the WMI repository, and if an inconsistency is detected, rebuilds the repository. The content of the inconsistent repository is merged into the rebuilt repository if it can be read.
Additional Information
Some other sites with great info on troubleshooting WMI issues.