Join our Newsletter — 33% off our NHI Course
Home› Guides› ThreatLocker Configuration Guide: Allowlisting Policies, Ringfencing, Elevation and…
Guide Endpoint Security

ThreatLocker Configuration Guide: Allowlisting Policies, Ringfencing, Elevation and Learning Mode

PDF for newsletter subscribers · free to read online

← All guides
By NHI Mgmt Group, under the editorial direction of Lalit Choda Updated 20 November 2026 16 min read
On this page

ThreatLocker works best when endpoints stay in Secured Mode, learning is short and targeted, ringfencing is tested in Monitor Only before it is enforced, and local administrator rights are removed rather than tolerated. This guide walks through the configuration choices that decide whether a ThreatLocker deployment is a real default-deny control or a permissive one with a deny policy at the bottom. It covers Application Control policies, the maintenance modes (including Learning Mode), ringfencing, Elevation Control and local administrator removal, and the approval request workflow that keeps the policy set healthy after go-live.

The audience is the endpoint, identity and security engineers who run ThreatLocker for their own estate or, in managed service providers, for many client organisations. Where this guide gives a setting or behaviour, it comes from ThreatLocker's Help Center. Where it gives a recommendation that goes beyond the documentation, it is labelled as an NHI Mgmt Group recommendation. For the vendor-neutral background on allowlisting as a control, see the Application Allowlisting Guide.

This is an independent guide from NHI Mgmt Group, based on ThreatLocker's public documentation as of November 2026. It is not sponsored or reviewed by ThreatLocker. Product features change, so confirm settings against ThreatLocker's current documentation.

Key takeaways

  • ThreatLocker's own guidance is that the goal is to keep endpoints in Secured Mode at all times. In Secured Mode no application runs unless a policy allows it. Every other mode is a temporary exception.
  • Application Control Learning Mode needs a Default Deny policy named "Default - (Group Name)". ThreatLocker states that naming the Default Deny policy "Deny All" stops Learning Mode from working.
  • Learning Mode, Monitor Only and Installation Legacy all default to one hour, then return to Secured Mode. ThreatLocker says Learning Mode should be "used sparingly" because it permits a broad range of files.
  • Put any new ringfencing policy in Monitor Only for about a week and review the Unified Audit before enforcing it. Skipping this, the documentation warns, "may possibly impact your day-to-day business operations."
  • When an application runs elevated, ringfence it so it cannot launch PowerShell, Command Prompt, rundll32, regsvr32, RegEdit, CScript, PsExec or Scheduled Tasks, as far as its function allows.
  • Elevation Control can remove unapproved local administrators. It does not delete accounts and does not end existing sessions, so plan for sign-out or restart.
  • When you approve a request for a Built-In application, the whole Built-In application is permitted. Check that the file really belongs to the application the match suggests.

How ThreatLocker decides what runs

ThreatLocker Application Control is a default-deny control. Under Secured Mode, the default operating state, the agent blocks any file that no permit policy covers. Policies are built around applications. An application is a named set of file definitions, such as hashes, paths and certificates. A policy attaches an action to an application at a chosen scope.

The scope model matters for anyone running ThreatLocker across many groups or client organisations. In the approval workflow, the policyLevel field can target the entire organisation, a computer group or a single computer. ThreatLocker also supports Global Policies, which are deployed with "Deploy All Policies" from the Organizations page. Policy changes take effect when you press Deploy Policies, or at the next full agent check-in.

The bottom of each group's policy list is the Default Deny policy. Its name is not cosmetic. The maintenance modes documentation says Learning Mode needs a Default Deny policy named "Default - (Group Name)" and will not work if that policy is named "Deny All". Before onboarding a group, NHI Mgmt Group recommends checking that every group's Default Deny follows this naming convention. A renamed policy is a quiet way to break Learning Mode for a whole fleet.

Rule types inside an application

The approval request documentation shows the definitions an application can hold: a hash (hash), a full path (fullPath) and a certificate (cert), set through manualOptions in the policy conditions. ThreatLocker's example combines a path-with-certificate rule and a hash rule in one existing application. As a general design principle (not a ThreatLocker setting), NHI Mgmt Group suggests:

  • Use certificate plus path for software that is signed and updated often, so routine updates do not generate a flood of new requests.
  • Use hashes for unsigned tools and scripts that rarely change, accepting that every new version needs a fresh approval.
  • Avoid path-only rules in folders standard users can write to, because any file dropped there would inherit the permission.

