How to resolve access denied errors when copying ADAuditPlusAgent.msi due to ADMIN$ share connection failure

How to resolve access denied errors when copying ADAuditPlusAgent.msi due to ADMIN$ share connection failure

In this article:  

  • Objective

  • Prerequisites

  • Steps to follow

  • Validation and confirmation

  • Tips

  • Related topics and articles

Objective  

This article explains how to resolve the Couldn't copy ADAuditPlusAgent.msi and the Access Denied: Failed to Connect to ADMIN$ Share error encountered during agent installation in ADAudit Plus. The error occurs when the product is unable to copy the MSI installer file to the target machine's ADMIN$ share due to permission issues.

Prerequisites  

  • ADAudit Plus must be installed and running on the source server.

  • You must have administrative credentials for the target machine.

  • The ADMIN$ share must be enabled on the target machine.

Steps to follow  

Step 1: Verify access to ADMIN$ share  

  1. Log in to the ADAudit Plus server.

  2. Open Run (Windows + R), and type:

    • \\<target-server>\admin$

  1. When prompted, enter the ADAudit Plus service account credentials.

  2. If access is denied:

    • Open the ADAudit Plus console.

    • Go to Domain Settings.

    • Hover over the target domain and click Modify Credentials.

    • Provide a domain admin or a delegated account with required permissions.

Step 2: Set the service account for the ADAudit Plus service  

  1. Open services.msc.

  2. Locate and right-click ManageEngine ADAudit Plus, and select Properties.

  3. Go to the Log On tab.

  4. Select This account, and enter the domain account with required privileges.

  5. Click Apply, then OK.

Step 3: Adjust ADMIN$ share user limit  

  1. Press Start, type fsmgmt.msc, and hit Enter to open the Shared Folders MMC snap-in.

  2. In the left pane, select Shares.

  3. Right-click ADMIN$, and choose Properties.

  4. Under User limit, set a suitable value (e.g., Maximum allowed or at least 10 users).

  5. Click Apply, then OK.

Validation and confirmation  

  • Retry the agent deployment from the ADAudit Plus web console.

  • The ADAuditPlusAgent.msi file should now copy successfully to the target machine.

  • Monitor the Agent Installation status to confirm a successful connection and deployment.

Tips  

  • Ensure no firewall or security software is blocking access to \admin$ on the target computer.

  • If multiple users or tools rely on the same share, ensure that the user limit is not being reached.

  • Use a Domain Admin or a well-permissioned service account for best results.

Related topics and articles  

  • How to install agent Via UI and Manual Process

                  New to ADSelfService Plus?