Skip to main content

Update Screenconnect Version

Summary

The purpose of this script is to update the Screenconnect versions on the machine. It downloads the Connectwise Control MSI and installs it to update the agent. The script supports both Windows and Mac machines and is limited to ScreenConnect integrated with Automate only.

Script Target

Both Windows and Mac machines

Sample Run

The script is intended to run as an auto-fix with the internal monitor CWC - Internal Monitor - Outdated Screenconnect Version, so the agent gets updated automatically.

Global Parameters

NameExampleRequiredDescription
TicketCreationCategory293TrueSpecify the ticket creation category to enable ticketing on the machine. Use '0' to disable ticketing.

Dependencies

CWC - Internal Monitor - Outdated Screenconnect Version

Output

  • Script log
  • Tickets

Ticketing

To enable ticketing on failure, the ticket category must be set in the global parameters of the script. The TicketCreationCategory parameter should not be equal to '0'.

Ticket Subject: CW Control Agent Update - Failed - %ClientName%/%ComputerName%

Ticket Body: Script failed to update the Screenconnect version on the machine....!!

If the Screenconnect service fails to start after running the installation:

The script tried to run the installer but could not find the Screenconnect service on the machine anymore. Run the CW control repair script to resolve the issue.