Skip to main content
Skip table of contents

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

  1. On the target remote host, press Win + R to open the Run window.

  2. Type wmimgmt.msc and click OK (or access it via the Control Panel under Administrative Tools).

Step 2: Access Namespace Security

  1. Right-click on WMI Control (Local) in the left pane and select Properties.

  2. Navigate to the Security tab.

  3. Expand the Root folder and select the namespace the ADC is trying to access (typically CIMV2).

  4. Click the Security button at the bottom of the window.

Step 3: Update User Permissions

  1. Locate the user account being used by the ADC in the list. If it is not there, click Add to include it.

  2. 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)

  3. Click Advanced to ensure these permissions apply to "This namespace and subnamespaces."

  4. 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.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.