--- title: "Replacing a migrated policy" slug: "replacing-a-migrated-policy" updated: 2026-09-08T19:10:56Z published: 2026-09-08T19:10:56Z canonical: "docs.trellix.com/replacing-a-migrated-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. # Replacing a migrated policy **To create a custom policy to replace a migrated exclusion 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. ![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%3A52%3A29Z&se=2026-11-22T13%3A52%3A29Z&sr=c&sp=r&sig=F%2FvA%2BtGYmyNXfc5HDiAjOKq8CRSIFSNep9PA4kFqx3s%3D) 4. Enter a policy name in the **Name** field and a policy description in the **Description** field. 5. Click **CATEGORIES** to access a list of the policy categories. 6. Select the checkbox for the policy category that matches the migrated exception policy category. 7. Enter new values for the policy settings that match the migrated exception policy settings. 8. Enter the default values for all of the other policy settings. ### Important To maintain the agent configuration, the agent default policy values must be put into the newly created custom policy for all other policy settings. 9. Click **SAVE**. 10. Toggle the policy **ON/OFF** switch to **Enabled** the new custom policy. 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. :