Remove Additional ScreenConnect Clients
Purpose
The objective of this solution is to remove any additional and unwanted ScreenConnect clients from Windows computers.
Associated Content
Content | Type | Function |
---|---|---|
Script - Remove - All But My - ScreenConnect Client Installations | Script | Remove additional ScreenConnect installations from the machines. |
Internal Monitor - Remove Additional ScreenConnect Clients | Internal Monitor | Detects the computers with additional ScreenConnect clients where Auto-Removal is enabled. |
△ Custom - Remove Additional ScreenConnect Clients | Alert Template | Executes the script against the computers detected by the internal monitor. |
Implementation
-
Import the following content from the
ProSync
plugin:- Script: Script - Remove - All But My - ScreenConnect Client Installations
- Internal Monitor: Internal Monitor - Remove Additional ScreenConnect Clients
- Alert Template: △ Custom - Remove Additional ScreenConnect Clients
-
Reload the system cache.
-
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.
- Auto removal for a client can be enabled by flagging the Client-Level EDF
-
Configure the solution as follows:
- Internal Monitor - Remove Additional ScreenConnect Clients
- Configure with the alert template:
△ Custom - Remove Additional ScreenConnect Clients
- Right-click and Run Now to start the monitor.
- Configure with the alert template:
- Internal Monitor - Remove Additional ScreenConnect Clients
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