Group policy for Microsoft Defender has no effect

Armin Zingler 21 Reputation points
2024-12-05T15:27:55.3733333+00:00

Hi.

I'm disabling Microsoft Defender in the group policies:

Computer configuration -> Administrative Templates -> Windows components -> Microsoft Defender: Deactivate Microsoft Defender Antivirus

With Win 10 20H2, my selection was not persistent, but it was persistent when setting it in safe mode.

Now I've upgraded to Win 10 22H2. After changing it in safe mode and rebooting, my setting has been reset. How can I stop Windows from doing this?

I am the IT administrator of this machine, not Microsoft.

If I want to get back control, do I have to downgrade to 20H2?

Windows 10 Security
Windows 10 Security
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Security: The precautions taken to guard against crime, attack, sabotage, espionage, or another threat.
2,961 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Yanhong Liu 13,830 Reputation points Microsoft Vendor
    2024-12-11T02:44:38.7766667+00:00

    Hello,

    Thank you for posting in Q&A forum.

    Windows 10 22H2 has a feature called Tamper Protection that prevents changes to security settings, including disabling Microsoft Defender. Ensure that Tamper Protection is turned off. You can do this via the Windows Security app under "Virus & threat protection settings".

    You can disable it using the following steps:

    • Open the Windows Security app.
    • Go to Virus & threat protection.
    • Click on Manage settings under Virus & threat protection settings.
    • Turn off Tamper Protection.

    If Group Policy changes are not sticking, you can try editing the registry directly:

    Open Regedit.

    Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender.

    Create a new DWORD (32-bit) Value named DisableAntiSpyware and set its value to 1.

    I hope the information above is helpful.

    Best Regards,

    Yanhong Liu

    ============================================

    If the Answer is helpful, please click "Accept Answer" and upvote it.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.