Windows Defender has made great steps into improving the protection for Windows 10 users, however there is a setting which if it's enabled will detect and block browser hijackers, adware and potentially unwanted programs.

While Microsoft announced the new PUP blocking feature as only available for the Enterprise edition of Windows 10, Home and Pro editions can also enable it on their Windows 10 PCs to block unwanted programs.

To enable Windows Defender’s PUP protection follow these steps:

  1. Right-click on the Start
    button in the lower-left corner and select “Windows PowerShell (Admin)”. This will open an elevated PowerShell.


    You may be presented with an User Account Control pop-up asking if you want to allow Windows PowerShell to make changes to your device. If this happens, you should click on “Yes”.

  2. In the PowerShell copy and paste (or type) the following command, and then press Enter:

    Set-MpPreference -PUAProtection 1
  3. Restart the PC.

    That's it. Window Defender will now detect and block potentially unwanted programs. If you ever want to disable it, just run the above command again, replacing the “1” with a “0”.

How to check if PUP Detection is enabled
If you want to check if the PUP detection is enable on a PC run the following two commands at a PowerShell prompt.

$Preferences = Get-MpPreference


If you see:
“1" - The detection of PUP's is enabled.
"0 - The detection of PUP's is disabled.

Here is how a typical notification will look when an unwanted program is blocked due to this setting:
malicious app.jpg
Posted by
Posted on
Last update