Secured Mode and the maintenance modes

ThreatLocker groups its temporary exceptions under maintenance modes. Each one has a specific purpose and a default duration. Treat them as change windows, not settings. The table summarises the documented modes.

ModeWhat ThreatLocker documents it doingDefault duration
Secured ModeNo application runs unless a policy allows it. The intended steady state.Until another mode is enabled
Application Control Learning ModeDisables blocking for a while and records files that run or install and are not already covered by a permit or deny policyOne hour
Application Control Monitor OnlyDisables blocking for a while. No changes are learned. Executing files are logged in the Unified AuditOne hour
Network Control Monitor OnlyAllows all network traffic and logs it in the Unified AuditOne hour
Storage Control Monitor OnlyDisables storage control restrictions and logs data access in the Unified AuditOne hour
Elevation Mode (Advanced)Enables elevation for all applications, so any application can run with administrative privilegesOne hour suggested
Installation Legacy (Advanced)Disables application blocking for a while so new software can install, and catalogues the new files installedOne hour
Disable Tamper Protection (Advanced)Removes protection from ThreatLocker files, services and registry entries. Needed to remove the agentPer schedule
Disable ThreatLocker Detect (Advanced)Stops Detect alerts during the window, for admin tasks that could trigger false positivesPer schedule

Three of these deserve particular caution. Elevation Mode lets any application run as administrator, so on a compromised machine it is close to handing over local admin rights. Disable Tamper Protection is how the agent is removed, so who can schedule it is a key question of administrative privilege. Disable ThreatLocker Detect makes the window quieter for defenders. NHI Mgmt Group recommends restricting these three to a small group of named administrators and reviewing every use.

A mode can be ended early in three ways. On the Devices page, choose Secured Mode from the Mode dropdown. On the Maintenance tab, press End on the active entry in Maintenance History. Or select several devices and use the Secure Mode button. The computer then stays in Secured Mode until another mode is enabled.

Learning Mode: getting baselines without opening the door

Learning Mode is how most ThreatLocker estates build their first policy set, and it is where most avoidable over-permissioning happens. ThreatLocker documents three learning options.

  • Application. Learns files into one application you select. You can then attach policies to that application for other machines. This is the most controlled option.
  • Computer or Group (Automatic learning). Creates several applications and policies at the computer or group level based on what runs.
  • Automatic System. Learns only drivers and miscellaneous Windows files. It is not suited to installing new software and is normally used when onboarding a new computer.

Automatic learning does not profile every location. On Windows, ThreatLocker typically profiles applications in Program Files, AppData and the Windows directory. Applications in Documents, Downloads, Desktop or Users are not profiled unless ThreatLocker matches them by name. On macOS, applications in the Applications and Library folders are typically profiled, and applications in cloud storage are not. On recent agents (Windows Agent 10.3 and Mac Agent 4.2 or later), advanced options let you create a new application, choose a target group or computer, and set path or process conditions.

Bulk scheduling from the multiselect view offers four options: Application Control Monitor Only, Application Control Learning Mode (Group), Application Control Learning Mode (Computer) and Disable Tamper Protection. ThreatLocker notes that both learning options here work as Automatic learning.

Practical learning approach

The following sequence is an NHI Mgmt Group recommendation built on the documented behaviour:

  1. Start new machines with Automatic System learning so drivers and Windows files are covered, then return to Secured Mode.
  2. For line-of-business software, prefer Application learning with a named application. That way the result is one reviewable object, not dozens of automatically created ones.
  3. Use Automatic learning at group level only on a reference machine you trust and know to be clean. Whatever is running during the window can become policy.
  4. Review the applications and policies learning created before you widen their scope. Remove anything you did not expect.
  5. Use Monitor Only, not Learning Mode, for one-off activity that does not need a permanent policy. That is the use case ThreatLocker documents for it.

Installing new software safely

For software installs, ThreatLocker documents Installation Legacy. It disables application blocking for a while and catalogues every new file installed, so the result can be reused on that computer or others with a matching policy. The documented steps are: schedule maintenance, select Installation Legacy, choose New under Application, enter a name, install the software, then return to Secured Mode.

Two documented caveats affect results. If a file was already logged as "install" in the Unified Audit, Installation Legacy will not learn it. And older agents may show "Installation Mode" or "Application Control Installation Mode", which newer agents do not support. If installed software is then blocked at first launch, check the Unified Audit for files that were skipped for this reason before assuming the install was incomplete.

