--- title: "Enabling the Removal Protection Policy" slug: "enabling-the-removal-protection-policy" updated: 2026-09-08T19:11:41Z published: 2026-09-08T19:11:41Z canonical: "docs.trellix.com/enabling-the-removal-protection-policy" --- > ## 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. # Enabling the Removal Protection Policy You can enable the Removal Protection feature for all host sets by modifying the agent default policy. You can also enable the Removal Protection feature for select host sets by creating a custom policy. Modify or create a new Removal Protection Policy for your host sets using the Web UI. **To enable the Removal Protection feature for all host endpoints:** 1. Log in to the Web UI as an administrator. 2. From the **Admin** menu, select **Policies** to access the **Policies** page. 3. From the Policies table, click the **Agent Default Policy** link to go to the **Edit Policy** page. 4. Select the **Removal Protection** tab. ![Policy_RemovalProtection_Tab.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-37cca3ca-4f5c-fc82-eb09-6d30c501817f(1).png?sv=2026-02-06&spr=https&st=2026-11-22T12%3A52%3A40Z&se=2026-11-22T13%3A52%3A40Z&sr=c&sp=r&sig=RHF13plyVSU2Qc%2FUOyTJk2nkqEN2kgJK038GM1c4HQc%3D) 5. Toggle the Removal Protection **ON/OFF** switch to **ON** to enable the agent uninstall password. 6. Enter your uninstall password in the Password field. ### Note Your Removal Protection password must have a minimum of 6 alphanumeric characters. 7. Click **Save** to save the policy settings. **To enable the Removal Protection feature for selected host sets:** ### Note [See Creating a Custom Policy](/docs/creating-a-custom-policy) for more information about using the Web UI to create a custom policy. 1. Log in to the Web UI as an administrator. 2. From the **Admin** menu, select **Policies** to access the **Policies** page. 3. From the Policies table, click link for the custom policy you want to modify. 4. Click the **Removal Protection** tab. ![Policy_RemovalProtection_Tab.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-37cca3ca-4f5c-fc82-eb09-6d30c501817f(1).png?sv=2026-02-06&spr=https&st=2026-11-22T12%3A52%3A40Z&se=2026-11-22T13%3A52%3A40Z&sr=c&sp=r&sig=RHF13plyVSU2Qc%2FUOyTJk2nkqEN2kgJK038GM1c4HQc%3D) 5. Toggle the Removal Protection **ON/OFF** switch to **ON** to enable the agent uninstall password. 6. Enter your uninstall password in the Password field. ### Note Your Removal Protection password must have a minimum of 6 alphanumeric characters. 7. Click **Save** to save the policy settings. Now you can assign host sets to the custom policy and set the policy priority level. See [Assigning Host Sets to Agent Policies](/docs/assigning-host-sets-to-xagent-policies) and [Configuring Policy Priority Using the Web UI](/docs/configuring-policy-priority-using-the-web-ui) for more information. :