We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d0234c6 commit 8dc1a9aCopy full SHA for 8dc1a9a
Disable Windows Defender.bat
@@ -1 +1,5 @@
1
-reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows Defender" /v "DisableAntiSpyware" /t "REG_DWORD" /d "1" /f
+NET stop windefend
2
+SC config windefend start=disabled
3
+reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender" /v "DisableAntiSpyware" /t "REG_DWORD" /d "1" /f
4
+reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Defender\Features" /v "TamperProtection" /t "REG_DWORD" /d "0" /f
5
+sc qc "windefend"
0 commit comments