wiki:Windows Diable Defender

Windows Diable Defender

I think I found out a very good workaround for the POLICY Setting getting reset to "Not Configured" every time you restart Group Policy Editor. 

I had the same problem and guessed out (correctly) that it was MsMpEng.exe 
running in the background that was resetting the policy back to "Not Configured".

So, before making any changes to the policy, head over to Task Manager, 
then to Performance Monitor from the Performance tab. Find MsMpEng.exe in any of the tabs 
in it (mostly on top in Memory or CPU tabs) and click on Suspend Process.

Then make the changes as required in the Group Policy Editor. It won't get reverted back. Please reply if it works, or didn't work. 


Step 2: Navigate to this path – 

Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus.

Step 3: Locate the Turn off Microsoft Defender Antivirus policy. Double-click on this policy option to open a new window, check the option of Enabled, and then click Apply > OK to save the change to disable Windows Defender.

1. Press Windows + R and type 'regedit'.
2. Once inside, follow the path: HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender.
3. In that folder, create a DWORD (32-bit) key. You can do that right-clicking on the Windows Defender folder, and going to New.
4. Set the DWORD title do DisableAntiSpyware.and change its value to 1. 

reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender" /v "DisableAntiSpyware" /t REG_DWORD /d 1 /f 

Last modified 12 days ago Last modified on 12/09/24 02:29:01
Note: See TracWiki for help on using the wiki.