Created
June 26, 2021 18:34
-
-
Save cutaway/596c4da7327ec3f0fdac7cbfd72a5026 to your computer and use it in GitHub Desktop.
Disable Windows Defender Powershell
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 Windows Defender | |
NOTE: These settings may be permeant. | |
• Get-MpComputerStatus | |
• Set-MpPreference -DisableRealtimeMonitoring $true | |
• Set-MpPreference -DisableBehaviorMonitoring $true | |
• Set-MpPreference -DisableIntrusionPreventionSystem $true | |
• Set-MpPreference -DisableIOAVProtection $true | |
• Set-MpPreference -DisableScriptScanning $true | |
• Get-MpComputerStatus | |
Enable Windows Defender | |
• Get-MpComputerStatus | |
• Set-MpPreference -DisableRealtimeMonitoring $false | |
• Set-MpPreference -DisableBehaviorMonitoring $false | |
• Set-MpPreference -DisableIntrusionPreventionSystem $false | |
• Set-MpPreference -DisableIOAVProtection $false | |
• Set-MpPreference -DisableScriptScanning $false | |
• Get-MpComputerStatus |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment