Skip to content

Commit

Permalink
Update Disable Windows Defender.bat
Browse files Browse the repository at this point in the history
  • Loading branch information
Espionage724 authored Dec 23, 2024
1 parent d0234c6 commit 8dc1a9a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Disable Windows Defender.bat
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows Defender" /v "DisableAntiSpyware" /t "REG_DWORD" /d "1" /f
NET stop windefend
SC config windefend start=disabled
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender" /v "DisableAntiSpyware" /t "REG_DWORD" /d "1" /f
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Defender\Features" /v "TamperProtection" /t "REG_DWORD" /d "0" /f
sc qc "windefend"

1 comment on commit 8dc1a9a

@Espionage724
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TamperProtection may require TI and Safe Mode; this only reliably works on Windows 10 (11 24H2 randomly re-enables Defender and Real-time scanning regardless, but it stays off on 10).

Please sign in to comment.