Windows Error: Management Exception: Access Denied
Overview
This error typically appears in the Cloudamize ADC output in the following format:
management exception=access denied
It indicates that the remote host is not configured to allow local WMI (Windows Management Instrumentation) commands for the specific user account the ADC is using to connect. Essentially, the connection is successful, but the account lacks the authorization to pull the required data.
Changing WMI permissions is a security-sensitive action. Cloudamize does not recommend making changes to access permissions without following your organization’s formal change management and security procedures. Please consult your IT/Security team before proceeding.
Troubleshooting Steps
Configuring WMI Permissions
To resolve this error, you must grant the user account the rights to execute WMI commands via the WMI Control snap-in.
Step 1: Open WMI Control
On the target remote host, press
Win + Rto open the Run window.Type
wmimgmt.mscand click OK (or access it via the Control Panel under Administrative Tools).
Step 2: Access Namespace Security
Right-click on WMI Control (Local) in the left pane and select Properties.
Navigate to the Security tab.
Expand the Root folder and select the namespace the ADC is trying to access (typically
CIMV2).Click the Security button at the bottom of the window.
Step 3: Update User Permissions
Locate the user account being used by the ADC in the list. If it is not there, click Add to include it.
With the user selected, ensure the following permissions are set to Allow:
Execute Methods
Enable Account
Remote Enable (Ensure this is set to True/Allowed)
Click Advanced to ensure these permissions apply to "This namespace and subnamespaces."
Click OK and Apply to save the changes.
If the issue persists, please capture a screenshot of the error output and collect the log_backup.txt file from the following directory on the Cloudamize Agentless DC:
C:\Program Files (x86)\CloudamizeAgentlessDc\log_backup.txt
Please attach both the screenshot and the log file in an email to helpdesk@cloudamize.com for further investigation.