Uninstall Automate Agent
Overview
This script automates the removal of the ConnectWise Automate agent from a Windows machine using Labtech PowerShell Module. It performs the following steps:
- Creates the required working directory if it does not already exist.
- Downloads the Agent_Uninstaller.zip from the ConnectWise asset server.
- Extracts the contents of the zip archive to the working directory.
- Locates the uninstaller executable (setup.exe by default, or the first .exe found).
- Runs the uninstaller silently and validates the exit code.
Sample Run
Play Button > Run Automation > Script
Automation Setup/Import
Output
- Activity Details
Changelog
2026-04-01
- Initial version of the document