Windows Defender Blocked by Group Policy Error [Fixed]

Photo of author

By Victor Ashiedu

Published

If you receive the error message Windows Defender is blocked by group policy, your computer may have been infected by a malware. This guide will show you how to scan for and remove the malware. Then get Windows Defender back on.

The fix for Windows Defender is Blocked by Group Policy error is a two-step process:

After following the link in step 1, use any of the methods below to restore Windows Defender to its normal state.

Option 1: Edit Windows Registry

Warning!
Editing Windows registry could be harmful to your computer. Please follow the outlined steps carefully.

Use the steps below to restore Windows Defender back on after running malware cleaner:

Use this method if your Windows 10 version is Home.
  • On your keyboard press the windows logo key + R. This will open the Run command as shown below:
Windows Defender Blocked by Group Policy - open Run command
  • To open registry editor, type regedit and click Ok. Registry editor will open. See the image below.
  • Next, navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender.
"Windows Defender is Blocked by Group Policy" - Windows Defender DWORD key
  • Next, highlight Windows Defender registry key. On the right hand side of the key, right-click DisableAntiSpyware and select Delete. To confirm DisableAntiSpyware delete click Yes.
Confirm DisableAntiSpyware registry key delete.
  • Finally, confirm that key no longer exists.
"Windows Defender is blocked by group policy" - DisableAntiSpyware  deleted

When you finish, restart your computer. This should fix Windows Defender is blocked by group policy error message.

You can also delete the DisableAntiSpyware key by running the command below:
REG DELETE "HKLM\SOFTWARE\Policies\Microsoft\Windows Defender" /v DisableAntiSpyware /f
To run the previous command you must open command prompt as administrator

Option 2: Edit Local Group Policy Settings

If your Windows 10 version is Pro or Enterprise, you can fix this error using Group Policy. Here are the steps:

  • Right-click Windows logo. Then select Run.
Open Run command to
  • When Run opens, enter gpedit.msc and press Ok. Local Group Policy console will open. See the second image below the Sponsored Content.
Local group policy.
  • Next, navigate to this path: Local Computer Policy > Computer Configuration > Administrative Templates > Windows Components > Windows Defender Antivirus. The policy, Turn off Windows Defender Antivirus should be Enabled as shown in the image below.
  • To stop Windows Defender is Blocked by Group Policy error, double-click the policy, Turn off Windows Defender Antivirus. Next, select Disabled and click Ok.
  • The policy is now disabled. Reboot your computer.

Conclusion

Windows Defender is an antivirus built into Windows 10. It is designed to work with other antivirus software to keep your computer safe.

Under ideal circumstances, it should not be turned off or blocked by group policy. I hope you were able to get Windows Defender back and eliminate the error message.

If you found this guide helpful, kindly spare two minutes to share your thoughts about this guide with our community using the comments form (“Leave a Reply”) at the bottom of this page.

Alternatively, you can respond to the “Was this page helpful?” question below.

About the Author

Photo of author

Victor Ashiedu

Victor is the founder of InfoPress Media, publishers of Ilifeguides and Itechguides. With 20+ years of experience in IT infrastructure, his expertise spans Windows, Linux, and DevOps. Explore his contributions on Itechguides.com for insightful how-to guides and product reviews.

Related Articles

Get in Touch

We're committed to writing accurate content that informs and educates. To learn more, read our Content Writing Policy, Content Review Policy, Anti-plagiarism Policy, and About Us.

However, if this content does not meet your expectations, kindly reach out to us through one of the following means:

  1. Respond to "Was this page helpful?" above
  2. Leave a comment with the "Leave a Comment" form below
  3. Email us at [email protected] or via the Contact Us page.

Leave a comment

Send this to a friend