猜你喜欢




在安装一些破解软件,被win10自带的杀毒程序windows defender查杀导致无法安装或者精简系统无用组建时,可以卸载掉它;此操作不可逆;
解决方案:
提醒:此操作有风险,建议由专业人员操作,并备份重要数据。
在安装一些破解软件,被win10自带的杀毒程序windows defender查杀导致无法安装或者精简系统无用组建时,可以卸载掉它;----------此操作不可逆;
1、利用批处理快速移除Windows Defender;
代码如下:
@echo off
cd /d "%~dp0"
echo Uninstalling ...
CLS
install_wim_tweak.exe /o /l
install_wim_tweak.exe /o /c "Windows-Defender" /r
install_wim_tweak.exe /h /o /l
echo.
echo 请重启 Windows 10 以完成卸载;
echo.
pause
复制以上代码保存为.cmd类型文件或者下载本文末附件“1移除Windows Defender 程序”,右击该.cmd文件,以管理员身份运行,运行完毕,重启计算机;
2、利用批处理快速移除Windows Defender图标;
代码如下:
@echo off
echo y|takeown /f "%windir%\SystemApps\Microsoft.Windows.SecHealthUI_cw5n1h2txyewy\Assets\*.*"
echo y|icacls "%windir%\SystemApps\Microsoft.Windows.SecHealthUI_cw5n1h2txyewy\Assets\*.*" /grant administrators:F
rd /s /q "%windir%\SystemApps\Microsoft.Windows.SecHealthUI_cw5n1h2txyewy\Assets\"
echo y|takeown /f "%ProgramFiles%\Windows Defender\*.*"
echo y|icacls "%ProgramFiles%\Windows Defender\*.*" /grant administrators:F
rd /s /q "%ProgramFiles%\Windows Defender\"
echo y|takeown /f "%ProgramFiles%\Windows Defender Advanced Threat Protection\*.*"
echo y|icacls "%ProgramFiles%\Windows Defender Advanced Threat Protection\*.*" /grant administrators:F
rd /s /q "%ProgramFiles%\Windows Defender Advanced Threat Protection\"
taskkill /im smartscreen.exe /f
echo y|takeown /f "%windir%\System32\smartscreen.exe"
echo y|icacls "%windir%\System32\smartscreen.exe" /grant administrators:F
del "%windir%\System32\smartscreen.exe" /f
reg add "HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\SecurityHealthService" /v Start /t reg_dword /d 00000004 /f
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SecurityHealthService" /v Start /t reg_dword /d 00000004 /f
PAUSE
复制以上代码保存为.bat类型文件或者下载本文末附件“2移除Windows Defender图标”,右击该.bat文件,以管理员身份运行;
然后按下图操作
特别说明:
Windows10 1709 (16299)系统移除Windows Defender图标方法:
先在其他管理员帐户上运行附件“2移除Windows Defender图标”里的.bat”,然后再新建你需要的帐户,Windows Defender安全中心图标就彻底消失了;
比如:你要用Administrator帐户,那么要在还没有启用过Administrator帐户之前,先在初始安装的帐户上彻底移除Windows Defender,然后再启用Administrator帐户,这样Windows Defender图标就消失;
如果新建帐户后还产生不知名图标,可以用附件“1移除Windows Defender 程序”里的.cmd清理;
附件如下: