Skip to content

Commit 8dc1a9a

Browse files
authored
Update Disable Windows Defender.bat
1 parent d0234c6 commit 8dc1a9a

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Disable Windows Defender.bat

+5-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
1-
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows Defender" /v "DisableAntiSpyware" /t "REG_DWORD" /d "1" /f
1+
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

Comments
 (0)