--- title: "Using an unlock code to uncontain a Windows host" slug: "using-an-unlock-code-to-uncontain-a-windows-host" tags: ["EDR with Forensics (EDRF)", "Endpoint Security"] updated: 2026-08-26T19:31:16Z published: 2026-08-26T19:31:16Z canonical: "docs.trellix.com/using-an-unlock-code-to-uncontain-a-windows-host" --- > ## 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. # Using an unlock code to uncontain a Windows host This section describes how to use the unlock code to uncontain your Windows host. **To use an unlock code to remove a Windows host from containment:** 1. Log in to the contained Windows host. 2. Open Command line prompt and use the `cd` command to change to the `C:\Windows\Trellix\XClient\uncontain.exe` directory: `cd C:\Windows\Trellix\XClient\uncontain.exe` 3. Run the `uncontain` executable file with the unlock code: `uncontain.exe <unlock code>`