加入我们 登录
紫水晶编程技术论坛 - 努力打造成全国最好的编程论坛 返回首页

亮叔杂谈 http://www.m5home.com/bbs/?4158 [收藏] [复制] [分享] [RSS]

日志

[原创]批处理关闭SS/UAC/WD/WU(兼容WIN7/8/8.1/10)

热度 3已有 4955 次阅读2015-7-19 17:35

::FROM: http://www.m5home.com/bbs/blog-4158-58.html
::Copy the following text and save it as a batch file, then run the ".BAT" file as administrator.
@echo off
title DISABLE SS/UAC/WD/WU [Tesla.Angela - www.m5home.com/bbs]

echo DISABLE SS...
reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer" /v SmartScreenEnabled /t REG_SZ /d "Off" /f
reg add "HKCU\SOFTWARE\Microsoft\Edge\SmartScreenEnabled" /v "" /t REG_DWORD /d 0 /f
reg add "HKCU\SOFTWARE\Microsoft\Edge\SmartScreenPuaEnabled" /v "" /t REG_DWORD /d 0 /f
reg add "HKCU\Software\Classes\Local Settings\Software\Microsoft\Windows\CurrentVersion\AppContainer\Storage\microsoft.microsoftedge_8wekyb3d8bbwe\MicrosoftEdge\PhishingFilter" /v EnabledV9 /t REG_DWORD /d 0 /f
echo.

echo DISABLE UAC...
reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v EnableLUA /t REG_DWORD /d 0 /f
echo.

echo DISABLE WD...
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 DisableAntiVirus /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
echo.

echo DISABLE WU...
takeown /f "C:\windows\system32\wuaueng.dll"
icacls "C:\windows\system32\wuaueng.dll" /grant administrators:F
echo y|cacls "C:\windows\system32\wuaueng.dll" /p everyone:n
sc config wuauserv start= disabled
sc stop wuauserv
echo.

pause
shutdown /f /r /t 0

路过

雷人

握手

鲜花

鸡蛋

发表评论 评论 (3 个评论)

回复 284406022 2015-12-19 11:27
为什么我在win10上执行,提示错误,不行
回复 马大哈 2016-2-16 19:06
得管理员权限执行BAT
回复 andylau004 2016-2-17 11:07
  

facelist

您需要登录后才可以评论 登录 | 加入我们

手机版|Archiver|紫水晶工作室 ( 粤ICP备05020336号 )

GMT+8, 2024-3-29 17:42 , Processed in 0.017073 second(s), 15 queries , Gzip On.

Powered by Discuz! X3.4

© 2001-2017 Comsenz Inc.

返回顶部