win7服务优化工具手动制作.docx
- 文档编号:30376585
- 上传时间:2023-08-14
- 格式:DOCX
- 页数:113
- 大小:43.26KB
win7服务优化工具手动制作.docx
《win7服务优化工具手动制作.docx》由会员分享,可在线阅读,更多相关《win7服务优化工具手动制作.docx(113页珍藏版)》请在冰豆网上搜索。
win7服务优化工具手动制作
Win7服务优化小工具,使用方法:
首先,新建一个txt文档,复制一下内容(注意:
@echooff开始往下复制),保存文档,然后,更改.txt文档的扩展名为.bat或者.com,现在小工具就制作完成了,最后双击你自己制作的工具一步步操作吧.
@echooff
color0A
titleWindosSeven服务优化批处理速达社区专用--当前时间:
%time%
echo========================================================================
echoWindosSeven服务优化批处理速达社区专用
echo========================================================================
echo.
echo与WindowsXP和Windows2003才七十多个服务相比,WindosVista已经增加到一百三十多个服务,而WindosSeven也继续继承了这一特点,这不可避免地加大了系统资源占用,拖慢了系统速度,因此,手工优化服务就显得更加重要。
echo.
echo默认开启AERO,开启自动更新(检查更新但让我选择是否下载和安装)。
echo.
echo其他的服务,可以具体的根据自己的需要来定制。
。
。
。
。
echo.
echo.
echo开始进行系统服务优化……
echo.
echo.
echo.
pause
:
return
cls
@echooff
color0A
titleWindosSeven服务优化批处理--当前时间:
%time%
echo========================================================================
echoWindosSeven服务优化批处理速达社区专用
echo========================================================================
echo.
:
services
echo=-=-=-=-=请选择需要执行的操作=-=-=-=-=
echo.
echo.
echo.
echo1.还原系统默认服务
echo.
echo2.备份当前服务状态
echo.
echo3.开始系统服务优化
echo.
echo.
echo.
echo.
set/pyn="请输入选择项目的序号(1、2、3...):
"
if%yn%==1gotoreductive
if%yn%==2gotobackup
if%yn%==3gotooptimize
cls
echo========================================================================
echoWindosSeven服务优化批处理速达社区专用
echo========================================================================
echo.
echo输入错误,请重新输入。
。
。
。
。
echo.
gotoservices
:
reductive
cls
@echooff
color0A
titleWindosSeven默认服务还原批处理--当前时间:
%time%
scconfigAeLookupSvcstart=DEMAND
scconfigALGstart=DEMAND
scconfigAppIDSvcstart=DEMAND
scconfigAppinfostart=DEMAND
scconfigAppMgmtstart=DEMAND
scconfigAudioEndpointBuilderstart=AUTO
scconfigAudiosrvstart=AUTO
scconfigAxInstSVstart=DEMAND
scconfigBDESVCstart=DEMAND
scconfigBFEstart=AUTO
scconfigBITSstart=AUTO
scconfigBrowserstart=DEMAND
scconfigbthservstart=DEMAND
scconfigCertPropSvcstart=DEMAND
scconfigclr_optimization_v2.0.50727_32start=AUTO
scconfigCOMSysAppstart=DEMAND
scconfigCryptSvcstart=AUTO
scconfigCscServicestart=AUTO
scconfigdefragsvcstart=DEMAND
scconfigDhcpstart=AUTO
scconfigDnscachestart=AUTO
scconfigdot3svcstart=DEMAND
scconfigDPSstart=AUTO
scconfigEapHoststart=DEMAND
scconfigEFSstart=DEMAND
scconfigehRecvrstart=DEMAND
scconfigehSchedstart=DEMAND
scconfigeventlogstart=AUTO
scconfigEventSystemstart=AUTO
scconfigFaxstart=DEMAND
scconfigfdPHoststart=DEMAND
scconfigFDResPubstart=AUTO
scconfigFontCachestart=DEMAND
scconfigFontCache3.0.0.0start=DEMAND
scconfighidservstart=DEMAND
scconfighkmsvcstart=DEMAND
scconfigHomeGroupListenerstart=DEMAND
scconfigHomeGroupProviderstart=DEMAND
scconfigidsvcstart=DEMAND
scconfigIKEEXTstart=DEMAND
scconfigIPBusEnumstart=DEMAND
scconfigiphlpsvcstart=AUTO
scconfigKeyIsostart=DEMAND
scconfigKtmRmstart=DEMAND
scconfigLanmanServerstart=AUTO
scconfigLanmanWorkstationstart=AUTO
scconfiglltdsvcstart=DEMAND
scconfiglmhostsstart=AUTO
scconfigMMCSSstart=AUTO
scconfigMpsSvcstart=AUTO
scconfigMSDTCstart=DEMAND
scconfigMSiSCSIstart=DEMAND
scconfigmsiserverstart=DEMAND
scconfignapagentstart=DEMAND
scconfigNetlogonstart=DEMAND
scconfigNetmanstart=DEMAND
scconfignetprofmstart=DEMAND
scconfigNetTcpPortSharingstart=DISABLED
scconfigNlaSvcstart=AUTO
scconfignsistart=AUTO
scconfigp2pimsvcstart=DEMAND
scconfigp2psvcstart=DEMAND
scconfigPcaSvcstart=DEMAND
scconfigPeerDistSvcstart=DEMAND
scconfigplastart=DEMAND
scconfigPNRPAutoRegstart=DEMAND
scconfigPNRPsvcstart=DEMAND
scconfigPolicyAgentstart=DEMAND
scconfigProfSvcstart=AUTO
scconfigProtectedStoragestart=DEMAND
scconfigQWAVEstart=DEMAND
scconfigRasAutostart=DEMAND
scconfigRasManstart=DEMAND
scconfigRemoteAccessstart=DISABLED
scconfigRemoteRegistrystart=DEMAND
scconfigRpcLocatorstart=DEMAND
scconfigSamSsstart=AUTO
scconfigSCardSvrstart=DEMAND
scconfigSCPolicySvcstart=DEMAND
scconfigSDRSVCstart=DEMAND
scconfigseclogonstart=DEMAND
scconfigSENSstart=AUTO
scconfigSensrSvcstart=DEMAND
scconfigSessionEnvstart=DEMAND
scconfigShellHWDetectionstart=AUTO
scconfigSNMPTRAPstart=DEMAND
scconfigSpoolerstart=AUTO
scconfigsppsvcstart=AUTO
scconfigsppuinotifystart=DEMAND
scconfigSSDPSRVstart=DEMAND
scconfigSstpSvcstart=DEMAND
scconfigStiSvcstart=DEMAND
scconfigswprvstart=DEMAND
scconfigSysMainstart=AUTO
scconfigTabletInputServicestart=DEMAND
scconfigTapiSrvstart=DEMAND
scconfigTBSstart=DEMAND
scconfigTermServicestart=DEMAND
scconfigThemesstart=AUTO
scconfigTHREADORDERstart=DEMAND
scconfigTrkWksstart=AUTO
scconfigTrustedInstallerstart=AUTO
scconfigUI0Detectstart=DEMAND
scconfigUmRdpServicestart=DEMAND
scconfigupnphoststart=DEMAND
scconfigUxSmsstart=AUTO
scconfigVaultSvcstart=DEMAND
scconfigvdsstart=DEMAND
scconfigVSSstart=DEMAND
scconfigW32Timestart=DEMAND
scconfigwbenginestart=DEMAND
scconfigWbioSrvcstart=DEMAND
scconfigwcncsvcstart=DEMAND
scconfigWcsPlugInServicestart=DEMAND
scconfigWdiServiceHoststart=DEMAND
scconfigWdiSystemHoststart=DEMAND
scconfigWebClientstart=DEMAND
scconfigWecsvcstart=DEMAND
scconfigwercplsupportstart=DEMAND
scconfigWerSvcstart=DEMAND
scconfigWinDefendstart=AUTO
scconfigWinHttpAutoProxySvcstart=DEMAND
scconfigWinmgmtstart=AUTO
scconfigWinRMstart=DEMAND
scconfigWlansvcstart=DEMAND
scconfigwmiApSrvstart=DEMAND
scconfigWMPNetworkSvcstart=DEMAND
scconfigWPCSvcstart=DEMAND
scconfigWPDBusEnumstart=DEMAND
scconfigwscsvcstart=AUTO
scconfigWSearchstart=AUTO
scconfigwuauservstart=AUTO
scconfigwudfsvcstart=DEMAND
scconfigWwanSvcstart=DEMAND
cls
@echo========================================================================
@echoWindowsSeven服务优化批处理速达社区专用
@echo========================================================================
echo.
echo.
@echo服务恢复完成,重启即可生效
echo.
echo.
@echo正在退出,请稍后……
ping-n3127.1>nul
gotoreturn
:
backup
cls
@echooff
color0A
titleWindosSeven服务优化批处理--当前时间:
%time%
echo========================================================================
echoWindosSeven服务优化处理备份速达社区专用
echo========================================================================
remgetallservicename
scquerytype=servicestate=all|findstr/r/C:
"SERVICE_NAME:
">C:
\tmpsrv.txt
echoSaveServiceStartStateInC:
\WindowsSeven服务备份.bat
remsaveservicestartstateintobatchfile
rem
echo@echoRestoreTheServiceStartStateSavedAt%TIME%%DATE%>"C:
\WindowsSeven服务备份.bat"
echo@pause>>C:
\WindowsSeven服务备份.bat
for/f"tokens=2delims=:
"%%jin(C:
\tmpsrv.txt)do@(scqc%%j|findstrSTART_TYPE>C:
\tmpstype.txt&&for/f"tokens=4delims=:
_"%%sin(C:
\tmpstype.txt)do@echoscconfig%%jstart=%%s>>"C:
\WindowsSeven服务备份.bat")
echo@pause>>C:
\WindowsSeven服务备份.bat
delC:
\tmpsrv.txt
delC:
\tmpstype.txt
gotoreturn
:
optimize
cls
@echooff
color0A
titleWindosSeven服务优化批处理--当前时间:
%time%
echo========================================================================
echoWindosSeven服务优化批处理速达社区专用
echo========================================================================
echo.
:
config
echo名称:
PrintSpooler
echo你即将对打印服务进行处理,请确定你“是”“否”使用打印机。
echo补充:
如果没有打印机,或者你不需要虚拟、本地和网络的打印机,那么可以关掉。
echo.
set/pyn="请输入Y(开启服务)或N(禁用服务)"
if%yn%==ygotoauto
if%yn%==Ygotoauto
if%yn%==ngotodis
if%yn%==Ngotodis
cls
echo========================================================================
echoWindosSeven服务优化批处理速达社区专用
echo========================================================================
echo.
echo输入错误,请重新输入。
。
。
。
。
echo.
gotoconfig
:
auto
scconfigspoolerstart=AUTO
gotoend
:
dis
scconfigspoolerstart=DISABLED
:
end
echo========================================================================
cls
echo========================================================================
echoWindosSeven服务优化批处理速达社区专用
echo========================================================================
echo.
:
hidserv
echo名称:
HumanInterfaceDeviceAccess
echo你即将对键盘功能键服务进行处理,请确定你“是”“否”使用键盘功能键。
echo补充:
如果你不想你机器或笔记本键盘上面的那些特别的附加按键起作用、不用游戏手柄之类可以关掉这个服务。
echo.
set/pyn="请输入Y(开启服务)或N(禁用服务)"
if%yn%==ygotoauto
if%yn%==Ygotoauto
if%yn%==ngotodis
if%yn%==Ngotodis
cls
echo========================================================================
echoWindosSeven服务优化批处理速达社区专用
echo========================================================================
echo.
echo输入错误,请重新输入。
。
。
。
。
echo.
gotohidserv
:
auto
scconfighidservstart=DEMAND
gotoend
:
dis
scconfighidservstart=DISABLED
:
end
echo========================================================================
cls
echo========================================================================
echoWindosSeven服务优化批处理速达社区专用
echo========================================================================
echo.
:
bthserv
echo名称:
BluetoothSupportService
echo你即将对蓝牙服务支持进行处理,请确定你“是”“否”使用蓝牙服务。
echo补充:
如果你机器上没有蓝牙设备或USB蓝牙适配器可以关掉这个服务。
echo.
set/pyn="请输入Y(开启服务)或N(禁用服务)"
if%yn%==ygotoauto
if%yn%==Ygotoauto
if%yn%==ngotodis
if%yn%==Ngotodis
cls
echo==
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- win7 服务 优化 工具 手动 制作