Chinaunix首页 | 论坛 | 博客
  • 博客访问: 573259
  • 博文数量: 609
  • 博客积分: 4000
  • 博客等级: 上校
  • 技术积分: 4995
  • 用 户 组: 普通用户
  • 注册时间: 2008-10-17 13:59
文章分类

全部博文(609)

文章存档

2011年(1)

2008年(608)

我的朋友

分类:

2008-10-17 14:21:02


  关于 XP的Service优化方面的资料有很多,里面对应该对哪些东西优化,不应该对哪些东西优化,也基本上都讲得挺清楚的。
  
  但是往往每次重装系统后都要重新来过,嫌麻烦,就自己作了一个.bat的文件,供大家参考。
  
  @echo off
  
  echo ----===+++WARNING!!! WARNING!!! WARNING!!! 警告+++===----
  
  echo ----===+++RUNNING THIS FILE MAY CAUSE YOUR WINDOWS FAILURE+++===----
  
  echo ----===+++RUN BY YOUR OWN RISK!!!+++===----
  
  echo ----===+++CLOSE THE DOS COMMAND WINDOW TO ABORT OR PRESS ANY KEY TO CONTINUE!!!+++===----
  
  PAUSE
  
  echo ----===+++This is for XP Professional SP1 and/or SP2+++===----
  
  echo ----===+++Run this bat only one time is OK!! Then restart your P+===----
  
  @ECHO ON
  
  sc config ALG start= demand
  
  sc config Alerter start= disabled
  
  sc config AppMgmt start= demand
  
  REM I dont' like Automatic Updates Service, so I disabled it!
  
  sc config Wuauserv start= disabled
  
  sc config BITS start= demand
  
  sc config ClipSrv start= disabled
  
  sc config EventSystem start= demand
  
  sc config COMSysApp start= demand
  
  sc config Browser start= auto
  
  sc config CryptSvc start= demand
  
  sc config DcomLaunch start= auto
  
  sc config Dhcp start= auto
  
  sc config TrkWks start= demand
  
  sc config MSDTC start= demand
  
  sc config Dnscache start= disabled
  
  sc config ERSvc start= disabled
  
  REM This one must NOT be stopped!!
  
  sc config Eventlog start= auto
  
  sc config FastUserSwitchingCompatibility start= demand
  
  sc config helpsvc start= disabled
  
  sc config HidServ start= demand
  
  sc config HTTPFilter start= auto
  
  sc config ImapiService start= disabled
  
  sc config cisvc start= disabled
  
  sc config SharedAccess start= demand
  
  sc config PolicyAgent start= demand
  
  sc config dmserver start= auto
  
  sc config dmadmin start= demand
  
  sc config MDM start= demand
  
  sc config Messenger start= disabled
  
  sc config SwPrv start= disabled
  
  sc config Netlogon start= demand
  
  sc config mnmsrvc start= disabled
  
  sc config Netman start= auto
  
  sc config NetDDE start= disabled
  
  sc config NetDDEdsdm start= disabled
  
  sc config Nla start= disabled
  
  sc config xmlprov start= demand
  
  sc config NtLmSsp start= disabled
  
  sc config SysmonLog start= disabled
  
  sc config PlugPlay start= auto
  
  sc config WmdmPmSp start= disabled
  
  sc config Spooler start= auto
  
  sc config ProtectedStorage start= auto
  
  sc config RSVP start= disabled
  
  sc config RasAuto start= demand
  
  sc config RasMan start= demand
  
  sc config RDSessMgr start= Disabled
  
  sc config RpcSs start= auto
  
  sc config RpcLocator start= demand
  
  sc config RemoteRegistry start= disabled
  
  sc config NtmsSvc start= demand
  
  sc config RemoteAccess start= disabled
  
  sc config seclogon start= demand
  
  sc config SamSs start= demand
  
  sc config wscsvc start= demand
  
  sc config lanmanserver start= demand
  
  sc config ShellHWDetection start= demand
  
  sc config SCardSvr start= disabled
  
  sc config SCardDrv start= disabled
  
  sc config SSDPSRV start= demand
  
  sc config SENS start= auto
  
  sc config srservice start= disabled
  
  sc config Schedule start= auto
  
  sc config LmHosts start= demand
  
  sc config TapiSrv start= demand
  
  sc config TlntSvr start= disabled
  
  sc config TermService start= demand
  
  sc config Themes start= auto
  
  sc config UPS start= disabled
  
  sc config upnphost start= disabled
  
  sc config uploadmgr start= disabled
  
  sc config VSS start= disabled
  
  sc config WebClient start= disabled
  
  sc config AudioSrv start= auto
  
  sc config SharedAccess start= auto
  
  sc config stisvc start= disabled
  
  sc config MSIServer start= demand
  
  sc config minmgmt start= auto
  
  sc config Wmi start= demand
  
  sc config W32Time start= disabled
  
  REM Wireless Zero configuration
  
  sc config WZCSVC start= auto
  
  sc config WmiApSrv start= demand
  
  sc config lanmanworkstation start= auto
  
  REM Windows User Mode Driver Framework, installed with Media Player 10, used for External mp3 music players sync with MP10
  
  sc config UMWdf start= demand
  
  下面这个URL供大家参考,里面对每个service的“真正”含义都有解释,不过是E文的。
  
  这个文件不是普适的,最好针对每个不同的环境进行定制,所以如果你想尝试的话,最好先作好备份;当然更好的办法是真正弄清楚每个service的作用。
【责编:admin】

--------------------next---------------------

阅读(367) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~