Deploying ThreatLocker using ConnectWise Control
The ThreatLocker agent can be deployed using ConnectWise Control provided your license supports the ability to run commands.
You will need to download the PowerShell script located here. This is the script for Ninja, and will need to be modified by adding the following 3 lines at the top for ConnectWise use:
Then you need to modify the script in the following 2 areas:
Under ## Variables, you will need to replace $env:NINJA_ORGANIZATION _NAME with the name of the organization you wish to deploy to enclosed in apostrophes as shown in the second screenshot below.
Under ## Attempt install, replace UPDATE_UNIQUE_ ID_ HERE with your Parent company's Unique Identifier in ThreatLocker.
To locate your Unique Identifier, within the ThreatLocker portal, navigate to the Computers page. Click the 'Install New Computer' button located at the top of the page. The RMM and Script Deployment window will open. Your Unique Identifier is located on line 5 as shown in the photo below.
Once you have modified your script as needed, within ConnectWise Control, navigate to the Access Page. Click on the 'Commands' icon. It is located at the red arrow in the screenshot below.
Paste your edited script in the text box that says 'Enter a command'. Then you can click the 'Run Command' button. You will receive output showing you if the installation was successful or not.
Please note that if you are typing the script into this box line by line, you will need to hit shift + enter at the end of each line. If you just press enter, the command will be executed immediately.