很多时候,我们在用了系统一段时间后,或则病毒***修改等等,win7服务做了修改,导致出一些问题。现在做了个批处理来解决。


将下面代码复制,然后保存为.bat文件运行即可恢复windows 7 系统的默认服务。



@echo Restore The Service Start State

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= AUTO

sc config   BITS start= AUTO

sc config   Browser start= DEMAND

sc config   bthserv start= DEMAND

sc config   CertPropSvc start= DEMAND

sc config   clr_optimization_v2.0.50727_32 start= AUTO

sc config   COMSysApp start= DEMAND

sc config   CryptSvc start= AUTO

sc config   CscService start= AUTO

sc config   DcomLaunch start= AUTO

sc config   defragsvc start= DEMAND

sc config   Dhcp start= AUTO

sc config   Dnscache start= AUTO

sc config   dot3svc start= DEMAND

sc config   DPS start= AUTO

sc config   EapHost start= DEMAND

sc config   EFS start= DEMAND

sc config   ehRecvr start= DEMAND

sc config   ehSched start= DEMAND

sc config   eventlog start= AUTO

sc config   EventSystem start= AUTO

sc config   Fax start= DEMAND

sc config   fdPHost start= DEMAND

sc config   FDResPub start= AUTO

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= DEMAND

sc config   IPBusEnum start= DEMAND

sc config   iphlpsvc start= AUTO

sc config   KeyIso start= DEMAND

sc config   KtmRm start= DEMAND

sc config   LanmanServer start= AUTO

sc config   LanmanWorkstation start= AUTO

sc config   lltdsvc start= DEMAND

sc config   lmhosts start= AUTO

sc config   Mcx2Svc start= DISABLED

sc config   MMCSS start= AUTO

sc config   MpsSvc start= AUTO

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= DEMAND

sc config   p2psvc start= DEMAND

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= DEMAND

sc config   PolicyAgent start= DEMAND

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= DEMAND

sc config   RpcEptMapper start= AUTO

sc config   RpcLocator start= DEMAND

sc config   RpcSs start= AUTO

sc config   SamSs start= AUTO

sc config   SCardSvr start= DEMAND

sc config   Schedule start= AUTO

sc config   SCPolicySvc start= DEMAND

sc config   SDRSVC start= DEMAND

sc config   seclogon start= DEMAND

sc config   SENS start= AUTO

sc config   SensrSvc start= DEMAND

sc config   SessionEnv start= DEMAND

sc config   SharedAccess start= DISABLED

sc config   ShellHWDetection start= AUTO

sc config   SNMPTRAP start= DEMAND

sc config   Spooler start= AUTO

sc config   sppsvc start= AUTO

sc config   sppuinotify start= DEMAND

sc config   SSDPSRV start= DEMAND

sc config   SstpSvc start= DEMAND

sc config   StiSvc start= DEMAND

sc config   swprv start= DEMAND

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= AUTO

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= DEMAND

sc config   wbengine start= DEMAND

sc config   WbioSrvc start= DEMAND

sc config   wcncsvc start= DEMAND

sc config   WcsPlugInService start= DEMAND

sc config   WdiServiceHost start= DEMAND

sc config   WdiSystemHost start= DEMAND

sc config   WebClient start= DEMAND

sc config   Wecsvc start= DEMAND

sc config   wercplsupport start= DEMAND

sc config   WerSvc start= DEMAND

sc config   WinDefend start= AUTO

sc config   WinHttpAutoProxySvc start= DEMAND

sc config   Winmgmt start= AUTO

sc config   WinRM start= DEMAND

sc config   Wlansvc 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= AUTO

sc config   WSearch start= AUTO

sc config   wuauserv start= AUTO

sc config   wudfsvc start= DEMAND

sc config   WwanSvc start= DEMAND