Last active
September 12, 2021 13:15
-
-
Save ffcommax/e7ef56519012fb8cc2b7a2629283f3ab to your computer and use it in GitHub Desktop.
Disable Defender
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Disable realtime monitoring altogether | |
| Set-MpPreference -DisableRealtimeMonitoring $true | |
| # Only disables scanning for downloaded files or attachments | |
| Set-MpPreference -DisableIOAVProtection $true | |
| Add-MpPreference -ExclusionPath "C:\Users\Public\Downloads\SuperLegitDownloadDirectory" | |
| "C:\Program Files\Windows Defender\MpCmdRun.exe" -RemoveDefinitions -All |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment