In this article, I will show you the steps to configure PUA protection using group policy. We will enable the policy Configure detection for potentially unwanted applications.

You can enable or disable detection for potentially unwanted applications on your Windows Operating System. You can choose to block, audit, or allow when potentially unwanted software is being downloaded or attempts to install itself on your computer.

PUA protection provides you protection against the applications that are not safe for your computer. Examples of Potentially unwanted apps include Advertising software products, Evasion software, Bundling software.

Install and Update Third Party Applications with Patch My PC
Install and Update Third Party Applications with Patch My PC

Allowing these unwanted apps to run on your computers leads to issues such as slowing down your PC and ads pop up while browsing. Hence, it is important to block potentially unwanted apps.

The PUA protection is supported on Windows 10, Windows Server 2019, Windows Server 2016 and Windows Server 2022. There are different methods to enable or configure PUA protection.

Configure PUA Protection using Group Policy

Let’s look at the steps to configure PUA protection using group policy. Launch the group policy management console (GPMC). You can either create a new GPO or edit an existing one. I recommend creating a GPO and applying it to an OU instead of entire domain.

Right-click your domain and select Create a GPO in this domain and link it here.

Configure PUA Protection using Group Policy
Configure PUA Protection using Group Policy

Specify the policy name as Configure PUA Protection and click OK.

Configure PUA Protection using Group Policy
Configure PUA Protection using Group Policy

In the Group Policy Management Editor, go to Computer configuration > Administrative templates. Expand the tree to Windows Components > Windows Defender Antivirus. Right click Configure detection for potentially unwanted applications and select Edit.

Configure PUA Protection using Group Policy
Configure PUA Protection using Group Policy

By default, this policy is set to Disabled. To enable the PUA protection, select Enabled. Under the options, you must select the mode.

  • Block: Potentially unwanted software will be blocked.
  • Audit Mode: Detect potentially unwanted applications without blocking them.
  • Disabled: Potentially unwanted software will not be blocked.

Which mode should you select?. I recommend selecting the Audit mode and test how the setting works in your environment. The audit mode detects the potentially unwanted applications without blocking them.

Configure PUA Protection using Group Policy
Configure PUA Protection using Group Policy

Finally, let’s check the PUAProtection value using PowerShell and check if the group policy has been deployed successfully. You can use the following PowerShell command to check the PUAProtection value.

Get-Mppreference | select PUAProtection

The PUAProtection value 2 indicates that PUA Protection is enabled with Audit mode.

Check PUAProtection Value
Check PUAProtection Value

Still Need Help?

If you need further assistance on the above article or want to discuss other technical issues, check out some of these options.

Prajwal Desai

Prajwal Desai is a technology expert and 10 time Dual Microsoft MVP (Most Valuable Professional) with a focus on Microsoft Intune, SCCM, Windows 365, Enterprise Mobility, and Windows. He is a renowned author, speaker, & community leader, known for sharing his expertise & knowledge through his blog, YouTube, conferences, webinars etc.