Skip to content

Instantly share code, notes, and snippets.

@Zenexer
Last active May 15, 2024 14:23
Show Gist options
  • Save Zenexer/ae98c2b80d60fffcc588 to your computer and use it in GitHub Desktop.
Save Zenexer/ae98c2b80d60fffcc588 to your computer and use it in GitHub Desktop.
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
Copy link

aaomidi commented Dec 1, 2015

👍

@roshanburnwal
Copy link

Good Sir I Like Your Post

@albertovadia
Copy link

Thank you.

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