Agent Failed to Install

Prev Next

This article describes some common problems during ControlUp Agent installation, and how to fix them.

Issue #1 - “The Agent Authentication Key is misconfigured”

This error appears when the agent was installed on the machine with the MSI package, but no authentication key was provided.

Solution

  1. Open the Real-Time DX Console > Agent Settings > click the Copy button under Agents Authentication Key.

  2. Enter the registry on the agent machine.
    Under HKLM\SOFTWARE\Smart-X\ControlUp\Agent\Communication, add the copied authentication key to the AuthKey value data (type: REG_SZ).
    HKLM\SOFTWARE\Smart-X\ControlUp\Agent\Communication

  3. Re-connect the agent machine in the console.
    agent machine connected

Issue #2 - “Validating RPC availability. Failed to access \hostname\admin$”

This error usually appears when the firewall settings are not configured correctly. During the deployment of the Agent. Deploying the agent requires the logged in user on the console machine to be able to access the administrative share on the agent machine.

image.png

Solution

Make sure all required firewall ports are open. Refer to the communication ports article.

Issue #3 - “ControlUp Agent has been installed on the target machine using a standalone MSI package”

When you deploy an agent from the Real-Time DX Console, the machine shows this error:

"Error connecting to 'machine name'. ControlUp Agent has been installed on the target machine using a standalone MSI package. Please remove this package from the machine before attempting to deploy ControlUp agent remotely."

This error appears when the target machine already has an agent that was installed with an MSI package, including leftovers from a previous deployment. Remote deployment is blocked until the standalone MSI package is removed.

Solution

  1. On the target machine, open PowerShell as administrator and run the following commands:

Install-Module ControlUp.Automation
Uninstall-CUAgent -Force
  1. If the uninstall fails or leftovers remain, follow the steps here.

  2. In the Console, deploy the agent to the machine again.