积极答复者
关于windows 7专业版 默认服务配置

问题
-
前段时间因为电脑打开网页有点慢,我就经过朋友介绍用了清华同方零时空远程服务 那个人帮我修复。 但是重启后 发现windows update 不能使用 防火墙无法开启,但是我后来通过开启相关服务之后 问题解除,但是 还有一个问题没有能够解决,就是开机时候,相比优化前,无线网卡启动速度非常慢,导致系统启动时间延长, 所以 我想问下windows 7专业版的默认服务是有那些开启的。。那些是延迟开启的。 我想还原这个服务设置
顺便放出零时空修改我系统用的执行文件代码
@echo off
CLS
color 0a
echo 专家开始帮您优化系统。
GOTO MENU
:MENU
ECHO.
ECHO. =-=-=-=-=请选择机型=-=-=-=-=
ECHO.
ECHO. 1 台式机
ECHO.
ECHO. 2 笔记本
ECHO.
ECHO. 3 清理垃圾
ECHO.
ECHO. 4 退 出
ECHO.
ECHO. =-=-=-=-=-=-=-=-=-=-=-=-=-=-
echo. 请输入机器类型的序号:
set /p ID=
if "%id%"=="1" goto cmd1
if "%id%"=="2" goto cmd2
if "%id%"=="3" goto cmd3
if "%id%"=="4" exit
:cmd1
@sc config Wlansvc start= disabled
@sc config dot3svc start= disabled
@sc config EapHost start= disabled
@sc config KeyIso start= disabled
cls
goto MENU2
:cmd2
@sc config Wlansvc start= auto
@sc config dot3svc start= auto
@sc config EapHost start= auto
@sc config KeyIso start= auto
cls
goto MENU2
:cmd3
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\*.*"
cls
echo 垃圾文件已清理!
goto MENU
:MENU2
ECHO.
ECHO. =-=-=-=是否使用打印机=-=-=-=
ECHO.
ECHO. 1 使用
ECHO.
ECHO. 2 不使用
ECHO.
ECHO. 3 返回上级菜单
ECHO.
ECHO. =-=-=-=-=-=-=-=-=-=-=-=-=-=-
echo. 请输入选择的序号:
set /p ID2=
if "%id2%"=="1" goto cmd4
if "%id2%"=="2" goto cmd5
if "%id2%"=="3" goto cmd6
:cmd4
@sc config Spooler start= auto
goto youhua
:cmd5
@sc config Spooler start= disabled
goto youhua
:cmd6
cls
goto MENU
:MENU3
ECHO.
ECHO. =-=-=-=-=是否重启=-=-=-=-=
ECHO.
ECHO. 1 直接重启
ECHO.
ECHO. 2 暂时退出
ECHO.
ECHO. =-=-=-=-=-=-=-=-=-=-=-=-=-=
echo. 请输入选择项目的序号:
set /p ID3=
if "%id3%"=="1" goto sd
if "%id3%"=="2" exit
:sd
shutdown -r -t 3
ECHO. 系统会在3秒后重启....
exit
:youhua
cls
PAUSE
sc config AeLookupSvc start= DEMAND
sc config ALG start= DEMAND
sc config AppIDSvc start= DEMAND
sc config Appinfo start= DEMAND
sc config AppMgmt start= DEMAND
sc config AudioEndpointBuilder start= AUTO
sc config Audiosrv start= AUTO
sc config AxInstSV start= DEMAND
sc config BDESVC start= DEMAND
sc config BFE start= DISABLED
sc config BITS start= DEMAND
sc config Browser start= DISABLED
sc config bthserv start= DEMAND
sc config CertPropSvc start= DEMAND
sc config clr_optimization_v2.0.50727_32 start= DEMAND
sc config COMSysApp start= DEMAND
sc config CryptSvc start= AUTO
sc config CscService start= DISABLED
sc config DcomLaunch start= AUTO
sc config defragsvc start= DEMAND
sc config Dhcp start= AUTO
sc config Dnscache start= AUTO
sc config DPS start= DISABLED
sc config EFS start= DEMAND
sc config ehRecvr start= DEMAND
sc config ehSched start= DEMAND
sc config eventlog start= DEMAND
sc config EventSystem start= AUTO
sc config Fax start= DEMAND
sc config fdPHost start= DISABLED
sc config FDResPub start= DISABLED
sc config FontCache start= DEMAND
sc config FontCache3.0.0.0 start= DEMAND
sc config gpsvc start= AUTO
sc config hidserv start= DEMAND
sc config hkmsvc start= DEMAND
sc config HomeGroupListener start= DEMAND
sc config HomeGroupProvider start= DEMAND
sc config idsvc start= DEMAND
sc config IKEEXT start= AUTO
sc config IPBusEnum start= DEMAND
sc config iphlpsvc start= DISABLED
sc config KtmRm start= DEMAND
sc config LanmanServer start= DISABLED
sc config LanmanWorkstation start= DISABLED
sc config lltdsvc start= DEMAND
sc config lmhosts start= DISABLED
sc config Mcx2Svc start= DISABLED
sc config MMCSS start= AUTO
sc config MpsSvc start= DISABLED
sc config MSDTC start= DEMAND
sc config MSiSCSI start= DEMAND
sc config msiserver start= DEMAND
sc config napagent start= DEMAND
sc config Netlogon start= DEMAND
sc config Netman start= DEMAND
sc config netprofm start= DEMAND
sc config NetTcpPortSharing start= DISABLED
sc config NlaSvc start= AUTO
sc config nsi start= AUTO
sc config p2pimsvc start= DISABLED
sc config p2psvc start= DISABLED
sc config PcaSvc start= DEMAND
sc config PeerDistSvc start= DEMAND
sc config pla start= DEMAND
sc config PlugPlay start= AUTO
sc config PNRPAutoReg start= DEMAND
sc config PNRPsvc start= DISABLED
sc config PolicyAgent start= AUTO
sc config Power start= AUTO
sc config ProfSvc start= AUTO
sc config ProtectedStorage start= DEMAND
sc config QWAVE start= DEMAND
sc config RasAuto start= DEMAND
sc config RasMan start= DEMAND
sc config RemoteAccess start= DISABLED
sc config RemoteRegistry start= DISABLED
sc config RpcEptMapper start= AUTO
sc config RpcLocator start= DEMAND
sc config RpcSs start= AUTO
sc config SamSs start= AUTO
sc config SCardSvr start= DISABLED
sc config Schedule start= AUTO
sc config SCPolicySvc start= DEMAND
sc config SDRSVC start= DISABLED
sc config seclogon start= DISABLED
sc config SENS start= AUTO
sc config SensrSvc start= DEMAND
sc config SessionEnv start= DEMAND
sc config SharedAccess start= DISABLED
sc config ShellHWDetection start= DEMAND
sc config SNMPTRAP start= DEMAND
sc config sppsvc start= AUTO
sc config sppuinotify start= DEMAND
sc config SSDPSRV start= DISABLED
sc config SstpSvc start= DEMAND
sc config StiSvc start= DEMAND
sc config swprv start= DISABLED
sc config SysMain start= AUTO
sc config TabletInputService start= DEMAND
sc config TapiSrv start= DEMAND
sc config TBS start= DEMAND
sc config TermService start= DEMAND
sc config Themes start= AUTO
sc config THREADORDER start= DEMAND
sc config TrkWks start= DISABLED
sc config TrustedInstaller start= DEMAND
sc config UI0Detect start= DEMAND
sc config UmRdpService start= DEMAND
sc config upnphost start= DEMAND
sc config UxSms start= AUTO
sc config VaultSvc start= DEMAND
sc config vds start= DEMAND
sc config VSS start= DEMAND
sc config W32Time start= DISABLED
sc config wbengine start= DEMAND
sc config WbioSrvc start= DEMAND
sc config wcncsvc start= DEMAND
sc config WcsPlugInService start= DEMAND
sc config WdiServiceHost start= DISABLED
sc config WdiSystemHost start= DISABLED
sc config WebClient start= DEMAND
sc config Wecsvc start= DEMAND
sc config wercplsupport start= DEMAND
sc config WerSvc start= DISABLED
sc config WinDefend start= DISABLED
sc config WinHttpAutoProxySvc start= DEMAND
sc config Winmgmt start= AUTO
sc config WinRM start= DEMAND
sc config wmiApSrv start= DEMAND
sc config WMPNetworkSvc start= DEMAND
sc config WPCSvc start= DEMAND
sc config WPDBusEnum start= DEMAND
sc config wscsvc start= DISABLED
sc config WSearch start= DISABLED
sc config wuauserv start= DEMAND
sc config wudfsvc start= AUTO
sc config WwanSvc start= DEMAND
cls
echo 服务优化已完毕,设置会再您重启电脑后生效。
goto MENU3
答案
-
可以在其他 Windows 7 機器上執行下面的命令獲取服務的啟動配置設置
將那段批處理代碼的保存為 srv.txt 文件(編碼要選 ASCII)到其他 Windows 7 電腦上.
sc config AeLookupSvc start= DEMAND
sc config ALG start= DEMAND
sc config AppIDSvc start= DEMAND
sc config Appinfo start= DEMAND
sc config AppMgmt start= DEMAND
sc config AudioEndpointBuilder start= AUTO
sc config Audiosrv start= AUTO
sc config AxInstSV start= DEMAND
sc config BDESVC start= DEMAND
sc config BFE start= DISABLED
sc config BITS start= DEMAND
sc config Browser start= DISABLED
sc config bthserv start= DEMAND
sc config CertPropSvc start= DEMAND
sc config clr_optimization_v2.0.50727_32 start=
sc config COMSysApp start= DEMAND
sc config CryptSvc start= AUTO
sc config CscService start= DISABLED
sc config DcomLaunch start= AUTO
sc config defragsvc start= DEMAND
sc config Dhcp start= AUTO
sc config Dnscache start= AUTO
sc config DPS start= DISABLED
sc config EFS start= DEMAND
sc config ehRecvr start= DEMAND
sc config ehSched start= DEMAND
sc config eventlog start= DEMAND
sc config EventSystem start= AUTO
sc config Fax start= DEMAND
sc config fdPHost start= DISABLED
sc config FDResPub start= DISABLED
sc config FontCache start= DEMAND
sc config FontCache3.0.0.0 start= DEMAND
sc config gpsvc start= AUTO
sc config hidserv start= DEMAND
sc config hkmsvc start= DEMAND
sc config HomeGroupListener start= DEMAND
sc config HomeGroupProvider start= DEMAND
sc config idsvc start= DEMAND
sc config IKEEXT start= AUTO
sc config IPBusEnum start= DEMAND
sc config iphlpsvc start= DISABLED
sc config KtmRm start= DEMAND
sc config LanmanServer start= DISABLED
sc config LanmanWorkstation start= DISABLED
sc config lltdsvc start= DEMAND
sc config lmhosts start= DISABLED
sc config Mcx2Svc start= DISABLED
sc config MMCSS start= AUTO
sc config MpsSvc start= DISABLED
sc config MSDTC start= DEMAND
sc config MSiSCSI start= DEMAND
sc config msiserver start= DEMAND
sc config napagent start= DEMAND
sc config Netlogon start= DEMAND
sc config Netman start= DEMAND
sc config netprofm start= DEMAND
sc config NetTcpPortSharing start= DISABLED
sc config NlaSvc start= AUTO
sc config nsi start= AUTO
sc config p2pimsvc start= DISABLED
sc config p2psvc start= DISABLED
sc config PcaSvc start= DEMAND
sc config PeerDistSvc start= DEMAND
sc config pla start= DEMAND
sc config PlugPlay start= AUTO
sc config PNRPAutoReg start= DEMAND
sc config PNRPsvc start= DISABLED
sc config PolicyAgent start= AUTO
sc config Power start= AUTO
sc config ProfSvc start= AUTO
sc config ProtectedStorage start= DEMAND
sc config QWAVE start= DEMAND
sc config RasAuto start= DEMAND
sc config RasMan start= DEMAND
sc config RemoteAccess start= DISABLED
sc config RemoteRegistry start= DISABLED
sc config RpcEptMapper start= AUTO
sc config RpcLocator start= DEMAND
sc config RpcSs start= AUTO
sc config SamSs start= AUTO
sc config SCardSvr start= DISABLED
sc config Schedule start= AUTO
sc config SCPolicySvc start= DEMAND
sc config SDRSVC start= DISABLED
sc config seclogon start= DISABLED
sc config SENS start= AUTO
sc config SensrSvc start= DEMAND
sc config SessionEnv start= DEMAND
sc config SharedAccess start= DISABLED
sc config ShellHWDetection start= DEMAND
sc config SNMPTRAP start= DEMAND
sc config sppsvc start= AUTO
sc config sppuinotify start= DEMAND
sc config SSDPSRV start= DISABLED
sc config SstpSvc start= DEMAND
sc config StiSvc start= DEMAND
sc config swprv start= DISABLED
sc config SysMain start= AUTO
sc config TabletInputService start= DEMAND
sc config TapiSrv start= DEMAND
sc config TBS start= DEMAND
sc config TermService start= DEMAND
sc config Themes start= AUTO
sc config THREADORDER start= DEMAND
sc config TrkWks start= DISABLED
sc config TrustedInstaller start= DEMAND
sc config UI0Detect start= DEMAND
sc config UmRdpService start= DEMAND
sc config upnphost start= DEMAND
sc config UxSms start= AUTO
sc config VaultSvc start= DEMAND
sc config vds start= DEMAND
sc config VSS start= DEMAND
sc config W32Time start= DISABLED
sc config wbengine start= DEMAND
sc config WbioSrvc start= DEMAND
sc config wcncsvc start= DEMAND
sc config WcsPlugInService start= DEMAND
sc config WdiServiceHost start= DISABLED
sc config WdiSystemHost start= DISABLED
sc config WebClient start= DEMAND
sc config Wecsvc start= DEMAND
sc config wercplsupport start= DEMAND
sc config WerSvc start= DISABLED
sc config WinDefend start= DISABLED
sc config WinHttpAutoProxySvc start= DEMAND
sc config Winmgmt start= AUTO
sc config WinRM start= DEMAND
sc config wmiApSrv start= DEMAND
sc config WMPNetworkSvc start= DEMAND
sc config WPCSvc start= DEMAND
sc config WPDBusEnum start= DEMAND
sc config wscsvc start= DISABLED
sc config WSearch start= DISABLED
sc config wuauserv start= DEMAND
sc config wudfsvc start= AUTO
sc config WwanSvc start= DEMAND然後在其他電腦上運行命令提示符并執行命令
for /f "tokens=3 delims= " %s in (srv.txt) do @echo sc qc %s >> srv_qc.txt & sc qc %s | find /i "START_TYPE" >> srv_qc.txt & echo. >> srv_qc.txt這時你可以在文件 srv_qc.txt 看到每個服務的啟動設置, 有則顯示字段 START_TYPE, 沒有則不顯示.
如果是瀏覽網頁速度慢, 建議先從網絡環境, IE 加載項和 IE 設置入手分析.
Folding@Home- 已编辑 repl 2011年3月8日 1:36 對之前的回覆進行修改
- 已建议为答案 Sabrina Shen 2011年3月9日 6:29
- 已标记为答案 Sabrina Shen 2011年3月10日 9:54