Enable Adware and PUA protection in Windows Defender

Microsoft has implemented a new security feature for Windows Defender. With a simple PowerShell command, you can turn on the ability to scan and remove adware and potentially unwanted apps. Follow the instructions in this tutorial to learn how it can be done.

You can enable scanning and elimination of adware, potentially unwanted apps or potentially unwanted software using Windows Defender. The method described below works in Windows 8, Windows 8.1 and Windows 10.

Enable Adware and PUA protection in Windows Defender

  1. Type PowerShell in the search box located in the taskbar.search-for-powershell
  2. Right click “Windows PowerShell” and select “Run as administrator”.powershell-run-as-administrator
  3. Type the command below and hit the Enter key to execute it:
    Set-MpPreference -PUAProtection 1


  4. Restart Windows.

After the reboot, Windows Defender PUA scanning will be activated. The application will check all files which were downloaded using a web browser and located the Downloads folder or in the temporary directory (%temp%).

If a malware or some potentially unwanted software will be detected, Windows Defender will show the following notification:

You can turn off this feature using the following command:

Set-MpPreference -PUAProtection 0

Execute it in PowerShell running as Administrator.

Looks like you've read the post to the end. If you enjoyed it, please share it. You would greatly help our blog to grow!

Author: The MFTNEXT Team

The MSFTNEXT project is a small team of authors who love to engage with the latest technology and gadgets. Being passionate Windows bloggers, we are happy to help others fix their system issues.

Leave a Reply

Your email address will not be published.