--- title: "Excluding host sets from the removal protection policy" slug: "excluding-host-sets-from-the-removal-protection-policy" updated: 2026-09-08T19:11:41Z published: 2026-09-08T19:11:41Z canonical: "docs.trellix.com/excluding-host-sets-from-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. # Excluding host sets from the removal protection policy By default, removal protection is turned off (disabled) for all of your host endpoints. If you enable this feature for all of your host endpoints by modifying the xAgent but want to disable it for one or more host sets, you can create a custom exclusion policy using the Web UI or the API. A custom exclusion policy will exclude assigned host sets from your default removal protection policy. This section covers how to use the Web UI to create a custom policy that excludes host sets from removal protection. See the Endpoint Security (HX) REST API Guide for information on using the API to manage your removal protection policies. To exclude selected host sets from the removal protection policy: 1. Log in to the Web UI as an administrator. 2. From the Admin menu, select **Policies** to access the **Policies** page. 3. Click **Create Custom Policy** to go to the **Create Policy** page. 4. Enter a policy name in the **Name** field and a policy description in the **Description** field. ![UI_Policy_Custom_Create.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-35a81285-e199-f60d-b629-c2ac6e227202(1).png?sv=2026-02-06&spr=https&st=2026-11-22T12%3A53%3A07Z&se=2026-11-22T13%3A53%3A07Z&sr=c&sp=r&sig=fG4mP70s0b1OgApj5uOHQmu7JfDuP%2BFFD9oc3yYUAB0%3D) 5. Click **Categories** to access a list of the policy categories. ![UI_Policy_Category_Select.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-cae500e1-cdb4-6a19-4f3c-7497f98e00c2(1).png?sv=2026-02-06&spr=https&st=2026-11-22T12%3A53%3A07Z&se=2026-11-22T13%3A53%3A07Z&sr=c&sp=r&sig=fG4mP70s0b1OgApj5uOHQmu7JfDuP%2BFFD9oc3yYUAB0%3D) 6. Select the **Removal Protection** checkbox and click **Apply**. 7. Toggle the **Removal Protection** switch **OFF** to completely disable this feature. ![Policy_RemovalProtection_Exclude.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-869e9b05-06f3-a15a-a72e-614acc6b98c9(1).png?sv=2026-02-06&spr=https&st=2026-11-22T12%3A53%3A07Z&se=2026-11-22T13%3A53%3A07Z&sr=c&sp=r&sig=fG4mP70s0b1OgApj5uOHQmu7JfDuP%2BFFD9oc3yYUAB0%3D) 8. Click **Save**. After you create a custom policy that disables removal protection, you can use the steps outlined in [Assigning Host Sets to Agent Policies](/docs/assigning-host-sets-to-xagent-policies) to assign specific host sets to your custom policy. This will disable removal protection for all of the selected host sets. :