7个月前 (01-18)  技术资料 |   抢沙发  137 
文章评分 0 次,平均分 0.0

WIN0系统安装完以后感觉系统运行缓慢,可以通过本脚本通过注册表优化win10的系统服务,禁用超级预缓存服务、索引服务、感知服务、备份服务和用户体验,禁用windows应用商店及所需组件 ,禁用Xbox及组件,禁用windows defender服务以及防火墙,禁用windows更新、BITS及备份,禁用windows诊断以及传递优化,禁用Cortana小娜

WIN10系统一键优化批处理

echo //禁用超级预缓存服务,索引服务,感知服务,备份服务和用户体验。
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SysMain" /v "start" /t reg_dword /d "4" /f
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WSearch" /v "start" /t reg_dword /d "4" /f
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\spectrum" /v "start" /t reg_dword /d "4" /f
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SDRSVC" /v "start" /t reg_dword /d "4" /f
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\DiagTrack" /v "start" /t reg_dword /d "4" /f

echo //禁用windows应用商店及所需组件。(禁用后无法使用windows商店一些功能)
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\AppXSvc" /v "start" /t reg_dword /d "4" /f
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\AppVClient" /v "start" /t reg_dword /d "4" /f
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\InstallService" /v "start" /t reg_dword /d "4" /f

echo //禁用Xbox及组件。(禁用后无法使用Xbox商店一些功能)
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\xbgm" /v "start" /t reg_dword /d "4" /f
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\XblAuthManager" /v "start" /t reg_dword /d "4" /f
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\XblGameSave" /v "start" /t reg_dword /d "4" /f
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\xboxgip" /v "start" /t reg_dword /d "4" /f
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\XboxGipSvc" /v "start" /t reg_dword /d "4" /f
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\XboxNetApiSvc" /v "start" /t reg_dword /d "4" /f

echo //禁用windows defender服务。(禁用后可能导致病毒入侵)
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SecurityHealthService" /v "start" /t reg_dword /d "4" /f
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Sense" /v "start" /t reg_dword /d "4" /f
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WdNisSvc" /v "start" /t reg_dword /d "4" /f
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WinDefend" /v "start" /t reg_dword /d "4" /f

echo //禁用防火墙。(禁用后可能导致病毒入侵)
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\mpssvc" /v "start" /t reg_dword /d "4" /f
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\wscsvc" /v "start" /t reg_dword /d "4" /f

echo //禁用windows更新。
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\UsoSvc " /v "start" /t reg_dword /d "4" /f
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\wuauserv" /v "start" /t reg_dword /d "4" /f
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WaaSMedicSvc" /v "start" /t reg_dword /d "4" /f
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\wuauserv" /v "WOW64" /t reg_dword /d "332" /f
echo //禁用windows备份。
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SDRSVC" /v "start" /t reg_dword /d "4" /f
echo //禁用BITS。
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\BITS" /v "start" /t reg_dword /d "4" /f

echo //禁用windows诊断以及传递优化(如禁用,则软件崩溃情况下不会出现恢复框,办公党慎用)
net stop WdiServiceHost
net stop WdiSystemHost
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\DoSvc" /v "start" /t reg_dword /d "4" /f
net stop DPS

echo //禁用Cortana小娜,可能会导致相关功能不可用,恢复脚本可重新打开。
echo y|reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Windows Search"
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Windows Search"
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Windows Search" /v "AllowCortana" /t reg_dword /d "0" /f

echo //禁用超级预缓存服务,索引服务,感知服务,备份服务。
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SysMain" /v "start" /t reg_dword /d "4" /f
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WSearch" /v "start" /t reg_dword /d "4" /f
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\spectrum" /v "start" /t reg_dword /d "4" /f
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SDRSVC" /v "start" /t reg_dword /d "4" /f

echo //禁用windows应用商店及所需组件。(禁用后无法使用windows商店一些功能)
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\AppXSvc" /v "start" /t reg_dword /d "4" /f
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\AppVClient" /v "start" /t reg_dword /d "4" /f
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\InstallService" /v "start" /t reg_dword /d "4" /f

echo //禁用Xbox及组件。(禁用后无法使用Xbox商店一些功能)
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\xbgm" /v "start" /t reg_dword /d "4" /f
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\XblAuthManager" /v "start" /t reg_dword /d "4" /f
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\XblGameSave" /v "start" /t reg_dword /d "4" /f
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\xboxgip" /v "start" /t reg_dword /d "4" /f
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\XboxGipSvc" /v "start" /t reg_dword /d "4" /f
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\XboxNetApiSvc" /v "start" /t reg_dword /d "4" /f

echo //禁用windows defender服务。(禁用后可能导致病毒入侵)
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SecurityHealthService" /v "start" /t reg_dword /d "4" /f
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Sense" /v "start" /t reg_dword /d "4" /f
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WdNisSvc" /v "start" /t reg_dword /d "4" /f
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WinDefend" /v "start" /t reg_dword /d "4" /f
echo //禁用防火墙。(禁用后可能导致病毒入侵)
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\mpssvc" /v "start" /t reg_dword /d "4" /f
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\wscsvc" /v "start" /t reg_dword /d "4" /f

echo //禁用windows更新。
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\UsoSvc " /v "start" /t reg_dword /d "4" /f
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\wuauserv" /v "start" /t reg_dword /d "4" /f
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WaaSMedicSvc" /v "start" /t reg_dword /d "4" /f
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\wuauserv" /v "WOW64" /t reg_dword /d "332" /f
echo //禁用windows备份。
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SDRSVC" /v "start" /t reg_dword /d "4" /f
echo //禁用BITS。
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\BITS" /v "start" /t reg_dword /d "4" /f

echo //禁用windows诊断以及传递优化(如禁用,则软件崩溃情况下不会出现恢复框,办公党慎用)
net stop WdiServiceHost
net stop WdiSystemHost
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\DoSvc" /v "start" /t reg_dword /d "4" /f
net stop DPS

echo //禁用Cortana小娜,可能会导致相关功能不可用,恢复脚本可重新打开。
echo y|reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Windows Search"
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Windows Search"
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Windows Search" /v "AllowCortana" /t reg_dword /d "0" /f

 

除特别注明外,本站所有文章均为安装打印机网原创,转载请注明出处来自https://www.azdyj.com/4812.html

发表评论

暂无评论

登录

忘记密码 ?

切换登录

注册