Скачать комплект файлов для отключения Windows Defender
IT Помощь Удалённо·1 Feb 2023
Здесь представлен материал о том, как отключать - включать Windows Defender, встроенный Защитник.
Командный файл на отключение выглядит так:
отключить дефендер.bat
@echo off
WHOAMI /PRIV | find /i "SeRemoteShutdownPrivilege"
if %ERRORLEVEL% == 0 goto admin
color C0
msg * Требуется запуск от имени Администратора. User - %USERNAME%
exit
:admin
COLOR 1F
rem goto OTLADKA
setlocal EnableDelayedExpansion
reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" /v "WindowsDefender" /f
reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" /v "SecurityHealth" /f
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows Defender" /v DisableAntiSpyware /t REG_DWORD /d 1 /f
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows Defender" /v DisableBlockAtFirstSeen /t REG_DWORD /d 1 /f
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows Defender" /v LocalSettingOverrideSpynetReporting /t REG_DWORD /d 0 /f
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows Defender" /v SubmitSamplesConsent /t REG_DWORD /d 2 /f
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows Defender Security Center\Notifications" /v DisableNotifications /t REG_DWORD /d 1 /f
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows Defender Security Center\Notifications" /v DisableEnhancedNotifications /t REG_DWORD /d 1 /f
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows Defender\Real-Time Protection" /v DisableIOAVProtection /t REG_DWORD /d 1 /f
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows Defender\Real-Time Protection" /v DisableRealtimeMonitoring /t REG_DWORD /d 1 /f
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows Defender\Real-Time Protection" /v DisableBehaviorMonitoring /t REG_DWORD /d 1 /f
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows Defender\Real-Time Protection" /v DisableOnAccessProtection /t REG_DWORD /d 1 /f
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows Defender\Real-Time Protection" /v DisableScanOnRealtimeEnable /t REG_DWORD /d 1 /f
schtasks /Change /tn "\Microsoft\Windows\Windows Defender\Windows Defender Cache Maintenance" /disable
schtasks /Change /tn "\Microsoft\Windows\Windows Defender\Windows Defender Cleanup" /disable
schtasks /Change /tn "\Microsoft\Windows\Windows Defender\Windows Defender Scheduled Scan" /disable
schtasks /Change /tn "\Microsoft\Windows\Windows Defender\Windows Defender Verification" /disable
)
endlocal
pause
Далее нужно войти в Управление настройками
Выключить все движки, это обязательно!
Запустить утилиту DControl принять Отключение.
Отключить в Планировщике.bat:
@echo off
WHOAMI /PRIV | find /i "SeRemoteShutdownPrivilege"
if %ERRORLEVEL% == 0 goto admin
color C0
msg * Требуется запуск от имени Администратора. User - %USERNAME%
exit
:admin
COLOR 1F
rem goto OTLADKA
setlocal EnableDelayedExpansion
schtasks /Change /tn "\Microsoft\Windows\Windows Defender\Windows Defender Cache Maintenance" /disable
schtasks /Change /tn "\Microsoft\Windows\Windows Defender\Windows Defender Cleanup" /disable
schtasks /Change /tn "\Microsoft\Windows\Windows Defender\Windows Defender Scheduled Scan" /disable
schtasks /Change /tn "\Microsoft\Windows\Windows Defender\Windows Defender Verification" /disable
)
endlocal
pause
Убрать из автозапуска:
Убрать из автозапуска.bat
@echo off
WHOAMI /PRIV | find /i "SeRemoteShutdownPrivilege"
if %ERRORLEVEL% == 0 goto admin
color C0
msg * Требуется запуск от имени Администратора. User - %USERNAME%
exit
:admin
COLOR 1F
rem goto OTLADKA
setlocal EnableDelayedExpansion
reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" /v "WindowsDefender" /f
reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" /v "SecurityHealth" /f
)
endlocal
pause
Убрать из контекстного меню:
Убрать из контекстного меню.bat
@echo off
WHOAMI /PRIV | find /i "SeRemoteShutdownPrivilege"
if %ERRORLEVEL% == 0 goto admin
color C0
msg * Требуется запуск от имени Администратора. User - %USERNAME%
exit
:admin
COLOR 1F
rem goto OTLADKA
setlocal EnableDelayedExpansion
reg add "HKCR\*\shellex\ContextMenuHandlers\EPP" /ve /t REG_SZ /d "" /f
reg add "HKCR\Directory\shellex\ContextMenuHandlers\EPP" /ve /t REG_SZ /d "" /f
)
endlocal
pause
Весь комплект Скачать (пароль 123)
Всё запускать от имени Администратора!
Файлы вида Jump to можно запускать без Администратора.
