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.
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.
2020 BMW M2C DCT Hockenheim Silver
2014 Mercedes Benz ML 350 4MATIC Iridium Silver
2014 Mercedes Benz ML 350 4MATIC Iridium Silver
Thanks given by: Rocinante , Russel , zipoman2011

