In this step-by-step guide, we will show how you can quickly disable the Defender app in Windows 10 operating system using Microsoft PowerShell.
Disable Windows Defender using PowerShell
Step 1: First of all, open PowerShell on your computer. For this, open the Start menu and search for “PowerShell” and from the search results, right-click on the app and click on “Run as administrator” option.
Step 2: Now, in the PowerShell window, enter the following command:
Set-MpPreference -DisableRealtimeMonitoring $true
Once you run the command, the Windows Defender Anti-Virus protections service will be disabled on your Windows 10 computer.
However, if you want to enable the service on your device, open PowerShell on your computer and then enter the following command:
Set-MpPreference -DisableRealtimeMonitoring $false
There are several other advanced usages of PowerShell and managing your Windows 10 computer. We will be covering a few more guides on the usage of PowerShell to customization your system and make it better suitable to your needs.