How to Turn off Windows Defender From Command Line || Powershell ||

SimpleSmartech – Hello Readers Today, I will show You that How to Turn off Windows Defender/Antivirus From Powershell or Command-Line || CMD.

Disclaimer: If you put any wrong command and its result may anything then this will not responsible for this website. Do it at your own risk!

Follow Steps : 

  • Open “Windows Security”.
  • Click “Virus & Threat Protection”
  • Then Click on “Manage Settings”
  • Make Sure Tamper Protection is turned off
  • Then You will able to turn real-time protection off

For Turning Real-Time Protection On : 

  • Open Search Box of Windows (Commonly It is on Taskbar)
  • Search For “PowerShell”
  • Right Click on “PowerShell” then Click on “Run as administrative”
  • It will open Powershell with admin privileges
  • Enter Command:
  • Set-MpPreference -DisableRealtimeMonitoring $true

For Turning Real-Time Protection off : 

  • Open Search Box of Windows (Commonly It is on Taskbar)
  • Search For “PowerShell”
  • Right Click on “PowerShell” then Click on “Run as administrative”
  • It will open Powershell with admin privileges
  • Enter Command:
  • Set-MpPreference -DisableRealtimeMonitoring $false

Need Help!

Cheers! 🙂

3 thoughts on “How to Turn off Windows Defender From Command Line || Powershell ||”

Leave a Comment

Your email address will not be published.