上一主题下一主题
«12»Pages: 1/2     Go
主题 : WIN7服务项优化批处理文件
级别: 初声乍地
UID: 243700
精华: 0
发帖: 9
威望: 5 点
无痕币: 25 WHB
贡献值: 0 点
在线时间: 6(时)
注册时间: 2014-12-06
最后登录: 2015-01-12

0 WIN7服务项优化批处理文件

把下面代码复制在记事本里面,保存为BAT文件,双击执行即可对系统服务自动进行修改。
@rem 本优化经长时间运行验证对系统无任何不良影响,请放心使用!运行前请导出服务列表备用
sc config   AxInstSV start= DEMAND
sc config   SensrSvc start= DEMAND
sc config   AppIDSvc start= DEMAND
sc config   Appinfo start= DEMAND
sc config   ALG start= DEMAND
sc config   AppMgmt= DEMAND
sc config   BITS= DEMAND
sc config   BFE= AUTO
sc config   BDESVC= DEMAND
sc config   wbengine= DEMAND
sc config   bthserv= DEMAND
sc config   PeerDistSvc= DEMAND
sc config   CertPropSvc= DEMAND
sc config   KeyIso= DEMAND
sc config   COMSysApp= DEMAND
sc config   Browser= DEMAND
sc config   VaultSvc= DEMAND
sc config   CryptSvc= AUTO
sc config   DcomLaunch= AUTO
sc config   UxSms= AUTO
sc config   Dhcp= AUTO
sc config   DPS= DEMAND
sc config   WdiServiceHost= DEMAND
sc config   WdiSystemHost= DEMAND
sc config   defragsvc= DEMAND
sc config   TrkWks= DEMAND
sc config   MSDTC= DEMAND
sc config   Dnscache= DEMAND
sc config   EFS= DEMAND
sc config   EapHost= DEMAND
sc config   fdPHost= DEMAND
sc config   FDResPub= DEMAND
sc config   gpsvc= AUTO
sc config   hkmsvc= DEMAND
sc config   HomeGroupListener= DEMAND
sc config   HomeGroupProvider= DEMAND
sc config   hidserv= DISABLED
sc config   IKEEXT= DEMAND
sc config   UI0Detect= DEMAND
sc config   SharedAccess= DEMAND
sc config   iphlpsvc= AUTO
sc config   PolicyAgent= DISABLED
sc config   KtmRm= DEMAND
sc config   lltdsvc= DEMAND
sc config   Mcx2Svc= DISABLED
sc config   MSiSCSI= DEMAND
sc config   swprv= DEMAND
sc config   MMCSS= AUTO
sc config   NetTcpPortSharing= DISABLED
sc config   Netlogon= DEMAND
sc config   napagent= DEMAND
sc config   Netman= DEMAND
sc config   netprofm= DEMAND
sc config   NlaSvc= AUTO
sc config   nsi= AUTO
sc config   ose= DEMAND
sc config   CscService= DEMAND
sc config   WPCSvc= DEMAND
sc config   PNRPsvc= DEMAND
sc config   p2psvc= DEMAND
sc config   p2pimsvc= DEMAND
sc config   PerfHost= DEMAND
sc config   pla= DEMAND
sc config   PlugPlay= AUTO
sc config   IPBusEnum= DEMAND
sc config   PNRPAutoReg= DEMAND
sc config   WPDBusEnum= DEMAND
sc config   Power= AUTO
sc config   Spooler= DEMAND
sc config   wercplsupport= DEMAND
sc config   PcaSvc= AUTO
sc config   ProtectedStorage= DEMAND
sc config   QWAVE= DEMAND
sc config   RasAuto= DEMAND
sc config   RasMan= DEMAND
sc config   SessionEnv= DEMAND
sc config   TermService= DEMAND
sc config   UmRdpService= DEMAND
sc config   RpcSs= AUTO
sc config   RpcLocator= DEMAND
sc config   RemoteRegistry= DISABLED
sc config   RemoteAccess= DISABLED
sc config   RpcEptMapper= AUTO
sc config   seclogon= DEMAND
sc config   SstpSvc= DEMAND
sc config   SamSs= AUTO
sc config   wscsvc= AUTO
sc config   LanmanServer= DEMAND
sc config   ShellHWDetection= AUTO
sc config   SCardSvr= DEMAND
sc config   SCPolicySvc= DEMAND
sc config   SNMPTRAP= DEMAND
sc config   sppuinotify= DEMAND
sc config   SSDPSRV= DISABLED
sc config   SysMain= AUTO
sc config   SENS= AUTO
sc config   TabletInputService= DEMAND
sc config   Schedule= AUTO
sc config   lmhosts= AUTO
sc config   TapiSrv= DEMAND
sc config   Themes= AUTO
sc config   THREADORDER= DEMAND
sc config   TBS= DEMAND
sc config   upnphost= DEMAND
sc config   ProfSvc= AUTO
sc config   vds= DEMAND
sc config   VSS= DEMAND
sc config   WebClient= DEMAND
sc config   AudioSrv= AUTO
sc config   AudioEndpointBuilder= AUTO
sc config   SDRSVC= DEMAND
sc config   WbioSrvc= DEMAND
sc config   idsvc= DEMAND
sc config   WcsPlugInService= DEMAND
sc config   wcncsvc= DEMAND
sc config   wudfsvc= AUTO
sc config   WerSvc= DISABLED
sc config   Wecsvc= DEMAND
sc config   eventlog= AUTO
sc config   MpsSvc= AUTO
sc config   FontCache= DEMAND
sc config   stisvc= DISABLED
sc config   msiserver= DEMAND
sc config   Winmgmt= AUTO
sc config   ehRecvr= DEMAND
sc config   ehSched= DEMAND
sc config   WMPNetworkSvc= DEMAND
sc config   TrustedInstaller= DEMAND
sc config   FontCache3.0.0.0= DEMAND
sc config   WinRM= DEMAND
sc config   WSearch= DISABLED
sc config   W32Time= AUTO
sc config   wuauserv= DISABLED
sc config   WinHttpAutoProxySvc= DEMAND
sc config   dot3svc= DEMAND
sc config   Wlansvc= DEMAND
sc config   wmiApSrv= DEMAND
sc config   LanmanWorkstation= AUTO
sc config   WwanSvc= DEMAND
sc config   Fax= DEMAND

