- Run Windows PowerShell as administrator
- execute set-mppreference -DisableRealtimeMonitoring 1
Windows PowerShellCopyright (C) Microsoft Corporation. All rights reserved.PS C:\WINDOWS\system32> set-mppreference -DisableRealtimeMonitoring 1PS C:\WINDOWS\system32>In Windows registry it will create
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Defender\Real-Time Protection -> DisableRealtimeMonitoring REG_DWORD 1To disable permanently you can use regedit as steps below:
- Create key Real-Time Protection under HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender\
- Create Dword DisableRealtimeMonitoring 1 under HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender\Real-Time Protection\
Tested on Windows 10 Version 10.0.17134 Build 17134
References:
https://www.tenforums.com/tutorials/3569-turn-off-windows-defender-real-time-protection-windows-10-a.html