NHI Mgmt Group recommends doing installs on one machine, naming the application after the vendor and product version, and only then attaching it to the wider group. Repeating Installation Legacy on every endpoint widens the attack surface and multiplies applications that drift apart over time.

Ringfencing: limiting what permitted applications can do

Allowlisting decides whether a file can run. Ringfencing decides what a permitted application can do once it is running. The approval request API shows ringfencing options covering applications, file, registry, network and spawning, set through ringfenceActionId and ringfencingOptions. This is the control that stops a trusted but abusable program, such as an office suite, remote support tool or scripting host, from becoming a launch point.

Rolling out a new ringfence

ThreatLocker's rollout guidance for a new ringfence is direct. Put the policy in Monitor Only first, for about a week, so you can see which actions would have been denied under enforcement. For an existing policy, choose Monitor Only from the dropdown next to the policy name on the Application Control, Policies page. That option appears only for Ringfence or Deny policies. For a new policy, or an existing one without ringfencing, select Monitor Only under the Actions heading in the policy window. During the monitoring week, review the Unified Audit to find the exclusions you will need before you secure the policy.

After a change, press Deploy Policies, or Deploy All Policies for a Global Policy. On older ThreatLocker versions, ringfencing applies only when a process starts. A running application must be closed and restarted for changes to take effect, which is worth knowing before you conclude that a ringfence is not working.

ThreatLocker states that "it is impossible to create a one-size-fits-all Ringfencing Policy", so each ringfence needs testing against the application it protects.

Elevation without standing admin rights

Elevation lets a specific application run with administrative privileges without giving the user an administrator account. That is a real reduction in standing privilege, and it creates a new risk, which ThreatLocker names directly: "there is a risk of someone abusing their elevated privilege". The obvious abuse is using one elevated application to launch another, such as a shell, and so gaining general administrative control. This maps to MITRE ATT&CK T1548 Abuse Elevation Control Mechanism.

Ringfence every elevated application

ThreatLocker documents using ringfencing in elevation policies to limit what the elevated application can interact with. The steps are: go to Modules, Application Control, Policies, open the policy, scroll to the Actions section, and choose the high-risk applications to block. ThreatLocker recommends adding as many of these as possible to the "Allow All Except Below" list without breaking the program:

  • Windows PowerShell
  • Windows Command Prompt
  • Windows Run DLL
  • Windows RegSVR32
  • Windows RegEdit
  • Windows CScript
  • Windows PSExec
  • Windows Scheduled Tasks

Several of these are standard ATT&CK execution and proxy-execution routes, including T1059.001 PowerShell and T1218.011 Rundll32. Blocking them from an elevated parent removes the easiest escalation paths.

Elevate the updater, not the program

ThreatLocker recommends a separate elevation policy for an application's update file, so the whole program does not run as administrator. Many applications need administrator rights only to update, and elevating the main program for that reason gives far more privilege than needed.

Removing local administrators with Elevation Control

Elevation is only worth having if users no longer hold local administrator rights. Elevation Control documents two ways to manage local administrators on Windows and macOS.

  • Local Administrator Users and Groups. Shows every user and group in the local Administrator group. You can remove members one at a time with the trash can icon, or in bulk. Changes apply at the endpoint's next heartbeat check-in.
  • Local Administrator Policies. You build an exclusion list of approved administrators or groups, and ThreatLocker removes everyone else from the local Administrator group. Users are removed after Deploy Policies is pressed, or after the next full agent check-in.

The requirements are the "Manage Local Admin Settings" permission, the Elevation product enabled at organisation level, and Windows agent 8.7.1 or later or macOS agent 2.8 or later.

Behaviours to plan around

  • The setting "will not DELETE local administrators". Accounts stay. Only group membership changes.
  • Removing a user from the local Administrators group "will not affect any existing Windows logon sessions". The change takes effect at sign-out or restart, so schedule a restart if you need it to apply immediately.
  • On Windows Agent 9.5 and lower, exclusion names are case-sensitive. Wrong casing causes removal.
  • Exclusions must be a plain username or group name. The "GROUP\USERNAME" format is not supported.
  • The first administrator on a Windows machine, Unix-style system users on Mac, the built-in Administrator account and the domain Administrator group are not removed.

Removal runs when policies are deployed, every 60 minutes (timed from when the service last started), and on Windows whenever a user is newly added to the group. That last behaviour matters for detection. An attacker adding a local account to Administrators (T1078.003 Local Accounts) is checked against the approved list and removed if not approved.

