This document contains official content from the BMC Software Knowledge Base. It is automatically updated when the knowledge article is modified.
BMC Discovery 11.3
RemQuery fails with NoAccessMethod.
The proxy worker log shows:
discovery.slave.worker.remquery.connection: DEBUG: Try using RemQuery on remote xxx.xxx.xxx.xxx with domain\user
discovery.slave.worker.remquery.connection: DEBUG: File already present and up to date
discovery.slave.worker.remquery.connection: DEBUG: Unable to connect to xxx.xxx.xxx.xxx SC manager: (5, 'OpenSCManager', 'Access is denied.')
discovery.slave.worker.remquery_method: DEBUG: Error requesting RemQuery: Access is denied. (0x00000005)
The event viewer on the target machine shows "Unable to start service control dispatcher"
Root cause 1: The credential used by Discovery is not a member of the administrators group on the target host.
Solution 1: Add the account used to scan the device in the local admin group of the scanned device
Solution 2: Change the account as documented ("a valid user account, which should be in the Administrators group")
Root cause 3: The user account is part of the admin group, but its permission to remotely access admin$ was denied.
To confirm the root cause: try the following commands:
net use T: \\<ip address>\admin$ /user:<domain>\<user>
net use T: \\<ip address>\admin$ /user:Administrator
If it works for the Administrator account but fails for the user that is part of the admin group, it confirms that the user has less privileges than admin (note that in theory, the permission could be denied for Administrator too)
The permission to remotely access admin$ can be removed as explained below
Solution 3: set to 1 the following key as explained in the links above: