Defender real-time protection off
HighW02Windows PCs and serversCheck that real-time protection is on and virus definitions are less than 7…
What is the risk
With real-time protection off, malicious downloads simply run. Attackers try to switch the antivirus off as soon as they get in.
Old definitions miss new malware.
How to check
Windows PowerShell (admin)
Get-MpComputerStatus | Select-Object AMServiceEnabled, RealTimeProtectionEnabled, AntivirusSignatureLastUpdated, IsTamperProtectedHow to fix
Windows PowerShell (admin)
Set-MpPreference -DisableRealtimeMonitoring $false
Update-MpSignatureIf you use another antivirus, Defender steps back (passive mode). Then check that the other product is on and up to date instead.
Windows settings
Windows Security > Virus & threat protection > Manage settings, then turn on Real-time protection and Tamper Protection. If a group policy turns it off, fix the policy first.
How to prevent it
- Turn on Tamper Protection so malware cannot change Defender settings.
- Run a full scan now and then: Start-MpScan -ScanType FullScan
Check again after fixing
Windows PowerShell (admin)
Get-MpComputerStatus | Select-Object RealTimeProtectionEnabled, AntivirusSignatureLastUpdatedIt should say True with a date within 7 days.
Run the downloaded check again and make sure this item passes.