Skip to main content

Remove - All But My - ScreenConnect Client Installations

Police Car Light

PLEASE NOTE -

If you are NOT a current ProVal partner, you are using this content at your own risk, and support will NOT be provided!

This script will, by default, attempt to remove ALL ScreenConnect versions that do not match your Automate deployed version.

If you would like to add another permitted ScreenConnect version, please refer to the ExtraDataFields section of the document. We also recommend testing the script before deploying it en masse.

Police Car Light

Summary

This script removes all instances of ScreenConnect from the machine except the one integrated with Automate or any other optional ScreenConnect instances provided in the client EDF Other Permitted SC Instances.

Dependencies

CWM - Automate - Internal Monitor - Remove Additional ScreenConnect Clients

Importing Script via XML

  1. Download the script XML

    Download XML

  2. Log in to your Automate thick client

  3. Navigate to: System, General, Import, XML Expansion

  4. Browse to the XML downloaded from this document

    Browse XML

  5. Click YES to the import warning

    Import Warning

  6. Use CTRL-R or the Reload System Cache dropdown

    Reload System Cache

  7. The script will be located in: Automation, Scripts, ProVal, Connectwise Control folder

Sample Run

Sample Run

Client Level EDF

NameTypeRequiredExampleSectionDescription
Other Permitted SC InstancesTextBoxFalse6ef67d57664499m50di7fd57637401k5ScreenConnect
Remove Additional SC ClientsCheckBoxTrueScreenConnectMark the EDF to enable the Auto-Removal automation for the client.

Client Level EDF

Location Level EDF

NameTypeRequiredExampleSectionDescription
Exclude - Additional SC RemovalCheck-BoxFalseExclusionsMark the EDF to exclude the location from the Auto-Removal Automation.

Location Level EDF

Computer Level EDF

NameTypeRequiredExampleSectionDescription
Exclude - Additional SC RemovalCheck-BoxFalseExclusionsMark the EDF to exclude the computer from the Auto-Removal Automation.

Computer Level EDF

Output

  • Script Logs

Attachments

Remove_-All_But_My-_ScreenConnect_Client_Installations.xml