Offline One-Time Elevation Codes Settings Advanced Setting

4 min. readlast update: 11.12.2026

Offline One-Time Elevation Codes Settings

Offline One-Time Elevation Codes Settings allows administrators to enable one-time elevation codes that can be used even if a computer is offline. The messages, labels, and justification requirements presented to end users is fully customizable and can be configured in the same Advanced Setting.

Important: Requires Windows Agent 11.1.1 or greater or macOS Agent 11.3.1 or greater.

 

This is a challenge response setting, requiring the end user to contact an admin that has access to the ThreatLocker portal.

Create the setting for macOS

  • In the ThreatLocker Portal, navigate to 'Advanced Settings' and click the 'New Setting' button.
  • Under  'Setting Type', select 'One-Time Code Elevation (macOS).
  • Under 'Applies To', select the scope for the setting (Entire organization, an individual computer, or a computer group).
  • Under 'Order By', select 'Add Settings to Top' or 'Add Settings to Bottom' to position the setting in the list.
  • Configure the parameters described below.
  • Select 'Create'.

Configure the parameters

Use the 'One-Time Elevation Codes Enabled' toggle switch to turn the feature on or off. Turn the switch on to allow users to use one-time codes for offline elevation, or turn it off to disable this feature.

Customize messages and labels

Use the following fields to customize the text presented during the elevation one time code process.

  1. Call Helpdesk Message- Instructs the user to provide the endpoint code to their helpdesk to obtain an offline elevation password.
  2. Submit Button Text- Sets the text displayed on the submit button.
  3. Incorrect Password Message- Sets the message displayed when the user enters an incorrect password.
  4. No Codes Available Message- Sets the message displayed when the device has no offline elevation codes available.
  5. Password Not Verified Message- Sets the message displayed when offline elevation cannot be verified.
  6. One-Time Elevation Label- Customizes the label for one-time elevation.
  7. Endpoint Code Label- Customizes the label identifying the endpoint code.
  8. Elevation Password Label- Customizes the label identifying the elevation password.
  9. Number of Retries- Configures the retry limit for offline elevation password entry.

Configure justification requirements

  1. Make including a justification mandatory- Enabling this will require users to provide a justification when requesting offline elevation.
  2. Customize "Justification" Label- Sets the label for the justification field.
  3. Customize "Please provide a justification for running this application as an administrator"- Sets the prompt asking the user to explain why elevation is needed.

After configuring the parameters, click on the 'Create' button to save the setting.

Once created, the new setting will appear on your 'Advanced Settings' page. After making each Advanced Setting, select the 'Update Agents' button to update the ThreatLocker agents and push this new setting to them.

Note: Selecting the 'Update Agents' button will deploy your Advanced Settings immediately. However, the ThreatLocker Agent will pull down the Advanced Settings every 24 hours, automatically.

Requesting a one-time elevation code

  1. End user attempts to run an application as an administrator.
    The ThreatLocker Elevation prompt appears.

  2. Select One-Time Code.
    Click One-Time Code to display the code exchange screen.

  3. Provide the verification PIN to your administrator.
    Share the eight-digit PIN displayed under Provide this code to your administrator.

Validating the PIN and providing a code

  1. A ThreatLocker admin needs to open One-Time Elevation in the ThreatLocker portal.
    The administrator clicks Elevation PIN in the portal header to open the One-Time Elevation window.

  2. Validate the user's PIN.
    Enter the PIN in the 8-digit Verification PIN field and click Validate.

  3. Provide the generated code to the user.
    After successful validation, the window displays Success, the computer details, and a code under Pass this code to the end user. Review the computer details and share the generated code with the user.

Completing the elevation

  1. End user will enter the administrator-provided code.
    On the local computer, enter the code in the Enter the code from your administrator field.

  2. Enter a justification.
    In the Justification field, provide a reason for running the application as an administrator.

  3. Click Submit.
    Once the code and justification are entered, click Submit to run the application with administrator privileges.

Was this article helpful?