remove Defender bat file
remove Defender bat file
pause
rem https://www.elevenforum.com/t/turn-on-or-off-tamper-protection-for-microsoft-
defender-antivirus-in-windows-11.3973
rem reg add "HKLM\Software\Microsoft\Windows Defender\Features" /v
"TamperProtection" /t REG_DWORD /d "0" /f
rem Disable System Guard Runtime Monitor Broker (when disabled, it might cause BSOD
Critical Process Died)
rem reg add "HKLM\System\CurrentControlSet\Services\SgrmBroker" /v "Start" /t
REG_DWORD /d "4" /f
rem Disable services (it will stop WdFilter.sys as well, better not to disable the
driver by itself)
rem reg add "HKLM\System\CurrentControlSet\Services\WdBoot" /v "Start" /t REG_DWORD
/d "4" /f
reg add "HKLM\System\CurrentControlSet\Services\MDCoreSvc" /v "Start" /t
REG_DWORD /d "4" /f
reg add "HKLM\System\CurrentControlSet\Services\WdFilter" /v "Start" /t
REG_DWORD /d "4" /f
reg add "HKLM\System\CurrentControlSet\Services\WdNisDrv" /v "Start" /t
REG_DWORD /d "4" /f
reg add "HKLM\System\CurrentControlSet\Services\WdNisSvc" /v "Start" /t
REG_DWORD /d "4" /f
reg add "HKLM\System\CurrentControlSet\Services\WinDefend" /v "Start" /t
REG_DWORD /d "4" /f
rem Disable Stupid Smart App Control blocking legitimate apps like VisualC++ and
DX9 / ONCE DISABLED, IT CAN BE ENABLED!
rem reg add "HKLM\System\CurrentControlSet\Control\CI\Policy" /v
"VerifiedAndReputablePolicyState" /t REG_DWORD /d "0" /f
pause