FacebookTwitterLinkedIn

How to Fix "Windows Defender is turned off by group policy" Error

How to Fix "Windows Defender is turned off by group policy" Error on Windows 10

Windows Defender (Microsoft Defender) is a built-in component within Windows. Its main purpose is to protect Windows users from malware attacks. It also helps to identify and remove viruses, spyware, and other malicious software. If you got the "Windows Defender is turned off by group policy" error, read this article and find out how to fix it.

windows defender is turned off by group policy

Windows Defender has an integrated real-time protection feature that allows it to run unnoticed in the background, protecting you from malicious software. Essentially, Windows Defender can protect you during daily browsing activities and is a good option when choosing anti-malware software.

If you got a "Windows Defender is turned off by group policy" or "This app turned off by group policy" error message when trying to launch Windows Defender, it means that Group Policy disabled the application.

This error message means that Windows Defender was disabled, so it doesn't protect your PC from malware. Fortunately, there are ways to remedy this problem. Follow the steps in the guide below to solve the issue and continue using Windows Defender successfully.

Video Showing How to Fix "Windows Defender is turned off by Group Policy" Error

Table of Contents:

Uninstall Third-Party Antivirus Software

One reason for the "This app turned off by group policy" error while trying to launch Windows Defender is that the software is disabled due to other antivirus software being installed on the system. Two antivirus programs monitoring the Windows operating system concurrently can cause conflicts and errors. If you have any other antivirus software installed, we recommend you uninstall it and see if the error persists.

[Back to Table of Contents]

Enable Windows Defender Antivirus Service

Windows Services (also known as services.msc) modify how Windows services run on your system. These services are responsible for running available programs and managing many system settings and resources. You can modify a service's settings for security, troubleshooting, and performance-related reasons.

One of these services is the Windows Defender Antivirus service. To enable this service, open the Run dialog box by pressing Win + R keys on the keyboard or right-clicking Start and selecting "Run" from the contextual menu.

enable windows defender antivirus service step 1

Type "services.msc" in the Run dialog box and press Enter or click "OK".

enable windows defender antivirus service step 2

In the Services window, find "Windows Defender Antivirus" and double-click it.

enable windows defender antivirus service step 3

In the Windows Defender Antivirus Service Properties window, find "Startup type" and set it to "Automatic". Then click "Start" under "Service status" and click "Apply" to save the changes. Restart the computer and see if this fixes the "This app turned off by group policy" error.

enable windows defender antivirus service step 4

[Back to Table of Contents]

Enable Windows Defender Through Security And Maintenance

Another way to enable Windows Defender is via Security and Maintenance. To open it, type "security and maintenance" in Search and click the "Security and Maintenance" result.

enable windows defender through security and maintenance step 1

Under the Security section, find "Virus protection" and click "Turn on now" beside it. See if this solves the problem.

enable windows defender through security and maintenance step 2

[Back to Table of Contents]

Enable Windows Defender via Local Group Policy Editor

Local Group Policy Editor allows you to control and edit various Windows settings using a simple user interface.

To open Local Group Policy Editor, open the Run dialog box, type "gpedit.msc", and press Enter or click "OK". Go to "Local Computer Policy" and find "Windows Components" under "Administrative Templates".

Find "Turn off Windows Defender" on the right pane and double-click it. Now choose the "Disabled" setting and click "OK" to save the changes.

Try to launch Windows Defender again and see if this fixes the "This app turned off by group policy" error.

If you cannot launch Local Group Policy Editor, you are using a different Windows operating system edition on which the Local Group Policy Editor is unavailable. In this case, skip this step and proceed to the next solution.

[Back to Table of Contents]

Enable Windows Defender via Registry Editor

Windows Registry is a collection of databases of configuration settings in Microsoft Windows operating systems. It stores much of the information and settings for software programs, hardware devices, user preferences, operating system configurations, and much more.

Many of the options exposed in the registry are not accessible elsewhere in Windows. To edit the registry, you must use Windows Registry Editor.

To open Registry Editor, right-click the Start button and select "Run" from the contextual menu. Type "regedit" and press Enter or click "OK".

enable windows defender via registry editor step 1

Now, follow this path "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender", or you can simply copy it into the Registry Editor bar.

You will see the "DisableAntiSpyware" REG_DWORD on the right pane. Right-click it and select "Delete" from the drop-down menu.

enable windows defender via registry editor step 2

Alternatively, you can modify it by changing its value to "0". Right-click "DisableAntiSpyware" REG_DWORD and select "Modify..." from the contextual menu.

enable windows defender via registry editor step 3

Now set the "Value data" to 0 and click "OK". Exit Registry Editor and see if this fixes the "This app turned off by group policy" error.

enable windows defender via registry editor step 4

If there is no third-party antivirus software installed on your computer and you are still receiving the "This app turned off by group policy" error after completing the above steps, we recommend that you try the other solutions below.

[Back to Table of Contents]

Run SFC Scan

System File Checker (SFC) is a utility in Windows that allows users to scan for corruptions in Windows system files and restore corrupted files. To run it, first open Command Prompt by typing "command prompt" in Search and then right-click "Command Prompt". Select "Run as administrator" from the drop-down menu to run Command Prompt with administrator privileges.

You must run an elevated Command Prompt to perform an SFC scan.

run sfc scan step 1

Type "sfc /scannow" in the Command Prompt window and press Enter on the keyboard to execute this command. System File Checker will start and take some time to complete.

Wait for the scanning process to complete and restart the computer.

run sfc scan step 2

[Back to Table of Contents]

Delete Conflicting Registry Entries

If your computer is infected with malware, it is possible that malware infections have added some malicious entries to the Windows registry that block Windows Defender (and other antivirus software).

To delete possibly conflicting registry entries, go to Registry Editor (you can find the instructions in one of the previously-mentioned solutions) and follow this path: "HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Image File Execution Options".

If you find "MSASCui.exe", "MpCmdRun.exe" or "MsMpEng.exe" entries under the Image File Execution Options key, right-click each of them and select "Delete". If there are no such entries, you do not have to take any action.

delete conflicting registry entries

We hope these solutions help you solve the "This app turned off by group policy" problem. If you know of another way to solve this issue not mentioned in our guide, please share it with us by leaving a comment in the section below.

[Back to Top]

▼ Show Discussion

About the author:

Rimvydas Iliavicius

Rimvydas is a researcher with over four years of experience in the cybersecurity industry. He attended Kaunas University of Technology and graduated with a Master's degree in Translation and Localization of Technical texts. His interests in computers and technology led him to become a versatile author in the IT industry. At PCrisk, he's responsible for writing in-depth how-to articles for Microsoft Windows. Contact Rimvydas Iliavicius.

Our guides are free. However, if you want to support us you can send us a donation.

About PCrisk

PCrisk is a cyber security portal, informing Internet users about the latest digital threats. Our content is provided by security experts and professional malware researchers. Read more about us.

Malware activity

Global malware activity level today:

Medium threat activity

Increased attack rate of infections detected within the last 24 hours.