I need to disable windows defend but I'm not able. I think i messed up in the regedit section in the past and now all the settings can't be changed.

I tried deleting the files i added in regedit but didn't work, tried to change the value but didn't work either.

If i click on dismiss it will ask if i want to allow windows to make changes, but nothing happens

This is my Windows Defender registry:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender] "DisableAntiSpyware"=dword:00000000

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender\Policy Manager] "DisableAntiSpyware"=dword:00000000

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender\Real-Time Protection] "DisableBehaviorMonitoring"=dword:00000000 "DisableOnAccessProtection"=dword:00000000 "DisableScanOnRealtimeEnable"=dword:00000000

Will be grateful if you could help me

  • Tried to get the Windows Defender folder in the registry from another computer that has control over windows defender but it is still not working – fully void Oct 29 '20 at 10:58
  • Why do you need to disable Windows Defender? It works perfectly well. If you have a competent 3rd party Anti Virus competitor installed, it will automatically disable the real-time component of Defender. Otherwise let it run. – John Oct 29 '20 at 12:55
  • I want to install some mods for GTA. They are safe, i have them in another pc. Also it was me that set windows defender this way in the past. On my other pc i can turn it off, here i can't – fully void Oct 29 '20 at 12:59
  • You can whitelist apps in Defender if you need to. The other machine may be a corporate machine or newer version of Windows. – John Oct 29 '20 at 13:02
  • I tried to whitelist the process, but it won't let me – fully void Oct 29 '20 at 13:08

Registry changes are usually dangerous unless done by a competent program or a skilled expert.

At this point, because changes have been made and cannot be returned to normal, back up your system and then reinstall Windows.

Preferably use the Manufacturer’s Recovery USB if you can. Otherwise be sure to update all drivers when you reinstall.

Good Luck.

  • Thank you for all the help – fully void Oct 29 '20 at 13:51
  • You are welcome and hopefully you will acknowledge the answer I posted for you and others in the same situation. – John Oct 29 '20 at 14:00

You can use the Powershell command to turn off/on the Windows firewall:

Please click "Start" and enter "PowerShell" --> open "PowerShell" and enter the following command --> then press the "Enter" key to run the command and the firewall will turn off.

Set-NetFirewallProfile -Profile Domain,Public,Private -Enabled False

Turn on firewall by run the following PowerShell command:

Set-NetFirewallProfile -Profile Domain,Public,Private -Enabled True

Display the current status of the firewall can also be achieved through PowerShell:

Get-NetFirewallProfile -all | select -Property name,enabled

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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