Windows Defender: how to turn ON PUA protection (Powershell)
#2
(29 December 18, 18:49)JM Security Wrote: Hi guys, WD is improved very much in newer releases. But how can we enable PUA? Simply open Powershell and type this:

Set-MpPreference -PUAProtection 1
To disable it just type:
Set-MpPreference -PUAProtection 0

I have some questions.
  1. - Previously Powershell was needed run in elevated mode, has it changed now?
  2. - Previously, was  also possible to use the so-called "audit mode", is this mode no longer available?

1. Open an elevated PowerShell.
2. Enter the command below you want to use into the elevated PowerShell, and press Enter.

(Disable Windows Defender PUA protection - Default settings)
 Set-MpPreference -PUAProtection 0
or
 Set-MpPreference -PUAProtection Disabled

OR

(Enable Windows Defender PUA protection)
 Set-MpPreference -PUAProtection 1
or
 Set-MpPreference -PUAProtection Enabled

OR

(Audit Mode - will detect PUAs, but will not block them)
 Set-MpPreference -PUAProtection 2
or
 Set-MpPreference -PUAProtection AuditMode
[-] The following 1 user says Thank You to Lano for this post:
  • harlan4096
Reply


Messages In This Thread
RE: Windows Defender: how to turn ON PUA protection (Powershell) - by Lano - 29 December 18, 20:25

Forum Jump:


Users browsing this thread: 1 Guest(s)
[-]
Welcome
You have to register before you can post on our site.

Username/Email:


Password:





[-]
Recent Posts
Free 4 months Adobe Express subscription
Free 4 months Ado...hanso — 12:27
QOwnNotes
26.2.8  Added a s...Kool — 10:17
11 Little-Known AI Tools That Feel Like ...
11 Little-Known AI T...hanso — 09:30
K-Lite Codec Pack 19.5.0 / 19.5.2 Update
Changes in 19.5.0:...harlan4096 — 08:55
Emsisoft Anti-Malware 2026.1.0.12700
Changes in 2025.9....harlan4096 — 08:52

[-]
Birthdays
Today's Birthdays
avatar (38)Michaelaburi
avatar (46)dpascoal
Upcoming Birthdays
avatar (46)dimaWeami
avatar (44)Baihu

[-]
Online Staff
There are no staff members currently online.

>