Note: For organizations deploying to a large amount of endpoints, ThreatLocker recommends using a staggered deployment approach. Organizations that deploy to a large number of endpoints at once may experience increased bandwidth usage as macOS Core and application definitions are downloaded to each endpoint. QOS can be used to limit bandwidth to macapps.threatlocker.com.
Under Policy Management, create a new policy and use a blank template:

Give the policy a name and switch to the macOS tab.

Once macOS is selected, scroll down and select “Deploy Custom Configuration".

MDM configuration profiles automatically set rights and preferences for the ThreatLocker Agent. When configured by MDM, the end user will not be prompted to manually enter admin credentials. These profiles on their own do not install any software; they only set needed rights and preferences to enable smooth remote installation of the ThreatLocker Agent.
Please Note: To allow for smooth remote installation of the ThreatLocker agent on MacOS, have the MDM profiles deployed to all Mac devices before the ThreatLocker agent installation is attempted. Beware, remote installation of ThreatLocker on MacOS using an RMM without using an MDM is not recommended because an RMM alone cannot set these required permissions.
Use the link below to download the current version 3 ThreatLocker MDM profiles.
From the downloaded file above, extract the included .mobileconfig files:
-
ThreatLocker Configuration (Required)
-
ThreatLocker Startup & Lock (Required)
-
ThreatLocker Network Core (Required)
-
ThreatLocker Network ZTNA + ZTCA (Required for ZTNA and ZTCA)
All profiles should be added to your MDM as separate configuration profiles and scoped to your Mac devices.

Next, switch to scripts and upload the MDM deployment script from the ThreatLocker portal into the Hexnode portal.


To see where to get the latest version of our MDM script, please see the 'RMM Deployment' section of Deploying ThreatLocker | ThreatLocker Help Center (kb.help)
Near the beginning of the script, configure the following four values:
| Value | Script variable | What to enter |
|---|---|---|
| Instance | Instance |
Your ThreatLocker instance, using the format required by the script, such as api.g. |
| Unique Identifier | Key |
Your deployment Unique Identifier from the Install Computer window in the ThreatLocker portal. This is a deployment GUID and is different from the organization’s Identifier or GroupKey. |
| Company | Company |
The Identifier of the organization you want to deploy to. For an existing organization, copy the Identifier from its organization settings exactly. |
| Group Name | GroupName |
The exact name of the destination Mac computer group in ThreatLocker. |
For help locating your deployment Unique Identifier, see Getting your Unique Identifier from ThreatLocker.
The script uses Company to match an organization’s Identifier. If a matching organization exists, the agent installs into that organization. If no matching organization exists, a new organization is created.
Please Note: The organization’s Identifier may differ from its display name. To deploy to an existing organization, enter its Identifier exactly. An incorrect Company value can create an unintended organization.
Once all four values have been configured, save the script.

Set the script to execute on subsequent user log on.

Once the script is uploaded, save the policy. On the Policy Management screen, select the policy, click on Manage, and then click on Associate targets. Select the machines you would like to associate with this policy.

Once the policy is applied, the next time a user logs in, ThreatLocker will be installed.
Help Center