Skip to content

Instantly share code, notes, and snippets.

@Sourav2005
Created January 30, 2022 05:32
Show Gist options
  • Save Sourav2005/20bc213b63cdeb321e055e9b24ff25dd to your computer and use it in GitHub Desktop.
Save Sourav2005/20bc213b63cdeb321e055e9b24ff25dd to your computer and use it in GitHub Desktop.
Disable Windows Defender for good

Step 1

Disable Real time protection and all other protections in the Security Dashboard Settings.

image

Step 2

Edit Group Policy to disable Windows Defender. Search "Group Policy" in the start menu and hit enter. Navigate to Computer configuration -> Windows Components -> Microsoft Defender Antivirus -> Double Click Turn off Microsoft Defender Antivirus and set to Enabled.

image

Step 3

Download Autoruns from sysinternals and then reboot to safe mode (Google how to do that). After rebooting launch Autoruns and go to options and uncheck Hide Microsoft and Hide Windows Entries.

image

Step 4

Disable everything related to Windows Defender in the Services tab, Scheduled Tasks tab and Drivers tab. Reboot and you should be done!

image image image

Tips

  1. Enable the group policy Turn off Enhanced Notifications in Computer configuration -> Windows Components -> Microsoft Defender Antivirus -> Reporting to stop getting annoying notifications.
  2. Disable Microsoft Smartscreen.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment