Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

iTechGuides is reader-supported. When you buy through links on our site, we may earn an affiliate commission. As an Amazon Associate I earn from qualifying purchases. Learn more

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.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

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:

Popular on Amazon
Sale
SamData USB Flash Drive 8GB 1 Pack USB 2.0 Thumb Drive Swivel Memory Stick Data Storage Jump Drive Zip Drive Drive with Led Indicator (Black, 8GB-1Pack)
  • [Package Offer]: 1 Pack USB Flash Drive 8GB Available in black.
  • [Plug and Play]: No need to install any software, Just plug in and use it. The metal clip rotates 360° round the ABS plastic body which. The capless design can avoid lossing of cap, and providing efficient protection to the USB port.
  • [Compatibilty and Interface]: Supports Windows 7 / 8 / 10 / Vista / XP / 2000 / ME / NT Linux and Mac OS. Compatible with USB 2.0 and below. High speed USB 2.0, LED Indicator - Transfer status at a glance.
  • [Suitable for All Uses and Data]: Suitable for storing digital data for school, business or daily usage. Apply to data storage of music, photos, movies, software, and other files.
  • [Warranty Policy]: 12-month warranty, our products are of good quality and we promise that any problem about the product within one year since you buy, it will be guaranteed for free.
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:

Also popular on Amazon
8GB Flash Drive 10 Pack Bulk USB Flash Drives, USB2.0 Thumb Drive USB Stick for Data Storage Backup, Jump Drive Pen Drive Zip Drive Memory Stick with Indicator, USB Storage Flash Drive Swivel Design
  • 10 Pack USB Sticks: 10 pieces of USB flash drives are fit for a variety of scenarios. Whether the flash drives USB are used as school supplies for high school students to backup data storaged in USB jump drives or music USB flash drive for car, zip drive can meet the basic storage needs. USB drive pack of 10 has a higher cost performance. USB flash drive pack of 10 is suitable for ordinary users with appropriate needs, but also for special groups such as companies, schools or other organizations that need a large number of U disks. In short, thumb drives can meet the needs of different customers.
  • Swivel Design: With the 360° swivel design, all the ports of the thumb drives 10 pack can be hidden inside the metal casing. When needed, simply swivel the casing gently and the ports will automatically expose, making it convenient for you to insert and remove. This design is not only fashionable and beautiful but also more user-friendly, whether you'd like your flash drive for photos, flash drive for video storage, or memory sticks for computers. In addition, the swivel design can effectively protect the interface from damage and pollution, increasing the service life of the flash USB drive.
  • Portability: The small hole on the thumbdrive USB is designed for lanyards, which is convenient to carry. Besides, the USB flash drive keychain can also be tied through the small hole to prevent loss. This design is very thoughtful and reflects the humanized design concept of the memorias USB flash drive.
  • Plug and Play: You can use the computer storage flash drive immediately for data storage or backup without any additional installation after inserting it into the computer. This plug and play feature makes the laptop storage drive a very convenient external ssd. You can copy the required data files to the external drive at any time without worrying about computer system compatibility issues. In addition, the design of the external flash drive enables it to be quickly recognized by the system after being inserted into the computer. (NOTE: Please check if your device has a USB-A port before purchasing. If not, a USB-C hub is needed.)
  • FAT32 format: The default system format for 8GB flash drive is FAT32. FAT32 USB flash drive is widely applicable, such as in televisions, DVD players, vehicles, printers, embroidery machines, etc. Be patient if you have problems with system recognition. It may take some time for initial recognition, but it will happen.
  • 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.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Conclusion

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

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

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.

Also popular on Amazon
Sale
SamData 8GB USB Flash Drives 5 Pack 8GB Thumb Drives Memory Stick Jump Drive with LED Light for Storage and Backup (5 Colors: Black Blue Green Red Silver)
  • [Package Offer]: 5 Pack USB 2.0 Flash Drive 8GB Available in 5 different colors - Black Blue Green Red Silver. The different colors can help you to store different content.
  • [Plug and Play]: No need to install any software, Just plug in and use it. The metal clip rotates 360° round the ABS plastic body which. The capless design can avoid lossing of cap, and providing efficient protection to the USB port.
  • [Compatibilty and Interface]: Supports Windows 7 / 8 / 10 / Vista / XP / 2000 / ME / NT Linux and Mac OS. Compatible with USB 2.0 and below. High speed USB 2.0, LED Indicator - Transfer status at a glance.
  • [Suitable for All Uses and Data]: Suitable for storing digital data for school, business or daily usage. Apply to data storage of music, photos, movies, software, and other files.
  • [Warranty Policy]: 12-month warranty, our products are of good quality and we promise that any problem about the product within one year since you buy, it will be guaranteed for free.

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.

Also popular on Amazon
USB Flash Drive 8GB, Maspen USB Thumb Drives 2.0 High Speed USB Memory Stick Zip Drives (Blue,8 GB)
  • 【What You Get】 1 pieces 8 GB small capicity bulk usb flash drives,which allow you to classify your files, music, pictures etc. Great choice for enhancing your Name's visibility as the pen drives can be printed on
Also popular on Amazon
SanDisk Cruzer Blade 8GB USB 2.0 Flash Drive- SDCZ50-008G-B35
  • Ultra-compact and portable contoured styling
  • Share your photos, videos, songs and other files between computers with ease
  • Protect your private files with included SanDisk SecureAccess software (Password protection uses 128-bit AES encryption and is supported by Windows Vista, Windows 7, Windows 8, Windows 10 and Mac OS X v10.6+ (Software download required for Mac, see official SanDisk Secure Access website for more details.))
  • Store more with capacities up to 8GB (1 gigabyte (GB) = 1 billion bytes. Some capacity not available for data storage.)

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.