Disable Windows Defender
Disable Windows Defender
to Safe Mode.
1. Run msconfig;
2. Go to the Boot tab;
3. Select Safe boot -> Minimal in the boot options section;
to 4.
Change the Start value for all services specified above manually or using the following
PowerShell script:
$regpath='HKLM:\SYSTEM\CurrentControlSet\Services'
Set-ItemProperty -Path ($regpath+"\WinDefend") -Name Start -Value 4
Set-ItemProperty -Path ($regpath+"\Sense") -Name Start -Value 4
Set-ItemProperty -Path ($regpath+"\WdFilter") -Name Start -Value 4
Set-ItemProperty -Path ($regpath+"\WdNisDrv") -Name Start -Value 4
Set-ItemProperty -Path ($regpath+"\WdNisSvc”) -Name Start -Value 4
Set-ItemProperty -Path ($regpath+"\WdBoot") -Name Start -Value 4
To re-enable Microsoft Defender in Windows, set the following default values of the Start
registry entry for services:
o Sense — 3
o WdBoot — 0
o WdFilter — 0
o WdNisDrv — 3
o WdNisSvc — 3
o WinDefend — 2
7. Run msconfig and disable the Safe Mode. Then restart your computer and boot as usual;
8. Disable the following four tasks in Task Scheduler (taskschd.msc): Microsoft –> Windows –
now.
So we have looked at how to disable Microsoft Defender Antivirus on Windows 10 and 11