> Deploying > Removing Kaseya agents after migration

Removing Kaseya agents after migration

In the event that any Kaseya agents could not be fully uninstalled when deploying KaseyaMigrationandRemoval.exe, a second tool, KaseyaRemoval.exe, can be used.

Upload KaseyaRemoval.exe into MSP N-central

  1. Download KaseyaRemoval.exe from the SolarWinds MSP Resource Center at: https://nrc.n-able.com/Community/Scripts-Automation-Policies?fileid=329 and unzip the file.
  2. Sign-in to MSP N-central.
  3. From the SO level, click Configuration > Scheduled Tasks > Script/Software Repository.
  4. Click Add > Push Third Party Software.
  5. Enter KaseyaRemoval in the Name field.
  6. Click Browse and navigate to the KaseyaRemover.exe tool and click Open.
  7. In the Command Line Parameters field, enter "KaseyaRemover.exe cleanupkaseya:true".
  8. Click OK.

Create an MSP N-central filter to locate devices with an Kaseya agent installed

  1. At the SO level, click Configuration > Filters and click Add.
  2. Enter the Filter Name, Kaseya Software Detected.
  3. For filter is available to select Everyone.
  4. In the drop-down list box, click Ensure Show.
  5. In the Find devices where field, click Application > Application Publisher > CONTAINS > Kaseya.
  6. Click Save.

Locate devices with a Kaseya agent installed and remove them

  1. From the SO level, go to Views > All Devices.
  2. Click the Filter button and select the Kaseya Software Detected filter you just created from the drop-down to locate devices with a Kaseya agent installed.
  3. Select the Customer / Site header check box to select all devices listed.
  4. Click Add Scheduled Task > Push Third Party Software.
  5. For Task Name, enter "Uninstall Kaseya Agent".
  6. Under Software to Deploy, ensure Location is set to From Software Repository.
  7. Select KaseyaRemoval as created above, from the Repository Item drop-down list.
  8. Click Save.

The Kaseya removal tool will now be deployed to any devices on which the Kaseya agent has been detected.