Database or operating system collections fail due to the following error:
java.lang.RuntimeException: failed to run WMI query: DBSS_OS_is_service_up.wmi
Description: User credentials cannot be used for local connections
CAUSE 1
As per Microsoft Technet, WMI scripts that connect to the WMI service on the local computer always connect using the security context of the logged on user. This can occur when using domain credentials to connect to a local resource using WMI.
For details please read this Microsoft article with the error WBEM_E_LOCAL_CREDENTIALS - 0x80041064.
CAUSE 2
The issue can be related to WMI class permissions when authenticating to the local server. Doing a manual OS connection test, the authentication to the local server with the administrator credentials would fail with the message "User credentials cannot be used for local connections". When tested without username and password, it works.
This situation can be handled by setting only the username and password if the local machine name doesn't match the DNS hostname record for the server environment machine name.
CAUSE 3
User does not have permission on WMI object Win32_Service
RESOLUTION 1
Change the OS log to
RESOLUTION 2
Update the DNS name for the server to match the NETBIOS name, or update the hosts file on the local host/agent manager server. Some success has also be found when using a servername (shortname) rather than the fully qualified domain name (FQDN).
RESOLUTION 3
If using a non-administrator account, refer to KB 215054 for the steps in granting required permissions to Win32_Service.
© ALL RIGHTS RESERVED. Feedback Terms of Use Privacy Cookie Preference Center