Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Permanently disable Windows Defender and other annoyances in Windows.

Instructions

  • To disable a service, download Disable<Service>.reg and double-click to import. (Replace <Service> with the name of the service you want to disable.)
  • To re-enable a service, download Enable<Service>.reg and double-click to import. (Replace <Service> with the name of the service you want to enable.)

Note that if you save the files by copying them into a text editor, they may need to be saved with Windows-style line endings (\r\n).

Services

Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Windows Search]
"AllowCortana"=dword:00000000
"AllowCortanaAboveLock"=dword:00000000
"DisableWebSearch"=dword:00000001
"ConnectedSearchUseWeb"=dword:00000000
"ConnectedSearchUseWebOverMeteredConnections"=dword:00000000
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender]
"DisableAntiSpyware"=dword:00000001
"DisableRoutinelyTakingAction"=dword:00000001
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Windows Search]
"AllowCortana"=dword:00000001
"AllowCortanaAboveLock"=dword:00000001
"DisableWebSearch"=dword:00000000
"ConnectedSearchUseWeb"=dword:00000001
"ConnectedSearchUseWebOverMeteredConnections"=dword:00000001
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender]
"DisableAntiSpyware"=dword:00000000
"DisableRoutinelyTakingAction"=dword:00000000
@aaomidi

This comment has been minimized.

Copy link

@aaomidi aaomidi commented Dec 1, 2015

👍

@roshanburnwal

This comment has been minimized.

Copy link

@roshanburnwal roshanburnwal commented Sep 8, 2018

Good Sir I Like Your Post

@albertovadia

This comment has been minimized.

Copy link

@albertovadia albertovadia commented Jun 1, 2021

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment