How to Uninstall the Atera Agent via PowerShell Script
Purpose
This article explains how to completely remove the Atera Agent (and any associated Splashtop components) from a Windows computer using a PowerShell script.
This process is typically required when:
An agent installation has become corrupted or stuck.
A device was previously managed under a different customer.
The Atera trial or old deployment needs to be fully cleaned up before reinstalling.
When to Use
Use this procedure before reinstalling the Atera Agent, particularly if:
The device shows as “Offline” or “Unmanaged” in the Atera console even though the agent is installed.
The machine was renamed or reassigned to a new customer site.
Previous uninstall attempts (via Control Panel or MSI uninstall) failed.
Steps to Remove the Atera Agent
1. Reboot and Prepare the System
Before running the script:
Rename the computer if needed (for reassignment or cleanup).
Reboot the device to ensure no agent processes are stuck.
2. Open PowerShell ISE as Administrator
Press Start, type PowerShell ISE, right-click, and choose Run as Administrator.
Create a new blank script window.
3. Copy and Paste the Uninstall Script
Paste the full script from Atera’s documentation (linked below):
Wait for it to finish — it may take a few minutes.
Review the output for any errors or missing paths.
5. Reboot the Computer
After the script completes, reboot again.
This ensures all registry keys and service entries are cleared.
6. Reinstall the Atera Agent
Once the machine has restarted:
Use the CMD installation method from Atera instead of the .MSI installer. This ensures the device correctly registers to the right customer/site in your Atera dashboard.
If you delete an agent from the console, it can still be running on the client, but not show up in our dashboard. You need to delete a few registry keys then reinstall the agent of that client. This powershell script is also hosted on itstuff.ultrex.com for ease of copy/paste from target device.
Run the following fully in command line (ignore any errors). Then reboot machine, then reinstall Atera Agent.