Search engines always favor fast websites. That's because they want to show quality to the…
Turn off Windows Defender in Windows 11 permanently
How to turn off Windows Defender in Windows 11 permanently? Sometimes you want to disable Windows Defender for testing purposes. If you have an Antivirus application running, Windows Defender will be automatically disabled. That’s because your Antivirus software will take over the security from now on. This article will teach you how to turn off Windows Defender in Windows 11 temporarily and permanently.
Table of contents
- Windows Defender unable to stop service
- Check status Windows Defender in Windows Security
- Disable Windows Defender in Windows 11 temporarily
- How to turn off Windows Defender in Windows 11 permanently
- Step 1. Download Autoruns for Windows
- Step 2. Turn off Real-time protection
- Step 3. Boot into safe mode
- Step 4. Check Windows Security in safe mode
- Step 5. Start Autoruns for Windows
- Step 6. Enable Windows Services in Autoruns
- Step 7. Uncheck Windows Defender Antivirus Service
- Step 8. Boot into normal startup
- Verify that Windows Defender is kept turned off after Windows 11 restart
- Revert the changes
- Conclusion
Windows Defender unable to stop service
Start Task Manager on Windows 11. Find the Windows Defender service that is running. Search for the task name Antimalware Service Executable and the service Windows Defender Antivirus Service.
Right-click the Windows Defender Antivirus Service and click Stop.
An error will show up that the operation could not be completed. Access is denied. It’s unable to stop the service.
Start the application Services and right-click on Microsoft Windows Defender Antivirus Service. You can see that the following options are greyed out:
- Start
- Stop
- Pause
- Resume
- Restart
Check status Windows Defender in Windows Security
Open the Windows Start menu. Type Windows Security.
Click on Virus & threat protection.
Windows Defender is enabled.
If you install a third-party security product, you will see the following screen.
Windows Defender will automatically disable and not run if periodic scanning is turned off (which is the default when you install a third-party security product). However, when turning on periodic scanning, Windows Defender will run simultaneously with the third-party security product.
Disable Windows Defender in Windows 11 temporarily
In Windows Security, click on Virus & threat protection.
Click on Manage Settings.
Click the toggle button under Real-time protection to turn off Windows Defender Antivirus.
Doing that, you can see that:
- The service is still running in the background
- A reboot will automatically enable Windows Defender
How can you disable Windows Defender service completely and keep it disabled after a reboot? Find out in the next step.
How to turn off Windows Defender in Windows 11 permanently
Step 1. Download Autoruns for Windows
Download Autoruns for Windows. Extract the zip file. You don’t need to do anything yet. You need Autoruns at a later stage.
Step 2. Turn off Real-time protection
As shown in the previous step, make sure that Real-time protection is Off.
Important: Turn off Real-time protection.
Step 3. Boot into safe mode
Click on Windows Start and search for msconfig. Run System Configuration as administrator.
You can also start the program Run. Type msconfig and click on OK.
Select the tab Boot. In the section Boot options, enable Safe boot. Click on OK.
Click on Restart.
Step 4. Check Windows Security in safe mode
Start Windows Security and ensure that it’s not loading anything.
Step 5. Start Autoruns for Windows
In the previous step, you already did download and extract Autoruns for Windows. Browse to the Autoruns folder and start the executable Autoruns64.exe.
Step 6. Enable Windows Services in Autoruns
Go to the tab Services. It will not show many services. That’s because Windows services are not showing by default.
Click in the menu bar on Options. Uncheck Hide Windows Entries. It will show the Windows services in the list view.
Step 7. Uncheck Windows Defender Antivirus Service
Search for WinDefend and uncheck the checkbox. Unchecking will prevent the Windows Defender automatic startup after every reboot.
Step 8. Boot into normal startup
Start the application msconfig.
Select the Normal startup. Click on OK.
Click on Restart.
Verify that Windows Defender is kept turned off after Windows 11 restart
After a restart, start Task Manager. There is no more Windows Defender service running.
Start Windows Security and have a look at Virus & threat protection. You will see that there is a spinning icon, or the status is showing as unknown. That’s because it’s fetching the information.
Important: Do not click on the Virus & threat protection tile while it’s fetching information or the status is unknown. If you do that, it will enable Windows Defender. Keep waiting till you see it’s disabled.
Give it a couple of minutes. After that, you will see that Virus & threat protection is disabled.
Note: The first attempt might not work, and you have to do the steps a second time before it will turn off Windows Defender permanently.
Microsoft releases a big Windows 11 OS update once a year. After it’s installed and the Windows 11 OS is up to date with the new version, it sometimes triggers the Windows Defender service settings and starts automatically again. This means you must go through the steps to ensure that Windows Defender doesn’t start.
Revert the changes
Suppose you like to revert the changes. Then, click on the Restart Now button in Windows Security. Another way is to boot into safe mode, start Autoruns, and check the WinDefend service.
Keep on reading: Configure Microsoft Entra Password Protection for on-premises »
Conclusion
You learned how to turn off Windows Defender in Windows 11 permanently. Make sure to follow the exact steps as shown in the article. After doing that, Windows Defender will be kept turned off.
Did you enjoy this article? You may also like Uninstall Windows Defender on Windows Server. Don’t forget to follow us and share this article.
Hopefully, this is still fairly active here and I can get some help. Otherwise, I keep digging. But I have followed all the steps with this and using AutoRun on Windows 11 Pro. There were two locations where SecurityHealthService was listed. Under Services, it tells me “Failed to disable ‘SecurityHealthService’. I’ve tried in Safe mode and not on safe mode. Everything else would let me do what was instructed.
Now when I go to check to see if its all still active; Under Windows Security it shows Virus & Threat Protection disabled. But Account Protection, Firewall & network protection, App & browser control, Device security are all see green.
When I go into Security at a glance, I show the same results. It’s not blank or empty.
Under manage providers it shows Anti-virus: “Microsoft Defender Antivirus is snoozed.” Firewall & Web protection both show “no providers.”
How can I completely cut off these services so I can run some of the programs I need? Thank you.
Is this also turn off all of the other Windows security stuff permanently?
I really want that thing 100% off, not just the Anti Virus section, but Everything that comes with it.
this is the first post that actually worked. the first post that shows how to disable the service and autorun app. whatever other articles about this disable defender haven’t worked in windows 11 as it restarts on every reboot, but no problems in windows 10 for some reasons. the weird thing, even if real time protection was off, and I worked on some projects, it turns up again and deletes my files haha. Why even do this so hard to disable? Thank you
This worked for me only after I straight up deleted the service of windenfender in startup.
i thought it all worked but after a while i checked taskmanger again and it was on
I have seen this happens once. Doing the steps a second time worked.
It’s working. Good post.
thx
Can confirm, tried it in windows 11 virtual machine and it stays stopped. Great tip!
Windows won’t allow me to close the Antimalware and Antivirus. What could be the case?
Can anyone help?
Start Windows 11 in safe mode and uncheck the WinDefend service in Autoruns (as shown in the article).
You are a life saver mate!
Hi, i did it, windows defender is not working now. Good!
Will the defender come back if I normally restart or shutdown pc?
No, Windows Defender will not come back if you restart or shut down the PC. It will permanently turn off Windows Defender.