Remotely installing the [[ConnectWise Automate Agent|agent]] for [[ConnectWise Automate|Automate]] can be difficult. One way to one by one on computers in a [[Windows Active Directory (AD)|domain]] environment. > [!Note] > This involves using the [[Windows Administrative Share]] and [[PowerShell Remoting]]. There are other methods to deploy the files and run commands if needed. 1. Download the Agent_Install.exe for the client. 2. Connect to the [[Windows Administrative Share|admin share]] of the computer by navigating to the computer in file explorer `\\DESKTOP-XXX\c
. 3. Place the installer in `C:\Temp\` or any location on the computer. 4. Start a [[PowerShell Remote|remote PowerShell]] session to the computer. It is easiest to do this when signed in on a server as a domain administrator. ```PowerShell Enter-PSSession DESKTOP-XXX ``` 5. Start the agent installer silently. ``` PowerShell & C:\temp\Agent_Install.exe /s ``` 6. The computer should appear in [[ConnectWise Control|ScreenConnect]] within a few minutes. If not, check the error file `C:\Windows\LTSvc\LTErrors.txt`. 7. Exit the [[PowerShell Remoting|remote PowerShell]] session. ```PowerShell Exit-PSSession ``` ## Agent Generic Uninstaller If the agent needs to be completely removed and re-installed follow these steps then repeat the installation steps. 1. Download the Generic Agent Uninstaller from the Web Center. 2. Connect to the [[Windows Administrative Share|admin share]] of the computer by navigating to the computer in file explorer `\\DESKTOP-XXX\c
. 3. Place the uninstaller in `C:\Temp\` or any location on the computer. 4. Extract the zipped uninstaller. 5. Start a [[PowerShell Remoting|remote PowerShell]] session to the computer. It is easiest to do this when signed in on a server as a domain administrator. ```PowerShell Enter-PSSession DESKTOP-XXX ``` 5. Start the agent uninstaller. ```PowerShell Start-Process -FilePath "C:\Temp\Agent_Uninstaller\Agent_Uninstall.exe" ```