九 附件:
上面提到“最精简服务模式”,下面补充其它的一些模式方便选择,在附上
代码前先简单扼要的就模式选择作个建议:
【家用电脑优化模式】
在默认XP安装设置服务的基础上,关闭了大多数情况下不被使用的打印服务、计算
机浏览服务、网络文件夹共享、终端服务和红外线设备支持、无线网络支持;为了
保障系统安全,开启了XP自带防火墙功能的支持.
适合在家庭中的PC机进行上网、游戏、音视频播放、文档处理等工作。
【办公电脑优化模式】
在默认XP安装设置服务的基础上,关闭了少量服务,包括终端服务和红外线设备支
持、无线网络支持;而保留了在局域网办公环境下经常使用的网络文件夹共享、打
印机服务等功能以及部分兼容性服务,同样开启了XP自带防火墙的支持。
适合在大多数办公主机除了完成家庭电脑的功能外,顺利的进行办公和开发环境下
的各项工作。
【校园电脑优化模式】
根据校园网上网环境的特点,有针对性的对各项服务进行了设置,关闭了一些无用
服务,包括打印服务、终端服务和红外线设备支持、无线网络支持;保留了网络文
件夹共享、开启了XP自带防火墙。
适合校园网的用户进行上网、游戏、音视频播放、文档处理、文件共享等常见活动
。
【笔记本电脑优化模式】
在默认XP安装设置服务的基础上,关闭了少量服务,由于大多数笔记本同时也用来
办公,因此在办公电脑优化模式的基础上,进一步开启了无线网络和红外线设备支
持。
适合大多数移动办公和笔记本用户使用,这也是适用性最好的一种模式,该模式第
一次装完,XP系统占用内存约70M。
【网吧电脑优化模式】
根据网吧环境的特点,有针对性的对各项服务进行了设置,关闭了大量无用服务,
包括打印服务、终端服务和红外线设备支持、无线网络支持;关闭了windows自动升
级和XP自带防火墙功能,保留了网络文件夹共享。
适合网吧用户进行上网、游戏、音视频播放、文档处理等常见活动。第一次安装完
XP系统内存占用约55M。
【最精简优化模式】
在不影响大多数软件和硬件运行的前提下,已经尽可能关闭非必要服务,第一次安
装完系统使用内存50M。之后,你可以根据自己主机的应用情况,在自定义服务启
动页面设置你所需要的服务。
这种模式仅建议高级用户使用,如果在后续设置页面你没有选择合适的服务,将可
能使系统部分功能无法正常使用。
将上面“一键清理系统垃圾文件”作的*.bat文件,复制后连续粘贴几个,分别点右键,点击
编缉,全选,删除,使之变成空白文件,然后分别粘贴下面代码,保存后作相应的重命名即可.
代码---所有代码来自网络
@echo Restore The Service Start State Saved At 18:17:30.34 2006-08-15 星期二 @pause sc config Alerter start= DISABLED sc config ALG start= DEMAND sc config AppMgmt start= DEMAND sc config AudioSrv start= AUTO sc config BITS start= DISABLED sc config Browser start= DEMAND sc config CiSvc start= DISABLED sc config ClipSrv start= DISABLED sc config COMSysApp start= DEMAND sc config CryptSvc start= AUTO sc config DcomLaunch start= AUTO sc config Dhcp start= AUTO sc config dmadmin start= DEMAND sc config dmserver start= DEMAND sc config Dnscache start= AUTO sc config ERSvc start= DISABLED sc config Eventlog start= AUTO sc config EventSystem start= DEMAND sc config FastUserSwitchingCompatibility start= DEMAND sc config helpsvc start= DISABLED sc config HidServ start= DISABLED sc config HTTPFilter start= DEMAND sc config ImapiService start= DEMAND sc config lanmanserver start= DEMAND sc config lanmanworkstation start= AUTO sc config LmHosts start= DEMAND sc config Messenger start= DISABLED sc config mnmsrvc start= DEMAND sc config MSDTC start= DEMAND sc config MSIServer start= DEMAND sc config NetDDE start= DISABLED sc config NetDDEdsdm start= DISABLED sc config Netlogon start= DEMAND sc config Netman start= DEMAND sc config Nla start= DEMAND sc config NtLmSsp start= DEMAND sc config NtmsSvc start= DEMAND sc config PlugPlay start= AUTO sc config PolicyAgent start= DEMAND sc config ProtectedStorage start= AUTO sc config RasAuto start= DEMAND sc config RasMan start= DEMAND sc config RDSessMgr start= DEMAND sc config RemoteAccess start= DISABLED sc config RemoteRegistry start= DISABLED sc config RpcLocator start= DEMAND sc config RpcSs start= AUTO sc config RSVP start= DEMAND sc config SamSs start= AUTO sc config SCardSvr start= DEMAND sc config Schedule start= AUTO sc config seclogon start= DEMAND sc config SENS start= AUTO sc config SharedAccess start= DEMAND sc config ShellHWDetection start= AUTO sc config Spooler start= DEMAND sc config srservice start= DISABLED sc config SSDPSRV start= DISABLED sc config stisvc start= DEMAND sc config SwPrv start= DEMAND sc config SysmonLog start= DEMAND sc config TapiSrv start= DEMAND sc config TermService start= DISABLED sc config Themes start= DEMAND sc config TlntSvr start= DISABLED sc config TrkWks start= DEMAND sc config upnphost start= DEMAND sc config UPS start= DEMAND sc config VSS start= DEMAND sc config W32Time start= DEMAND sc config WebClient start= DEMAND sc config winmgmt start= AUTO sc config WmdmPmSN start= DEMAND sc config Wmi start= DEMAND sc config WmiApSrv start= DEMAND sc config wscsvc start= DEMAND sc config wuauserv start= DISABLED sc config WZCSVC start= DEMAND sc config xmlprov start= DEMAND @pause
最精简服务模式 |
@echo off echo 正在清理系统垃圾文件,请稍等...... del /f /s /q %systemdrive%\*.tmp del /f /s /q %systemdrive%\*._mp del /f /s /q %systemdrive%\*.log del /f /s /q %systemdrive%\*.gid del /f /s /q %systemdrive%\*.chk del /f /s /q %systemdrive%\*.old del /f /s /q %systemdrive%\recycled\*.* del /f /s /q %windir%\*.bak del /f /s /q %windir%\prefetch\*.* rd /s /q %windir%\temp & md %windir%\temp del /f /q %userprofile%\cookies\*.* del /f /q %userprofile%\recent\*.* del /f /s /q "%userprofile%\Local Settings\Temporary Internet Files\*.*" del /f /s /q "%userprofile%\Local Settings\Temp\*.*" del /f /s /q "%userprofile%\recent\*.*" echo 清理系统垃圾完成! echo. & pause
清理系统垃圾 |
@echo Restore The Service Start State Saved At 18:27:43.87 2006-08-15 星期二 @pause sc config Alerter start= DISABLED sc config ALG start= DEMAND sc config AppMgmt start= DEMAND sc config AudioSrv start= AUTO sc config BITS start= DEMAND sc config Browser start= AUTO sc config CiSvc start= DISABLED sc config ClipSrv start= DISABLED sc config COMSysApp start= DEMAND sc config CryptSvc start= AUTO sc config DcomLaunch start= AUTO sc config Dhcp start= AUTO sc config dmadmin start= DEMAND sc config dmserver start= DEMAND sc config Dnscache start= AUTO sc config ERSvc start= DISABLED sc config Eventlog start= AUTO sc config EventSystem start= DEMAND sc config FastUserSwitchingCompatibility start= DEMAND sc config helpsvc start= DISABLED sc config HidServ start= DISABLED sc config HTTPFilter start= DEMAND sc config ImapiService start= DEMAND sc config lanmanserver start= AUTO sc config lanmanworkstation start= AUTO sc config LmHosts start= AUTO sc config Messenger start= DISABLED sc config mnmsrvc start= DEMAND sc config MSDTC start= DEMAND sc config MSIServer start= DEMAND sc config NetDDE start= DISABLED sc config NetDDEdsdm start= DISABLED sc config Netlogon start= DEMAND sc config Netman start= DEMAND sc config Nla start= AUTO sc config NtLmSsp start= DEMAND sc config NtmsSvc start= DEMAND sc config PlugPlay start= AUTO sc config PolicyAgent start= DEMAND sc config ProtectedStorage start= AUTO sc config RasAuto start= DEMAND sc config RasMan start= DEMAND sc config RDSessMgr start= DEMAND sc config RemoteAccess start= DISABLED sc config RemoteRegistry start= DISABLED sc config RpcLocator start= DEMAND sc config RpcSs start= AUTO sc config RSVP start= DEMAND sc config SamSs start= AUTO sc config SCardSvr start= DEMAND sc config Schedule start= AUTO sc config seclogon start= DEMAND sc config SENS start= AUTO sc config SharedAccess start= AUTO sc config ShellHWDetection start= AUTO sc config Spooler start= AUTO sc config srservice start= DISABLED sc config SSDPSRV start= DEMAND sc config stisvc start= DEMAND sc config SwPrv start= DEMAND sc config SysmonLog start= DEMAND sc config TapiSrv start= DEMAND sc config TermService start= DISABLED sc config Themes start= AUTO sc config TlntSvr start= DISABLED sc config TrkWks start= DEMAND sc config upnphost start= DEMAND sc config UPS start= DEMAND sc config VSS start= DEMAND sc config W32Time start= DEMAND sc config WebClient start= DEMAND sc config winmgmt start= AUTO sc config WmdmPmSN start= DEMAND sc config Wmi start= DEMAND sc config WmiApSrv start= DEMAND sc config wscsvc start= DEMAND sc config wuauserv start= AUTO sc config WZCSVC start= DEMAND sc config xmlprov start= DEMAND @pause
办公室模式 |
@echo Restore The Service Start State Saved At 18:24:49.20 2006-08-15 星期二 @pause sc config Alerter start= DISABLED sc config ALG start= DEMAND sc config AppMgmt start= DEMAND sc config AudioSrv start= AUTO sc config BITS start= DEMAND sc config Browser start= AUTO sc config CiSvc start= DISABLED sc config ClipSrv start= DISABLED sc config COMSysApp start= DEMAND sc config CryptSvc start= AUTO sc config DcomLaunch start= AUTO sc config Dhcp start= AUTO sc config dmadmin start= DEMAND sc config dmserver start= DEMAND sc config Dnscache start= AUTO sc config ERSvc start= DISABLED sc config Eventlog start= AUTO sc config EventSystem start= DEMAND sc config FastUserSwitchingCompatibility start= DEMAND sc config helpsvc start= DISABLED sc config HidServ start= DISABLED sc config HTTPFilter start= DEMAND sc config ImapiService start= DEMAND sc config lanmanserver start= AUTO sc config lanmanworkstation start= AUTO sc config LmHosts start= DEMAND sc config Messenger start= DISABLED sc config mnmsrvc start= DEMAND sc config MSDTC start= DEMAND sc config MSIServer start= DEMAND sc config NetDDE start= DISABLED sc config NetDDEdsdm start= DISABLED sc config Netlogon start= DEMAND sc config Netman start= DEMAND sc config Nla start= AUTO sc config NtLmSsp start= DEMAND sc config NtmsSvc start= DEMAND sc config PlugPlay start= AUTO sc config PolicyAgent start= DEMAND sc config ProtectedStorage start= AUTO sc config RasAuto start= DEMAND sc config RasMan start= DEMAND sc config RDSessMgr start= DEMAND sc config RemoteAccess start= DISABLED sc config RemoteRegistry start= DISABLED sc config RpcLocator start= DEMAND sc config RpcSs start= AUTO sc config RSVP start= DEMAND sc config SamSs start= AUTO sc config SCardSvr start= DEMAND sc config Schedule start= AUTO sc config seclogon start= DEMAND sc config SENS start= AUTO sc config SharedAccess start= AUTO sc config ShellHWDetection start= AUTO sc config Spooler start= DEMAND sc config srservice start= DISABLED sc config SSDPSRV start= DISABLED sc config stisvc start= DEMAND sc config SwPrv start= DEMAND sc config SysmonLog start= DEMAND sc config TapiSrv start= DEMAND sc config TermService start= DISABLED sc config Themes start= AUTO sc config TlntSvr start= DISABLED sc config TrkWks start= DEMAND sc config upnphost start= DEMAND sc config UPS start= DEMAND sc config VSS start= DEMAND sc config W32Time start= DEMAND sc config WebClient start= DEMAND sc config winmgmt start= AUTO sc config WmdmPmSN start= DEMAND sc config Wmi start= DEMAND sc config WmiApSrv start= DEMAND sc config wscsvc start= DEMAND sc config wuauserv start= AUTO sc config WZCSVC start= DEMAND sc config xmlprov start= DEMAND @pause
校园网模式 |
@echo Restore The Service Start State Saved At 18:22:39.04 2006-08-15 星期二 @pause sc config Alerter start= DISABLED sc config ALG start= DEMAND sc config AppMgmt start= DEMAND sc config AudioSrv start= AUTO sc config BITS start= DEMAND sc config Browser start= AUTO sc config CiSvc start= DISABLED sc config ClipSrv start= DISABLED sc config COMSysApp start= DEMAND sc config CryptSvc start= AUTO sc config DcomLaunch start= AUTO sc config Dhcp start= AUTO sc config dmadmin start= DEMAND sc config dmserver start= DEMAND sc config Dnscache start= AUTO sc config ERSvc start= DISABLED sc config Eventlog start= AUTO sc config EventSystem start= DEMAND sc config FastUserSwitchingCompatibility start= DEMAND sc config helpsvc start= DISABLED sc config HidServ start= DISABLED sc config HTTPFilter start= DEMAND sc config ImapiService start= DEMAND sc config lanmanserver start= AUTO sc config lanmanworkstation start= AUTO sc config LmHosts start= DEMAND sc config Messenger start= DISABLED sc config mnmsrvc start= DEMAND sc config MSDTC start= DEMAND sc config MSIServer start= DEMAND sc config NetDDE start= DISABLED sc config NetDDEdsdm start= DISABLED sc config Netlogon start= DEMAND sc config Netman start= DEMAND sc config Nla start= AUTO sc config NtLmSsp start= DEMAND sc config NtmsSvc start= DEMAND sc config PlugPlay start= AUTO sc config PolicyAgent start= AUTO sc config ProtectedStorage start= AUTO sc config RasAuto start= DEMAND sc config RasMan start= DEMAND sc config RDSessMgr start= DEMAND sc config RemoteAccess start= DISABLED sc config RemoteRegistry start= DISABLED sc config RpcLocator start= DEMAND sc config RpcSs start= AUTO sc config RSVP start= DEMAND sc config SamSs start= AUTO sc config SCardSvr start= DEMAND sc config Schedule start= AUTO sc config seclogon start= DEMAND sc config SENS start= AUTO sc config SharedAccess start= AUTO sc config ShellHWDetection start= AUTO sc config Spooler start= AUTO sc config srservice start= DISABLED sc config SSDPSRV start= DEMAND sc config stisvc start= DEMAND sc config SwPrv start= DEMAND sc config SysmonLog start= DEMAND sc config TapiSrv start= DEMAND sc config TermService start= DEMAND sc config Themes start= AUTO sc config TlntSvr start= DISABLED sc config TrkWks start= DEMAND sc config upnphost start= DEMAND sc config UPS start= DEMAND sc config VSS start= DEMAND sc config W32Time start= DEMAND sc config WebClient start= DEMAND sc config winmgmt start= AUTO sc config WmdmPmSN start= DEMAND sc config Wmi start= DEMAND sc config WmiApSrv start= DEMAND sc config wscsvc start= DEMAND sc config wuauserv start= AUTO sc config WZCSVC start= AUTO sc config xmlprov start= DEMAND @pause
笔记本电脑模式 |
@echo Restore The Service Start State Saved At 18:30:31.68 2006-08-15 星期二 @pause sc config Alerter start= DISABLED sc config ALG start= DEMAND sc config AppMgmt start= DEMAND sc config AudioSrv start= AUTO sc config BITS start= DEMAND sc config Browser start= AUTO sc config CiSvc start= DISABLED sc config ClipSrv start= DISABLED sc config COMSysApp start= DEMAND sc config CryptSvc start= AUTO sc config DcomLaunch start= AUTO sc config Dhcp start= AUTO sc config dmadmin start= DEMAND sc config dmserver start= DEMAND sc config Dnscache start= AUTO sc config ERSvc start= DISABLED sc config Eventlog start= AUTO sc config EventSystem start= DEMAND sc config FastUserSwitchingCompatibility start= DEMAND sc config helpsvc start= DISABLED sc config HidServ start= DISABLED sc config HTTPFilter start= DEMAND sc config ImapiService start= DEMAND sc config lanmanserver start= DEMAND sc config lanmanworkstation start= AUTO sc config LmHosts start= DEMAND sc config Messenger start= DISABLED sc config mnmsrvc start= DEMAND sc config MSDTC start= DEMAND sc config MSIServer start= DEMAND sc config NetDDE start= DISABLED sc config NetDDEdsdm start= DISABLED sc config Netlogon start= DEMAND sc config Netman start= DEMAND sc config Nla start= AUTO sc config NtLmSsp start= DEMAND sc config NtmsSvc start= DEMAND sc config PlugPlay start= AUTO sc config PolicyAgent start= DEMAND sc config ProtectedStorage start= AUTO sc config RasAuto start= DEMAND sc config RasMan start= DEMAND sc config RDSessMgr start= DEMAND sc config RemoteAccess start= DISABLED sc config RemoteRegistry start= DISABLED sc config RpcLocator start= DEMAND sc config RpcSs start= AUTO sc config RSVP start= DEMAND sc config SamSs start= AUTO sc config SCardSvr start= DEMAND sc config Schedule start= AUTO sc config seclogon start= DEMAND sc config SENS start= AUTO sc config SharedAccess start= AUTO sc config ShellHWDetection start= AUTO sc config Spooler start= DEMAND sc config srservice start= DISABLED sc config SSDPSRV start= DEMAND sc config stisvc start= DEMAND sc config SwPrv start= DEMAND sc config SysmonLog start= DEMAND sc config TapiSrv start= DEMAND sc config TermService start= DISABLED sc config Themes start= AUTO sc config TlntSvr start= DISABLED sc config TrkWks start= DEMAND sc config upnphost start= DEMAND sc config UPS start= DEMAND sc config VSS start= DEMAND sc config W32Time start= DEMAND sc config WebClient start= DEMAND sc config winmgmt start= AUTO sc config WmdmPmSN start= DEMAND sc config Wmi start= DEMAND sc config WmiApSrv start= DEMAND sc config wscsvc start= DEMAND sc config wuauserv start= AUTO sc config WZCSVC start= DEMAND sc config xmlprov start= DEMAND @pause
家用电脑模式 |
@echo Restore The Service Start State Saved At 18:20:48.12 2006-08-15 星期二 @pause sc config Alerter start= DISABLED sc config ALG start= DEMAND sc config AppMgmt start= DEMAND sc config AudioSrv start= AUTO sc config BITS start= DEMAND sc config Browser start= AUTO sc config CiSvc start= DISABLED sc config ClipSrv start= DISABLED sc config COMSysApp start= DEMAND sc config CryptSvc start= AUTO sc config DcomLaunch start= AUTO sc config Dhcp start= AUTO sc config dmadmin start= DEMAND sc config dmserver start= DEMAND sc config Dnscache start= AUTO sc config ERSvc start= DISABLED sc config Eventlog start= AUTO sc config EventSystem start= DEMAND sc config FastUserSwitchingCompatibility start= DEMAND sc config helpsvc start= DISABLED sc config HidServ start= DISABLED sc config HTTPFilter start= DEMAND sc config ImapiService start= DEMAND sc config lanmanserver start= AUTO sc config lanmanworkstation start= AUTO sc config LmHosts start= DEMAND sc config Messenger start= DISABLED sc config mnmsrvc start= DEMAND sc config MSDTC start= DEMAND sc config MSIServer start= DEMAND sc config NetDDE start= DISABLED sc config NetDDEdsdm start= DISABLED sc config Netlogon start= DEMAND sc config Netman start= DEMAND sc config Nla start= DEMAND sc config NtLmSsp start= DEMAND sc config NtmsSvc start= DEMAND sc config PlugPlay start= AUTO sc config PolicyAgent start= DEMAND sc config ProtectedStorage start= AUTO sc config RasAuto start= DEMAND sc config RasMan start= DEMAND sc config RDSessMgr start= DEMAND sc config RemoteAccess start= DISABLED sc config RemoteRegistry start= DISABLED sc config RpcLocator start= DEMAND sc config RpcSs start= AUTO sc config RSVP start= DEMAND sc config SamSs start= AUTO sc config SCardSvr start= DEMAND sc config Schedule start= AUTO sc config seclogon start= DEMAND sc config SENS start= AUTO sc config SharedAccess start= DEMAND sc config ShellHWDetection start= AUTO sc config Spooler start= DEMAND sc config srservice start= DISABLED sc config SSDPSRV start= DISABLED sc config stisvc start= DEMAND sc config SwPrv start= DEMAND sc config SysmonLog start= DEMAND sc config TapiSrv start= DEMAND sc config TermService start= DISABLED sc config Themes start= AUTO sc config TlntSvr start= DISABLED sc config TrkWks start= DEMAND sc config upnphost start= DEMAND sc config UPS start= DEMAND sc config VSS start= DEMAND sc config W32Time start= DEMAND sc config WebClient start= DEMAND sc config winmgmt start= AUTO sc config WmdmPmSN start= DEMAND sc config Wmi start= DEMAND sc config WmiApSrv start= DEMAND sc config wscsvc start= DEMAND sc config wuauserv start= AUTO sc config WZCSVC start= DEMAND sc config xmlprov start= DEMAND @pause
网吧模式
|
|