To obtain your registration code, please send an email to [email protected]
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

Permanently Disable Windows Defender

1
The last time I installed WIS/ASRA and Xentry, I couldn't keep Windows Defender from restarting after a reboot.

I was using the following method:

1. Disable Tamper Protection
2. Use gpedit to enable Local Computer Policy / Computer Configuration / Administrative Templates / Windows Components / Microsoft Defender Antivirus / Turn off Microsoft Defender Antivirus

This used to work, but it no longer survives reboot.

I searched and found a new method that is easy and survives reboot.

1. Disable Tamper Protection
2. Use gpedit to enable Local Computer Policy / Computer Configuration / Administrative Templates / Windows Components / Microsoft Defender Antivirus / Real-time Protection / Turn off real-time protection
3. gpupdate / force

After you do this, Windows Security / Virus & thread protection / Virus & threat protection settings will show that Real-time protection is off and it stays off after a reboot.

I did this on Windows 11 IoT Enterprise LTSC Hyper-V VM. I didn't test it running not in a VM.

If you're running Windows 11 Home, I attached a screen capture of the registry key. I didn't test it, but I presume it will work the same, although I'm not sure if you can make it stick without gpupdate / force.

Attached Files Thumbnail(s)
       
2020 BMW M2C DCT Hockenheim Silver
2014 Mercedes Benz ML 350 4MATIC Iridium Silver
Thanks given by: Rocinante , Russel , zipoman2011
2
you can also use this remover:
Code:
https://github.com/ionuttbara/windows-defender-remover
Carpe diem..... 
Thanks given by:
3
(04-16-2026, 10:55 AM)ghostrider85 Wrote: you can also use this remover:
Code:
https://github.com/ionuttbara/windows-defender-remover

I use this all the time, it works perfect.
Thanks given by:
4
I should have also mentioned that to enable Windows Defender, all you have to do is the following:

1. Use gpedit to unconfigure Local Computer Policy / Computer Configuration / Administrative Templates / Windows Components / Microsoft Defender Antivirus / Real-time Protection / Turn off real-time protection
2. gpupdate / force

After that, it returns to normal operation.

This method is permanent, but also can be reversed as easily.
2020 BMW M2C DCT Hockenheim Silver
2014 Mercedes Benz ML 350 4MATIC Iridium Silver
Thanks given by:
5
Unless it's a system with very limited resources, I prefer to disable only the cloud analysis options, automatic sample upload, and the rest of the options, leaving real-time protection active. On the computers where I have it disabled, nothing gets in without first going through a test computer.
Thanks given by: Rocinante , Pluto
6
(04-17-2026, 04:17 PM)gcs190 Wrote: Unless it's a system with very limited resources, I prefer to disable only the cloud analysis options, automatic sample upload, and the rest of the options, leaving real-time protection active. On the computers where I have it disabled, nothing gets in without first going through a test computer.

The reason I like to be able to enable real-time protection is because I prefer to only have it disabled when it needs to be disabled. Otherwise, I exclude the specific file or folder, then enable it.
2020 BMW M2C DCT Hockenheim Silver
2014 Mercedes Benz ML 350 4MATIC Iridium Silver
Thanks given by:
7
Here is Defender Control

You can turn it on/off

Attached Files
.rar

24122024.rar

20
445.99 KB
BMW / VAG / MERCEDES Remote coding services
Haynes Pro online CARS/TRUCKS                 Launch X431/ThinkDiag New Boot /Old Boot activation 
DPF/EGR/IMMO OFF/Stage 1,2 /AdBlue/DTC
Thanks given by: gsm52 , STAR-XENTRY
8
(04-16-2026, 09:34 AM)bimmerdriver Wrote: The last time I installed WIS/ASRA and Xentry, I couldn't keep Windows Defender from restarting after a reboot.

I was using the following method:

1. Disable Tamper Protection
2. Use gpedit to enable Local Computer Policy / Computer Configuration / Administrative Templates / Windows Components / Microsoft Defender Antivirus / Turn off Microsoft Defender Antivirus

This used to work, but it no longer survives reboot.

I searched and found a new method that is easy and survives reboot.

1. Disable Tamper Protection
2. Use gpedit to enable Local Computer Policy / Computer Configuration / Administrative Templates / Windows Components / Microsoft Defender Antivirus / Real-time Protection / Turn off real-time protection
3. gpupdate / force

After you do this, Windows Security / Virus & thread protection / Virus & threat protection settings will show that Real-time protection is off and it stays off after a reboot.

I did this on Windows 11 IoT Enterprise LTSC Hyper-V VM. I didn't test it running not in a VM.

If you're running Windows 11 Home, I attached a screen capture of the registry key. I didn't test it, but I presume it will work the same, although I'm not sure if you can make it stick without gpupdate / force.
Download DefenderControl from Sordum

PM FOR FILE SERVICE, MAPPACKS, HIDDEN NOREAD OFF, CVN, ETC.
Thanks given by:

Possibly Related Threads…

 
Replies: 4
Views: 295
05-12-2026, 03:13 AM
Mercedes Benz
Replies: 18
Views: 16,833
05-07-2026, 05:22 AM
Mercedes Benz
Replies: 8
Views: 7,824
04-25-2026, 03:18 AM
Users browsing this thread: 1 Guest(s)