--- title: "Stopping containment using an unlock code" slug: "stopping-containment-using-an-unlock-code" tags: ["EDR with Forensics (EDRF)", "Endpoint Security"] updated: 2026-08-25T15:20:20Z published: 2026-08-26T19:31:36Z canonical: "docs.trellix.com/stopping-containment-using-an-unlock-code" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.trellix.com/llms.txt > Use this file to discover all available pages before exploring further. # Stopping containment using an unlock code If the containment unlock code feature is enabled, your system administrator can request the unlock code from the Endpoint Security (HX) Web UI Host Details page and provide the unlock code to the local user. The local user can run Trellix's uncontain executable with the unlock code at the Windows, macOS, or Linux command prompt to uncontain the host system. > [!WARNING] > Important > > The containment unlock code feature must be enabled in order for your system administrator to request the unlock code for a contained host using the Web UI.. **Prerequisites** - Administrator access - A host endpoint is contained and unable to communicate with the Endpoint Security (HX). See [Approving a containment request](/v1/docs/approve-a-containment-request). This section covers the following topics: - [Requesting a containment unlock code](/v1/docs/endpoint-detection-and-response-with-forensics-edrf-1) - [Using an unlock code to uncontain a Windows host](/v1/docs/using-an-unlock-code-to-uncontain-a-windows-host) - [Using an unlock code to uncontain a macOS host](/v1/docs/using-an-unlock-code-to-uncontain-a-macos-host) - [Using an unlock code to uncontain a Linux host](/v1/docs/using-an-unlock-code-to-uncontain-a-linux-host)