千山同一月 万户尽皆春 千江有水千江月 万里无云万里天
级别: 总版主

UID: 998
精华: 0
发帖: 605045
威望: 529583 点
无痕币: 26 WHB
贡献值: 0 点
在线时间: 62516(时)
注册时间: 2008-12-25
最后登录: 2024-05-14

这个不乱用的啊
级别: 六行秋雁
UID: 570
精华: 0
发帖: 1075
威望: 21392 点
无痕币: 24751 WHB
贡献值: 2 点
在线时间: 311(时)
注册时间: 2007-11-25
最后登录: 2018-05-16

应该解释下为什么这样优化,否则一般不敢用的。
级别: 五分秋意
UID: 231
精华: 0
发帖: 676
威望: 8549 点
无痕币: 4951 WHB
贡献值: 0 点
在线时间: 173(时)
注册时间: 2007-11-25
最后登录: 2022-04-06

真的不敢用啊。
生于忧患,死于安乐!
级别: 六行秋雁

UID: 952
精华: 0
发帖: 2614
威望: 23012 点
无痕币: 114 WHB
贡献值: 29 点
在线时间: 1240(时)
注册时间: 2007-11-26
最后登录: 2024-05-07

有些服务要吃透才可以优化,针对某一个行业有些服务是必须的,有些就是可要可不要。。
级别: 初声乍地
UID: 243670
精华: 0
发帖: 6
威望: 0 点
无痕币: 13 WHB
贡献值: 0 点
在线时间: 1(时)
注册时间: 2014-12-05
最后登录: 2015-08-01

本来想下,但是没说明啊
级别: 初声乍地
UID: 243700
精华: 0
发帖: 9
威望: 5 点
无痕币: 25 WHB
贡献值: 0 点
在线时间: 6(时)
注册时间: 2014-12-06
最后登录: 2015-01-12

回 5楼(toby1111) 的帖子

图片:
我发这个文件的目的是大家交流学习,并不是让你直接复制去用.每个机器用途不一样,这里只是提供一个思路,你完全可以自己写.现将这些命令解释一下:
SC         用于启动服务控制 器的命令行程序
config      命令参数 ,意思是永久更改服务配置,说白了就是将服务项设置为"自动,手动,禁用"
后面跟的就是服务名称了
"="号后的就是"自动,手动,禁用",AUTO-----自动,DEMAND-------手动, DISABLED-------禁用.
本帖最近评分记录:
  • 威望:+5(dslgk) 感谢分享
  • 级别: 六行秋雁
    UID: 230652
    精华: 0
    发帖: 3198
    威望: 18357 点
    无痕币: 23314 WHB
    贡献值: 0 点
    在线时间: 551(时)
    注册时间: 2014-05-05
    最后登录: 2024-05-14

    还真不能乱用!
    级别: 六行秋雁

    UID: 4295
    精华: 0
    发帖: 7880
    威望: 14716 点
    无痕币: 1895 WHB
    贡献值: 0 点
    在线时间: 2306(时)
    注册时间: 2007-12-12
    最后登录: 2023-09-25

    不能随便用的
    级别: 七朵秋菊

    UID: 24608
    精华: 0
    发帖: 4201
    威望: 48516 点
    无痕币: 61922 WHB
    贡献值: 0 点
    在线时间: 638(时)
    注册时间: 2008-04-27
    最后登录: 2024-05-14

    搞明白才敢用
    上一主题下一主题
    «12»Pages: 1/2     Go
    Total 0.071290(s) query 5, Time now is:05-14 21:33, Gzip enabled 粤ICP备07514325号-1
    Powered by PHPWind v7.3.2 Certificate Code © 2003-13 秋无痕论坛