(PowerShell) Disabling Antivirus by Unprotect
Created the Friday 24 February 2023. Updated 3 days, 12 hours ago.
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