-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMicrosoftDefender
More file actions
75 lines (30 loc) · 1.92 KB
/
Copy pathMicrosoftDefender
File metadata and controls
75 lines (30 loc) · 1.92 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
(Shows the current status of Microsoft Defender)
Get-MpComputerStatus
(Enables real-time protection - Realtime Protection)
Set-MpPreference -DisableRealtimeMonitoring $false
(Enables behavior monitoring of programs (Behavior Monitoring), i.e., detection of suspicious application activity)
Set-MpPreference -DisableBehaviorMonitoring $false
(Enables scanning of downloaded files and attachments - IOAV Protection)
Set-MpPreference -DisableIOAVProtection $false
(Enables script scanning)
Set-MpPreference -DisableScriptScanning $false
(Enables extended reporting to Microsoft MAPS (Microsoft Active Protection Service), i.e., sending more threat data to Microsoft)
Set-MpPreference -MAPSReporting Advanced
(Allows automatically sending safe samples of suspicious files to Microsoft for analysis)
Set-MpPreference -SubmitSamplesConsent SendSafeSamples
(Enables protection against: potentially unwanted applications)
Set-MpPreference -PUAProtection Enabled
(Downloads the latest virus definitions for Defender)
Update-MpSignature
(Shows the current configuration of Defender and all its settings)
Get-MpPreference
(Enables Controlled Folder Access in audit mode.
Set-MpPreference -EnableControlledFolderAccess AuditMode
(Enables controlled folder access normally. Protects important folders, such as Documents, Desktop, and Pictures, from unauthorized changes, e.g., by ransomware.)
Set-MpPreference -EnableControlledFolderAccess Enabled
(Enables Defender's network protection. Helps block connections to suspicious or malicious addresses)
Set-MpPreference -EnableNetworkProtection Enabled
(Adds the specified application to Controlled Folder Access exceptions. That is, this application will be allowed to write to protected folders)
Add-MpPreference -ControlledFolderAccessAllowedApplications "C:\Program Files\yourapp\app.exe"
(Shows current Microsoft Defender settings, to verify that changes were saved)
Get-MpPreference