Skip to main content

Remove Additional ScreenConnect Clients

Purpose

The objective of this solution is to remove any additional and unwanted ScreenConnect clients from Windows computers.

Associated Content

ContentTypeFunction
Script - Remove - All But My - ScreenConnect Client InstallationsScriptRemove additional ScreenConnect installations from the machines.
Internal Monitor - Remove Additional ScreenConnect ClientsInternal MonitorDetects the computers with additional ScreenConnect clients where Auto-Removal is enabled.
△ Custom - Remove Additional ScreenConnect ClientsAlert TemplateExecutes the script against the computers detected by the internal monitor.

Implementation

  1. Import the following content from the ProSync plugin:

  2. Reload the system cache.
    Reload Cache

  3. Configure the Extra Data Fields as explained in the script's document.

    • Auto removal for a client can be enabled by flagging the Client-Level EDF Remove Additional SC Clients.
    • A location and computer can be excluded from the Auto-Removal by marking the location-level and computer-level EDF Exclude - Additional SC Removal, respectively.
  4. Configure the solution as follows:

Audit SQL

Below is some SQL that will grab all of the unique instance IDs of ScreenConnect found within Automate, so partners can quickly assess what instance IDs may need to be excluded from this solution:

SELECT software.name, COUNT(software.computerid), GROUP_CONCAT(DISTINCT clients.name) AS Clients 
FROM software
LEFT JOIN computers c ON c.computerid = software.computerid
LEFT JOIN clients ON clients.clientid = c.clientid
WHERE software.name LIKE '%screenconnect%'
GROUP BY software.name