Uninstalling the ThreatLocker Agent

2 min. readlast update: 03.13.2026
**Uninstalling ThreatLocker is not a solution to issues and it can make them harder to diagnose. If you are experiencing issues, please contact the Cyber Heroes.**

Uninstalling ThreatLocker

You may uninstall the ThreatLocker Agent via the use of our Stub Installer.

For a successful uninstall of the ThreatLocker Agent:

  • Disable Tamper Protection (For instructions on how to disable Tamper Protection, please refer to our article, -- Disabling Tamper Protection
Note: ThreatLocker cannot be uninstalled or stopped while Tamper Protection is enabled.

After you have Disabled Tamper Protection, the computer status will show the following message:

  • Download the installer that best suits your operating system (x64 or x86):
  • Run Command Prompt as an administrator
  • Navigate to the file path where the Stub Installer is located (Changing Directory within CMD)
  • Run the following command:
    • ThreatLockerStubX64.exe uninstall

ThreatLocker will now uninstall

Note: If you are uninstalling ThreatLocker on an ARM device, use the ThreatLocker x64 Stub or MSI.

Uninstall Script

You may download a batch script to uninstall ThreatLocker.

Alternatively, you may download a PowerShell script.

Note: If you deployed with FedRAMP, you MUST manually change the URLs in the script to the following:

https://api.threatlockerfed.com/installers/threatlockerstubx64.exe

AND

https://api.threatlockerfed.com/installers/threatlockerstubx86.exe

Was this article helpful?