Because the built-in Administrator account is not removed, NHI Mgmt Group recommends managing its password separately with a local administrator password solution and disabling it where your build allows. The built-in account and any excluded service or support accounts are the non-human identities this control leaves behind, and they need an owner.

Handling approval requests at scale

Once endpoints are in Secured Mode, blocked executions become approval requests. ThreatLocker documents that a request is created when a file with the "Execute" action type is blocked, and that requests can also come from Elevation Control and Storage Control. Requests can be handled in the portal or through PortalAPI. The documented API flow is:

  1. Retrieve pending requests with ApprovalRequestGetByParameters, for the current organisation or including child and grandchild organisations.
  2. Check for matching Built-In applications with ApplicationGetMatchingList.
  3. Find custom applications to add the file to with ApplicationGetListForAddToApplication.
  4. Optionally choose a maintenance mode application with ApplicationGetForMaintenanceMode.
  5. Optionally review research on the application with ApplicationGetResearchDetailsById.
  6. Get the request details with ApprovalRequestGetPermitApplicationById.
  7. Approve with ApprovalRequestPermitApplication.

ThreatLocker's cautions on this flow are about over-permitting. A shared file can match unrelated applications, so "ensure that the file being permitted matches that of the application you believe the request originated from". Approving a Built-In application means "the entire Built-In application is permitted". Combining fields from different files "may return inaccurate matching applications". Every approval also needs a policy-level permission, such as "Approve for Entire Organization". For requests from a child organisation, the managedOrganizationId header must name the organisation that holds the request.

The API credential used for automated approvals is itself a high-value non-human identity. It can create permit policies across organisations. NHI Mgmt Group recommends scoping it to the narrowest approval level that works, keeping it in a secrets manager, rotating it, and logging every approval it makes for human review. Fully automatic approval of Built-In matches undoes the reason for running a default-deny control.

Common failure patterns

  • Learning Mode left as the onboarding method for everything. Group-level automatic learning on machines that are not clean turns whatever was running into policy.
  • Default Deny renamed. A policy renamed to "Deny All" silently stops Learning Mode working for that group.
  • Ringfences enforced on day one. Skipping the week in Monitor Only leads to business disruption, then rushed exclusions that are wider than needed.
  • Elevated applications not ringfenced. An elevated installer or utility that can launch PowerShell or Command Prompt is local admin by another name.
  • Whole programs elevated for updates. Elevating the main executable when only the updater needs rights.
  • Local admin removal assumed to be immediate. Existing sessions keep their rights until sign-out or restart.
  • Exclusion typos on older agents. Case mismatches on Windows Agent 9.5 and lower remove the very administrators you meant to keep.
  • Built-In applications approved on a weak match. A shared library permits an entire unrelated application.
  • Advanced maintenance modes open to everyone. Elevation Mode, Disable Tamper Protection and Disable ThreatLocker Detect available to every technician.

Practitioner checklist

  • Confirm every group's Default Deny policy is named "Default - (Group Name)".
  • Run Automatic System learning on new machines, then return to Secured Mode and end modes early when the task is done.
  • Prefer Application learning and Installation Legacy with named applications over group-level automatic learning.
  • Run every new ringfence in Monitor Only for about a week and build exclusions from the Unified Audit.
  • Ringfence every elevated application against PowerShell, Command Prompt, Run DLL, RegSVR32, RegEdit, CScript, PsExec and Scheduled Tasks as far as function allows.
  • Create separate elevation policies for update files, not whole programs.
  • Deploy Local Administrator Policies with a reviewed exclusion list, and schedule restarts so removal takes effect.
  • Restrict Elevation Mode, Disable Tamper Protection and Disable ThreatLocker Detect to named administrators, and review each use.
  • Scope, vault and rotate any PortalAPI credential used for approvals, and review automated approvals.
  • Check each Built-In match before approval, and prefer adding a file to a custom application when the match is uncertain.

Standards and references

Related NHI Mgmt Group resources: Application Allowlisting Guide · Endpoint Privilege Management Guide

PDF for subscribers

Take this guide with you

Every section, table and checklist in one PDF, with links to the sources and related guides. Subscribe to our weekly NHI & AI Identity Journal and we’ll email you a download link.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

PDF Downloads for Newsletter Subscribers

Get the guide

Enter your details and we’ll email you a download link.

The full guide is free to read online. The PDF is a thank you for subscribing.

Fill in all fields marked * and tick both boxes to continue.