cmd运行msconfig.使用诊断模式,重启电脑,
xit自己诊断需要哪些服务,然后自己添加一些需要启动的服务!
重启电脑!
优化结束!
--------------------------
[ol]@Echo Off
Title Reg Converter v1.2 & Color 1A
cd %systemroot%\system32
call :IsAdmin
sc config AppIDSvc start= DEMAND
net start AppIDSvc
sc config AppXSvc start= DEMAND
net start AppXSvc
sc config AudioEndpointBuilder start= auto
net start AudioEndpointBuilder
sc config Audiosrv start= auto
net start Audiosrv start
sc config BFE start= DEMAND
net start BFE
sc config BrokerInfrastructure start= DEMAND
net start BrokerInfrastructure
sc config CoreMessagingRegistrar start= DEMAND
net start CoreMessagingRegistrar
sc config CryptSvc start= DEMAND
net start CryptSvc
sc config DcomLaunch start= DEMAND
net start DcomLaunch
sc config Dhcp start= DEMAND
net start Dhcp
sc config Dnscache start= DEMAND
net start Dnscache
sc config EventLog start= DEMAND
net start EventLog
sc config gpsvc start= DEMAND
net start gpsvc
sc config HipsDaemon start= DEMAND
net start HipsDaemon
sc config HRWSCCtrl start= DEMAND
net start HRWSCCtrl
sc config LSM start= DEMAND
net start LSM
sc config Netman start= DEMAND
net start Netman
sc config netprofm start= DEMAND
net start netprofm
sc config NlaSvc start= DEMAND
net start NlaSvc
sc config nsi start= DEMAND
net start nsi
sc config NVDisplay.ContainerLocalSystem start= DEMAND
net start NVDisplay.ContainerLocalSystem
sc config PlugPlay start= DEMAND
net start PlugPlay
sc config Power start= DEMAND
net start Power
sc config ProfSvc start= DEMAND
net start ProfSvc
sc config RpcEptMapper start= DEMAND
net start RpcEptMapper
sc config RpcSs start= DEMAND
net start RpcSs
sc config Schedule start= DEMAND
net start Schedule
sc config StateRepository start= DEMAND
net start StateRepository
sc config swprv start= DEMAND
net start swprv
sc config SystemEventsBroker start= DEMAND
net start SystemEventsBroker
sc config TabletInputService start= DEMAND
net start TabletInputService
sc config TimeBrokerSvc start= DEMAND
net start TimeBrokerSvc
sc config UserManager start= DEMAND
net start UserManager
sc config vds start= DEMAND
net start vds
sc config VSS start= DEMAND
net start VSS
sc config Wcmsvc start= DEMAND
net start Wcmsvc
sc config WinDefend start= DEMAND
net start WinDefend
sc config Winmgmt start= DEMAND
net start Winmgmt
sc config WPDBusEnum start= DEMAND
net start WPDBusEnum
sc config XLServicePlatform start= DEMAND
net start XLServicePlatform
:IsAdmin
Reg.exe query "HKU\S-1-5-19\Environment"
If Not %ERRORLEVEL% EQU 0 (
Cls & Echo You must have administrator rights to continue ...
Pause & Exit
)
Cls
goto:eof[/ol]复制代码