If a client's ScalePad Agent is in a bad state, you need to fully remove it before you redeploy, because the deployment script doesn't reinstall over an existing agent. This can happen after a failed install, a missing or wrong enrollment token, or overlapping install attempts from your RMM.
This article covers when you need the uninstall script, where to find it and how to run it, and how to confirm the agent has been removed.
|
What you'll need:
|
When you need the uninstall script
Use the uninstall script if any of the following apply to a device:
- An earlier install was completed without the required enrollment token.
- The agent was installed with the wrong client's enrollment token.
- An RMM deployment installed over an earlier manual install, and the agent is now in a bad state.
- ScalePad Support recommended a full removal before you redeploy.
|
Note: If you only want to pause data collection for a client rather than remove the agent, change their Data Collection Mode to Disabled instead. The agent stays installed and you can resume collection at any time. For more details, see Configuring SaaS Manager settings. |
Removing a single device without the script
If none of the issues above apply and you just want to remove the agent from one device, delete the device instead. Deleting a device automatically triggers an uninstall, so you don't need to contact Support or run a script.
For instructions on how to delete a device from SaaS Manager, see:
Navigating the SaaS Manager page: Devices
| Note: Deleting a device can take up to an hour to complete. If the agent hasn't uninstalled after that, use the uninstall script instead. |
Getting and running the uninstall script
- Open the client's SaaS Management settings. In the Deployment section, click Show instructions beside Deployment instructions.
- Select the Windows or macOS tab.
- Under Uninstalling the Agent, expand Uninstall Script and copy the script.
- Run the script through your RMM against the devices you want to remove the agent from. You must run it as System, not as a user.
| Note: Don't use the standard Windows uninstall process (via Windows Settings or Control Panel) to remove the agent. It may not fully remove the agent, so use the uninstall script instead. |
Verifying the agent was removed
- On the device, confirm the agent no longer appears in the installed programs list.
- Use the client picker to select the client, click SaaS Manager in the navigation menu, then click the Devices tab.
- Confirm the device no longer appears. The list can take a while to update.
Redeploying after uninstalling
Uninstalling the agent doesn't clear the client's enrollment token or delete their existing SaaS Manager data.
Before you redeploy, review your RMM for any recurring deployment job that would reinstall the agent on a device you don't want it on. Remove or disable that job before you continue.
| Note: If you also deleted the device from the Devices tab, its record stays in the ScalePad database with a deleted status. Contact ScalePad Support to have that record cleared before you redeploy to the same device, or it won't reappear in the list or resume data collection. |