Windows Defender hidden command for adware block

Windows 10 (Windows Defender) antivirus software seems to allow adware. Not for everyone:

A hidden setting intended for organizations and companies can enhance it of Windows Defender, blocking adware, or PUPs from potentially unwanted programs or as you otherwise want to name the particular garbage.Windows Defender

Adware software is usually contained in free software installers. It's technically not malware, but it often shows ads, tracks your browsing, and slows down your computer.

Malwarebytes also has a setting that blocks these “potentially unwanted programs.” But let's go to Windows Defender. THE Microsoft may block these but it doesn't by default.

Below we will see how to enable this setting with a PowerShell command (with administrator rights).

In search, type powershell and right-click on the icon to run as an administrator. Alternatively, press the two Windows + X keys together and go to "Windows PowerShell (Admin)."

Copy - paste the following command and press Enter:

Set-MpPreference -PUAProtection 1

Blocking for any crapware is now enabled. If you want to turn it off in the future, run the same command, replacing "1" with "0".

How to Check if Crapware Blocking is On

To check if blocking is enabled, you can run the two below in the PowerShell context.

Copy and paste the commands separately.

$ Preferences = Get-MpPreference
$ Preferences.PUAProtection

If you see "1" as a result, the block is activated. If you see "0", it is off.

_____________________________

iGuRu.gr The Best Technology Site in Greecefgns

every publication, directly to your inbox

Join the 2.087 registrants.

Written by giorgos

George still wonders what he's doing here ...

Leave a reply

Your email address is not published. Required fields are mentioned with *

Your message will not be published if:
1. Contains insulting, defamatory, racist, offensive or inappropriate comments.
2. Causes harm to minors.
3. It interferes with the privacy and individual and social rights of other users.
4. Advertises products or services or websites.
5. Contains personal information (address, phone, etc.).