13

I'm running Windows 10 and I I don't want an antimalware. I know what I'm doing and I'm not gonna be downloading torrents or random exe's from sites I don't know. So far I tried turning off Windows Defender, but the process is still running.

My last resort would be deleting MsMpEng.exe from C:\Program Files\Windows Defender.

If I try to end it from Task Manager, it says "The operation could not be completed... Access is denied"

And turning it off from the Windows Defender app did not work either, as it is not Windows 7 or Windows 8.1, and if I turn it off from there it kept running.

10

To disable the Defender run regedit.exe, go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Defender, take ownership of this registry key (inside regedit.exe (still applies to Windows 10) or via the 3rd party tool RegOwnershipEx) and set the values DisableAntiSpyware and DisableAntiVirus both to 1.

enter image description here
click to enlarge

Note, if you only see 1 of the values, change this one.

In newer Windows 10 Versions (1703, 1709, 1803) you need to go key HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender, create a DWORD DisableAntiSpyware and set it to 1:

enter image description here

|improve this answer|||||
  • 1
    This doesn't work. Cannot edit DisableAntiSpyware: Error writing the value's new contents. – Steven Lu Mar 20 '18 at 4:12
  • @StevenLu I added the solution for latest Windows 10 builds. – magicandre1981 Mar 20 '18 at 16:20
  • After doing this as well as switching Realtime protection off in the Windows Defender Settings, it seems that the process has gone away. I am happy now. Thanks. – Steven Lu Mar 20 '18 at 17:54
  • For me, no matter what permissions I set, I still get access denied. I've seen a lot of similar hits on google for people giving themselves full permissions and still not being able to edit the key. I haven't been able to find a solution. – NibblyPig Feb 2 at 19:09
  • @NibblyPig try Winaero Tweaker – magicandre1981 Feb 3 at 15:37

Not the answer you're looking for? Browse other questions tagged or ask your own question.