--- title: "Turning containment on and off" slug: "turning-containment-on-and-off" tags: ["EDR with Forensics (EDRF)", "Endpoint Security"] updated: 2026-08-25T15:18:56Z published: 2026-08-26T19:31:36Z canonical: "docs.trellix.com/turning-containment-on-and-off" --- > ## 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. # Turning containment on and off The containment feature can be a powerful weapon in your enterprise’s security arsenal. You can turn the Endpoint Security (HX) containment feature on and off using the Endpoint Security (HX) Web UI or the CLI. By default, the containment feature is turned on. > [!NOTE] > Note > > You cannot turn containment on or off when containment is disabled (DISABLED appears in the Web UI). You must first enable containment using the CLI. See [Blocking and unblocking access to containment](/v1/docs/blocking-and-unblocking-access-to-containment). This section describes: - [Turning containment on using the Web UI](/v1/docs/turning-containment-on-using-the-web-ui) - [Turning containment on using the CLI](/v1/docs/turning-containment-on-using-the-cli) - [Turning containment off using the Web UI](/v1/docs/turning-containment-off-using-the-web-ui) - [Turning containment off using the CLI](/v1/docs/turning-containment-off-using-the-cli) **Prerequisites** - Admin access