--- title: "Enabling and Disabling MalwareGuard" slug: "enabling-and-disabling-malwareguard-1" updated: 2026-09-08T19:19:55Z published: 2026-09-08T19:19:55Z canonical: "docs.trellix.com/enabling-and-disabling-malwareguard-1" --- > ## 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 and Disabling MalwareGuard [Skip to main content](/docs/enabling-and-disabling-malwareguard-1#content-wrapper) You can enable and disable MalwareGuard for all of your host sets using the xAgent default policy or specific host sets in your environment using a custom policy. Endpoint Security (HX) xAgent can run the MalwareGuard Engine independently of the Malware Protection Engine. When MalwareGuard only is turned on, any action on the Endpoint gets Malware scanning without depending on Anti-Virus protection. If both the MalwareGuard Engine and Malware Protection Engine are turned on, the Malware Protection Engine runs first. This section covers how to use the Web UI to enable and disable MalwareGuard. See the *Endpoint Security (HX) REST API Guide* for information on using the API to manage your malware protection policies. - [Enabling Malware Detection](/docs/enabling-and-disabling-malware-detection-1) - [Enabling MalwareGuard for All Host Endpoints](/docs/enabling-and-disabling-malwareguard-1#UUID-278ff790-139b-6f73-4480-87497e9b414d) - [Disabling Malware Detection](/docs/enabling-and-disabling-malware-detection-1) - [Disabling MalwareGuard for All Host Sets](/docs/enabling-and-disabling-malwareguard-1#UUID-8c0ee297-c7f7-7d0c-e980-b0262b1d8813) ##### Enabling MalwareGuard for all host endpoints ### Note MalwareGuard is supported in Trellix Endpoint Security (HX) xAgent version 27 or later only. By default, MalwareGuard is disabled for all host endpoints. To enable MalwareGuard 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. In the Policies table, click the **Agent Default Policy** link to access the **Edit Policy** page. 4. Select the **Malware Protection** tab. 5. In the Malware Detection section, toggle that the **MalwareGuard Detection** ON/OFF switch to **ON**. ![Policy_MalProtect_Enable.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-0da5a4fa-9096-083d-489f-d95534a21907(2).png?sv=2026-02-06&spr=https&st=2026-11-22T13%3A13%3A13Z&se=2026-11-22T14%3A13%3A13Z&sr=c&sp=r&sig=1vc4bnuv%2B0upQxULZPEXEKvzCsw6jj%2Fu3e%2FhbvpHBO4%3D) 6. Click **Save**. ##### Enabling MalwareGuard for Selected Host Sets To enable MalwareGuard for selected host sets: ### Note [See Creating a Custom Policy](/docs/creating-a-custom-policy-1) 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. In the Policies table, click the link for the custom policy you want to modify 4. Select the **Malware Protection** tab. 5. In the Malware Detection section, toggle that the **MalwareGuard Detection** ON/OFF switch to **ON**. ![Policy_MalProtect_Enable.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-0da5a4fa-9096-083d-489f-d95534a21907(2).png?sv=2026-02-06&spr=https&st=2026-11-22T13%3A13%3A13Z&se=2026-11-22T14%3A13%3A13Z&sr=c&sp=r&sig=1vc4bnuv%2B0upQxULZPEXEKvzCsw6jj%2Fu3e%2FhbvpHBO4%3D) 6. Click **Save**. 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-1) and [Configuring Policy Priority Using the Web UI](/docs/policy-prioritization-1) for more information. ##### Disabling MalwareGuard for All Host Endpoints To disable MalwareGuard 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. In the Policies table, click the **Agent Default Policy** link to go to the **Edit Policy** page. 4. Select the **Malware Protection** tab. 5. In the Malware Detection section, toggle the **MalwareGuard** ON/OFF switch to **OFF**. ![Policy_MalProtect_MalGuard_Disable.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-449d815a-f148-9fd9-25f2-7aae25072e3d(2).png?sv=2026-02-06&spr=https&st=2026-11-22T13%3A13%3A13Z&se=2026-11-22T14%3A13%3A13Z&sr=c&sp=r&sig=1vc4bnuv%2B0upQxULZPEXEKvzCsw6jj%2Fu3e%2FhbvpHBO4%3D) 6. Click **Save**. ##### Disabling MalwareGuard for Selected Host Sets To disable MalwareGuard for selected host sets. ### Note When you disable a setting in a custom policy, the setting is disabled for all host sets assigned to the policy. If you want select host sets to keep the original setting, you must create a new custom policy with the setting enabled and assign it to the selected host sets. [See Creating a Custom Policy](/docs/creating-a-custom-policy-1) 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. In the Policies table, click the link for the custom policy you want to modify. 4. Select the **Malware Protection** tab. 5. In the Malware Detection section, toggle the **MalwareGuard** ON/OFF switch to **OFF**. ![Policy_MalProtect_MalGuard_Disable.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-449d815a-f148-9fd9-25f2-7aae25072e3d(2).png?sv=2026-02-06&spr=https&st=2026-11-22T13%3A13%3A13Z&se=2026-11-22T14%3A13%3A13Z&sr=c&sp=r&sig=1vc4bnuv%2B0upQxULZPEXEKvzCsw6jj%2Fu3e%2FhbvpHBO4%3D) 6. Click **Save**. :