Advertisement
FreeBooter

Restore_Windows_Services

Aug 26th, 2022
2,612
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 42.53 KB | Fixit | 0 0
  1. :: Batch Script Created by FreeBooter.
  2.  
  3. @Echo Off & Cls
  4.  
  5. REM  --> Check for permissions
  6. Reg query "HKU\S-1-5-19\Environment"
  7. REM --> If error flag set, we do not have admin.
  8. if %errorlevel% NEQ 0 (
  9. ECHO                 **************************************
  10. ECHO                  Running Admin shell... Please wait...
  11. ECHO                 **************************************
  12.  
  13.     goto UACPrompt
  14. ) else ( goto gotAdmin )
  15.  
  16. :UACPrompt
  17.     echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs"
  18.     set params = "%*:"=""
  19.     echo UAC.ShellExecute "cmd.exe", "/c ""%~s0"" %params%", "", "runas", 1 >> "%temp%\getadmin.vbs"
  20.  
  21.     "%temp%\getadmin.vbs"
  22.     del "%temp%\getadmin.vbs"
  23.     exit /B
  24.  
  25. :gotAdmin
  26.  
  27. ::   Check if batch script executed with administrators privilege.
  28. Call  :IsAdmin
  29.  
  30. :: Check version of the Windows OS.
  31. Reg QUERY "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion" /v ProductName | find /i "Windows XP" >Nul
  32. If Not Errorlevel 1 (
  33. Goto Win_XP
  34. ) Else (
  35. Reg QUERY "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion" /v ProductName | find /i "Windows Vista" >Nul
  36. If Not Errorlevel 1 (
  37. Goto Win_Vista
  38. ) Else (
  39. Reg QUERY "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion" /v ProductName | find /i "Windows 7" >Nul
  40. If Not Errorlevel 1 (
  41. Goto Win_7
  42. ) Else (
  43. Reg QUERY "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion" /v ProductName | find /i "Windows 8" >Nul
  44. If Not Errorlevel 1 (
  45. Goto Win_8
  46. ) Else (
  47. Reg QUERY "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion" /v ProductName | find /i "Windows 8.1" >Nul
  48. If Not Errorlevel 1 (
  49. Goto Win_8_1
  50. ) Else (
  51. Systeminfo | find "Windows 11"
  52. If Not Errorlevel 1 (
  53. Goto Win_11
  54. ) Else (
  55. Reg QUERY "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion" /v ProductName | find /i "Windows 10" >Nul
  56. If Not Errorlevel 1 (
  57. Goto Win_10
  58. ) Else (
  59. Goto NotSupported
  60. ) ) ) ) ) ) )
  61.  
  62.  
  63.  
  64. :: Restore default startup type of Windows services.
  65.  
  66. :Win_11
  67.  
  68.  
  69. sc config AJRouter start= demand
  70. sc config ALG start= demand
  71. sc config AppIDSvc start= demand
  72. sc config tzautoupdate start= demand
  73. sc config AppMgmt start= demand
  74. sc config AppReadiness start= demand
  75. sc config AppXSvc start= demand
  76. sc config AppVClient start= disabled
  77. sc config AssignedAccessManagerSvc= Auto
  78. sc config autotimesvc start= demand
  79. sc config AxInstSV start= demand
  80. sc config BDESVC start= demand
  81. sc config BFE start= Auto
  82. sc config BITS start= demand
  83. sc config BTAGService start= demand
  84. sc config BrokerInfrastructure start= Auto
  85. sc config BthAvctpSvc start= demand
  86. sc config bthserv start= demand
  87. sc config Browser start= demand
  88. sc config CDPSvc start= delayed-auto
  89. sc config CertPropSvc start= demand
  90. sc config ClipSVC start= demand
  91. sc config cloudidsvc start= demand
  92. sc config COMSysApp start= demand
  93. sc config CoreMessagingRegistrar start= Auto
  94. sc config CryptSvc start= Auto
  95. sc config CscService start= demand
  96. sc config camsvc start= demand
  97. sc config DcomLaunch start= Auto
  98. sc config defragsvc start= demand
  99. sc config DeviceAssociationService start= Auto
  100. sc config DeviceInstall start= demand
  101. sc config DevQueryBroker start= demand
  102. sc config Dhcp start= Auto
  103. sc config diagnosticshub.standardcollector.service start= demand
  104. sc config DiagTrack start= Auto
  105. sc config DialogBlockingService start= disabled
  106. sc config DisplayEnhancementService start= demand
  107. sc config DispBrokerDesktopSvc start= Auto
  108. sc config DmEnrollmentSvc start= demand
  109. sc config dmwappushservice start= Auto
  110. sc config Dnscache start= Auto
  111. sc config DoSvc start= demand
  112. sc config dot3svc start= demand
  113. sc config DPS start= Auto
  114. sc config DsmSvc start= demand
  115. sc config DsSvc start= demand
  116. sc config Eaphost start= demand
  117. sc config EFS start= demand
  118. sc config embeddedmode start= demand
  119. sc config EntAppSvc start= demand
  120. sc config EventLog start= Auto
  121. sc config EventSystem start= Auto
  122. sc config Fax start= demand
  123. sc config fdPHost start= demand
  124. sc config FDResPub start= demand
  125. sc config FileSyncHelper start= demand
  126. sc config fhsvc start= demand
  127. sc config FontCache start= Auto
  128. sc config FontCache3.0.0.0 start= demand
  129. sc config ftpsvc start= Auto
  130. sc config GraphicsPerfSvc start= demand
  131. sc config gpsvc start= Auto
  132. sc config hidserv start= demand
  133. sc config HNS start= demand
  134. sc config HvHost start= demand
  135. sc config icssvc start= demand
  136. sc config InstallService start= demand
  137. sc config lfsvc start= demand
  138. sc config InventorySvc start= demand
  139. sc config IEEtwCollectorService start= demand
  140. sc config IISADMIN start= Auto
  141. sc config IKEEXT start= demand
  142. sc config iphlpsvc start= Auto
  143. sc config iprip start= Auto
  144. sc config IpxlatCfgSvc start= demand
  145. sc config KeyIso start= demand
  146. sc config KtmRm start= demand
  147. sc config LanmanServer start= Auto
  148. sc config LanmanWorkstation start= Auto
  149. sc config lfsvc start= demand
  150. sc config lltdsvc start= demand
  151. sc config lmhosts start= demand
  152. sc config LSM start= Auto
  153. sc config MapsBroker start= delayed-auto
  154. sc config McpManagementService start= demand
  155. sc config MpsSvc start= Auto
  156. sc config MSDTC start= demand
  157. sc config MsKeyboardFilter start= disabled
  158. sc config MSiSCSI start= demand
  159. sc config msiserver start= demand
  160. sc config NaturalAuthentication start= demand
  161. sc config NcaSvc start= demand
  162. sc config NcbService start= demand
  163. sc config NcdAutoSetup start= demand
  164. sc config Netlogon start= Auto
  165. sc config Netman start= demand
  166. sc config netprofm start= demand
  167. sc config NetSetupSvc start= demand
  168. sc config NetTcpPortSharing start= disabled
  169. sc config NgcCtnrSvc start= demand
  170. sc config NgcSvc start= demand
  171. sc config NlaSvc start= Auto
  172. sc config nsi start= Auto
  173. sc config nvagent start= demand
  174. sc config p2pimsvc start= demand
  175. sc config p2psvc start= demand
  176. sc config PcaSvc start= delayed-auto
  177. sc config PeerDistSvc start= demand
  178. sc config PerfHost start= demand
  179. sc config pla start= demand
  180. sc config PlugPlay start= demand
  181. sc config PNRPAutoReg start= demand
  182. sc config PNRPsvc start= demand
  183. sc config PolicyAgent start= demand
  184. sc config Power start= Auto
  185. sc config PrintNotify start= demand
  186. sc config ProfSvc start= Auto
  187. sc config QWAVE start= demand
  188. sc config RasAuto start= demand
  189. sc config RasMan start= Auto
  190. sc config RemoteAccess start= Disabled
  191. sc config RemoteRegistry start= Disabled
  192. sc config RetailDemo start= demand
  193. sc config RmSvc start= demand
  194. sc config RpcEptMapper start= Auto
  195. sc config RpcLocator start= demand
  196. sc config RpcSs start= Auto
  197. sc config SamSs start= Auto
  198. sc config SCardSvr start= demand
  199. sc config ScDeviceEnum start= demand
  200. sc config Schedule start= Auto
  201. sc config SCPolicySvc start= demand
  202. sc config SDRSVC start= demand
  203. sc config seclogon start= demand
  204. sc config SENS start= Auto
  205. sc config SEMgrSvc start= demand
  206. sc config SensorDataService start= demand
  207. sc config SensorService start= demand
  208. sc config SensrSvc start= demand
  209. sc config SessionEnv start= demand
  210. sc config SharedAccess start= demand
  211. sc config ShellHWDetection start= Auto
  212. sc config ssh-agent start= disabled
  213. sc config smphost start= demand
  214. sc config SmsRouter start= demand
  215. sc config SNMPTRAP start= demand
  216. sc config Spooler start= Auto
  217. sc config sppsvc start= delayed-auto
  218. sc config SSDPSRV start= demand
  219. sc config SstpSvc start= demand
  220. sc config StateRepository start= Auto
  221. sc config stisvc start= Auto
  222. sc config StorSvc start= delayed-auto
  223. sc config svsvc start= demand
  224. sc config swprv start= demand
  225. sc config SysMain start= Auto
  226. sc config SystemEventsBroker start= Auto
  227. sc config TapiSrv start= demand
  228. sc config TermService start= demand
  229. sc config Themes start= Auto
  230. sc config TrkWks start= Auto
  231. sc config TrustedInstaller start= demand
  232. sc config TroubleshootingSvc start= demand
  233. sc config UmRdpService start= demand
  234. sc config upnphost start= demand
  235. sc config UserManager start= Auto
  236. sc config UsoSvc start= delayed-auto
  237. sc config VaultSvc start= demand
  238. sc config vds start= demand
  239. sc config vmcompute start= demand
  240. sc config vmicguestinterface start= demand
  241. sc config vmicheartbeat start= demand
  242. sc config vmicrdv start= demand
  243. sc config vmicshutdown start= demand
  244. sc config vmictimesync start= demand
  245. sc config vmicvmsession start= demand
  246. sc config vmicvss start= demand
  247. sc config VSS start= demand
  248. sc config W32Time start= demand
  249. sc config WalletService start= demand
  250. sc config wbengine start= demand
  251. sc config WbioSrvc start= demand
  252. sc config Wcmsvc start= Auto
  253. sc config wcncsvc start= demand
  254. sc config WdiServiceHost start= demand
  255. sc config WdiSystemHost start= demand
  256. sc config WdNisSvc start= demand
  257. sc config WebClient start= demand
  258. sc config Wecsvc start= demand
  259. sc config WEPHOSTSVC start= demand
  260. sc config wercplsupport start= demand
  261. sc config WerSvc start= demand
  262. sc config WiaRpc start= demand
  263. sc config WinDefend start= Auto
  264. sc config WinHttpAutoProxySvc start= demand
  265. sc config Winmgmt start= Auto
  266. sc config WinRM start= demand
  267. sc config WlanSvc start= Auto
  268. sc config wlidsvc start= demand
  269. sc config wlpasvc start= demand
  270. sc config wmiApSrv start= demand
  271. sc config WMPNetworkSvc start= Auto
  272. sc config workfolderssvc start= demand
  273. sc config WPDBusEnum start= demand
  274. sc config WpcMonSvc start= demand
  275. sc config WpnService start= Auto
  276. sc config wscsvc start= delayed-auto
  277. sc config WSearch start= delayed-auto
  278. sc config wuauserv start= demand
  279. sc config WwanSvc start= demand
  280. sc config XblAuthManager start= demand
  281. sc config XblGameSave start= demand
  282. sc config XboxNetApiSvc start= demand
  283.  
  284. Goto :Reboot
  285.  
  286.  
  287.  
  288.  
  289.  
  290. :Win_10
  291. sc config AJRouter start= demand
  292. sc config ALG start= demand
  293. sc config AppHostSvc start= Auto
  294. sc config AppIDSvc start= demand
  295. sc config Appinfo start= demand
  296. sc config AppMgmt start= demand
  297. sc config AppReadiness start= demand
  298. sc config AppXSvc start= demand
  299. sc config aspnet_state start= demand
  300. sc config AudioEndpointBuilder start= Auto
  301. sc config Audiosrv start= Auto
  302. sc config AxInstSV start= demand
  303. sc config BDESVC start= demand
  304. sc config BFE start= Auto
  305. sc config BITS start= Auto
  306. sc config BrokerInfrastructure start= Auto
  307. sc config Browser start= demand
  308. sc config BthHFSrv start= demand
  309. sc config bthserv start= demand
  310. sc config c2wts start= demand
  311. sc config CDPSvc start= demand
  312. sc config CertPropSvc start= demand
  313. sc config ClipSVC start= demand
  314. sc config COMSysApp start= demand
  315. sc config CoreMessagingRegistrar start= Auto
  316. sc config CryptSvc start= Auto
  317. sc config CscService start= demand
  318. sc config DcomLaunch start= Auto
  319. sc config DcpSvc start= demand
  320. sc config defragsvc start= demand
  321. sc config DeviceAssociationService start= Auto
  322. sc config DeviceInstall start= demand
  323. sc config DevQueryBroker start= demand
  324. sc config Dhcp start= Auto
  325. sc config diagnosticshub.standardcollector.service start= demand
  326. sc config DiagTrack start= Auto
  327. sc config DmEnrollmentSvc start= demand
  328. sc config dmwappushservice start= Auto
  329. sc config Dnscache start= Auto
  330. sc config DoSvc start= Auto
  331. sc config dot3svc start= demand
  332. sc config DPS start= Auto
  333. sc config DsmSvc start= demand
  334. sc config DsRoleSvc start= demand
  335. sc config DsSvc start= demand
  336. sc config Eaphost start= demand
  337. sc config EFS start= demand
  338. sc config embeddedmode start= demand
  339. sc config EntAppSvc start= demand
  340. sc config EventLog start= Auto
  341. sc config EventSystem start= Auto
  342. sc config Fax start= demand
  343. sc config fdPHost start= demand
  344. sc config FDResPub start= demand
  345. sc config fhsvc start= demand
  346. sc config FontCache start= Auto
  347. sc config FontCache3.0.0.0 start= demand
  348. sc config ftpsvc start= Auto
  349. sc config gpsvc start= Auto
  350. sc config hidserv start= demand
  351. sc config HomeGroupListener start= Auto
  352. sc config HomeGroupProvider start= Auto
  353. sc config HvHost start= Auto
  354. sc config icssvc start= demand
  355. sc config IEEtwCollectorService start= demand
  356. sc config IISADMIN start= Auto
  357. sc config IKEEXT start= demand
  358. sc config iphlpsvc start= Auto
  359. sc config iprip start= Auto
  360. sc config KeyIso start= demand
  361. sc config KtmRm start= demand
  362. sc config LanmanServer start= Auto
  363. sc config LanmanWorkstation start= Auto
  364. sc config lfsvc start= demand
  365. sc config LicenseManager start= demand
  366. sc config lltdsvc start= demand
  367. sc config lmhosts start= demand
  368. sc config LPDSVC start= Auto
  369. sc config LSM start= Auto
  370. sc config MapsBroker start= Auto
  371. sc config MpsSvc start= Auto
  372. sc config MSDTC start= demand
  373. sc config MSiSCSI start= demand
  374. sc config msiserver start= demand
  375. sc config MSMQ start= Auto
  376. sc config MSMQTriggers start= Auto
  377. sc config NcaSvc start= demand
  378. sc config NcbService start= demand
  379. sc config NcdAutoSetup start= demand
  380. sc config Netlogon start= Auto
  381. sc config Netman start= demand
  382. sc config NetMsmqActivator start= Auto
  383. sc config NetPipeActivator start= Auto
  384. sc config netprofm start= demand
  385. sc config NetSetupSvc start= demand
  386. sc config NetTcpActivator start= Auto
  387. sc config NetTcpPortSharing start= demand
  388. sc config NgcCtnrSvc start= demand
  389. sc config NgcSvc start= demand
  390. sc config NlaSvc start= Auto
  391. sc config nsi start= Auto
  392. sc config p2pimsvc start= demand
  393. sc config p2psvc start= demand
  394. sc config PcaSvc start= Auto
  395. sc config PeerDistSvc start= demand
  396. sc config PerfHost start= demand
  397. sc config pla start= demand
  398. sc config PlugPlay start= demand
  399. sc config PNRPAutoReg start= demand
  400. sc config PNRPsvc start= demand
  401. sc config PolicyAgent start= demand
  402. sc config Power start= Auto
  403. sc config PrintNotify start= demand
  404. sc config ProfSvc start= Auto
  405. sc config QWAVE start= demand
  406. sc config RasAuto start= demand
  407. sc config RasMan start= demand
  408. sc config RemoteAccess start= Disabled
  409. sc config RemoteRegistry start= Disabled
  410. sc config RetailDemo start= demand
  411. sc config RpcEptMapper start= Auto
  412. sc config RpcLocator start= demand
  413. sc config RpcSs start= Auto
  414. sc config SamSs start= Auto
  415. sc config SCardSvr start= Disabled
  416. sc config ScDeviceEnum start= demand
  417. sc config Schedule start= Auto
  418. sc config SCPolicySvc start= demand
  419. sc config SDRSVC start= demand
  420. sc config seclogon start= demand
  421. sc config SENS start= Auto
  422. sc config SensorDataService start= demand
  423. sc config SensorService start= demand
  424. sc config SensrSvc start= demand
  425. sc config SessionEnv start= demand
  426. sc config SharedAccess start= demand
  427. sc config ShellHWDetection start= Auto
  428. sc config simptcp start= Auto
  429. sc config smphost start= demand
  430. sc config SmsRouter start= demand
  431. sc config SNMP start= Auto
  432. sc config SNMPTRAP start= demand
  433. sc config Spooler start= Auto
  434. sc config sppsvc start= Auto
  435. sc config SSDPSRV start= demand
  436. sc config SstpSvc start= demand
  437. sc config StateRepository start= demand
  438. sc config stisvc start= demand
  439. sc config StorSvc start= demand
  440. sc config svsvc start= demand
  441. sc config swprv start= demand
  442. sc config SysMain start= Auto
  443. sc config SystemEventsBroker start= Auto
  444. sc config TabletInputService start= Auto
  445. sc config TapiSrv start= demand
  446. sc config TermService start= Auto
  447. sc config Themes start= Auto
  448. sc config tiledatamodelsvc start= Auto
  449. sc config TimeBroker start= demand
  450. sc config TrkWks start= Auto
  451. sc config TrustedInstaller start= demand
  452. sc config UI0Detect start= demand
  453. sc config UmRdpService start= demand
  454. sc config upnphost start= demand
  455. sc config UserManager start= Auto
  456. sc config UsoSvc start= demand
  457. sc config VaultSvc start= demand
  458. sc config vds start= demand
  459. sc config vmicguestinterface start= demand
  460. sc config vmicheartbeat start= demand
  461. sc config vmickvpexchange start= demand
  462. sc config vmicrdv start= demand
  463. sc config vmicshutdown start= demand
  464. sc config vmictimesync start= demand
  465. sc config vmicvmsession start= demand
  466. sc config vmicvss start= demand
  467. sc config vmms start= Auto
  468. sc config vmvss start= demand
  469. sc config VSS start= demand
  470. sc config W32Time start= Auto
  471. sc config w3logsvc start= demand
  472. sc config W3SVC start= Auto
  473. sc config WalletService start= demand
  474. sc config WAS start= demand
  475. sc config wbengine start= demand
  476. sc config WbioSrvc start= demand
  477. sc config Wcmsvc start= Auto
  478. sc config wcncsvc start= demand
  479. sc config WcsPlugInService start= demand
  480. sc config WdiServiceHost start= demand
  481. sc config WdiSystemHost start= demand
  482. sc config WdNisSvc start= demand
  483. sc config WebClient start= demand
  484. sc config Wecsvc start= demand
  485. sc config WEPHOSTSVC start= demand
  486. sc config wercplsupport start= demand
  487. sc config WerSvc start= demand
  488. sc config WiaRpc start= demand
  489. sc config WinDefend start= Auto
  490. sc config WinHttpAutoProxySvc start= demand
  491. sc config Winmgmt start= Auto
  492. sc config WinRM start= demand
  493. sc config WlanSvc start= Auto
  494. sc config wlidsvc start= demand
  495. sc config wmiApSrv start= demand
  496. sc config WMPNetworkSvc start= Auto
  497. sc config Wms start= Auto
  498. sc config WmsRepair start= Auto
  499. sc config WMSVC start= demand
  500. sc config workfolderssvc start= demand
  501. sc config WPDBusEnum start= demand
  502. sc config WpnService start= demand
  503. sc config wscsvc start= Auto
  504. sc config WSearch start= Auto
  505. sc config WSService start= demand
  506. sc config wuauserv start= demand
  507. sc config wudfsvc start= demand
  508. sc config WwanSvc start= Auto
  509. sc config XblAuthManager start= demand
  510. sc config XblGameSave start= demand
  511. sc config XboxNetApiSvc start= demand
  512.  
  513. Goto :Reboot
  514.  
  515.  
  516. :Win_8_1
  517. sc config AeLookupSvc start= demand
  518. sc config ALG start= demand
  519. sc config AppHostSvc start= Auto
  520. sc config AppIDSvc start= demand
  521. sc config Appinfo start= demand
  522. sc config AppMgmt start= demand
  523. sc config AppReadiness start= demand
  524. sc config AppXSvc start= demand
  525. sc config aspnet_state start= demand
  526. sc config AudioEndpointBuilder start= Auto
  527. sc config Audiosrv start= Auto
  528. sc config AxInstSV start= demand
  529. sc config BDESVC start= demand
  530. sc config BFE start= Auto
  531. sc config BITS start= Auto
  532. sc config BrokerInfrastructure start= Auto
  533. sc config Browser start= demand
  534. sc config BthHFSrv start= demand
  535. sc config bthserv start= demand
  536. sc config c2wts start= demand
  537. sc config CertPropSvc start= demand
  538. sc config COMSysApp start= demand
  539. sc config CryptSvc start= Auto
  540. sc config CscService start= demand
  541. sc config DcomLaunch start= Auto
  542. sc config defragsvc start= demand
  543. sc config DeviceAssociationService start= Auto
  544. sc config DeviceInstall start= demand
  545. sc config Dhcp start= Auto
  546. sc config diagtrack start= Auto
  547. sc config Dnscache start= Auto
  548. sc config dot3svc start= demand
  549. sc config DPS start= Auto
  550. sc config DsmSvc start= demand
  551. sc config DsRoleSvc start= demand
  552. sc config Eaphost start= demand
  553. sc config EFS start= demand
  554. sc config ehRecvr start= demand
  555. sc config ehSched start= demand
  556. sc config EventLog start= Auto
  557. sc config EventSystem start= Auto
  558. sc config Fax start= demand
  559. sc config fdPHost start= demand
  560. sc config FDResPub start= demand
  561. sc config fhsvc start= demand
  562. sc config FontCache start= Auto
  563. sc config FontCache3.0.0.0 start= demand
  564. sc config ftpsvc start= Auto
  565. sc config gpsvc start= Auto
  566. sc config hidserv start= demand
  567. sc config hkmsvc start= demand
  568. sc config HomeGroupListener start= Auto
  569. sc config HomeGroupProvider start= Auto
  570. sc config IEEtwCollectorService start= demand
  571. sc config IISADMIN start= Auto
  572. sc config IKEEXT start= demand
  573. sc config iphlpsvc start= Auto
  574. sc config iprip start= Auto
  575. sc config KeyIso start= demand
  576. sc config KtmRm start= demand
  577. sc config LanmanServer start= Auto
  578. sc config LanmanWorkstation start= Auto
  579. sc config lfsvc start= demand
  580. sc config lltdsvc start= demand
  581. sc config lmhosts start= Auto
  582. sc config LPDSVC start= Auto
  583. sc config LSM start= Auto
  584. sc config Mcx2Svc start= Disabled
  585. sc config MMCSS start= Auto
  586. sc config MpsSvc start= Auto
  587. sc config MSDTC start= demand
  588. sc config MSiSCSI start= demand
  589. sc config msiserver start= demand
  590. sc config MsKeyboardFilter start= Disabled
  591. sc config MSMQ start= Auto
  592. sc config MSMQTriggers start= Auto
  593. sc config napagent start= demand
  594. sc config NcaSvc start= demand
  595. sc config NcbService start= demand
  596. sc config NcdAutoSetup start= demand
  597. sc config Netlogon start= Auto
  598. sc config Netman start= demand
  599. sc config NetMsmqActivator start= Auto
  600. sc config NetPipeActivator start= Auto
  601. sc config netprofm start= demand
  602. sc config NetTcpActivator start= Auto
  603. sc config NetTcpPortSharing start= demand
  604. sc config NlaSvc start= Auto
  605. sc config nsi start= Auto
  606. sc config p2pimsvc start= demand
  607. sc config p2psvc start= demand
  608. sc config PcaSvc start= Auto
  609. sc config PeerDistSvc start= demand
  610. sc config PerfHost start= demand
  611. sc config pla start= demand
  612. sc config PlugPlay start= demand
  613. sc config PNRPAutoReg start= demand
  614. sc config PNRPsvc start= demand
  615. sc config PolicyAgent start= demand
  616. sc config Power start= Auto
  617. sc config PrintNotify start= demand
  618. sc config ProfSvc start= Auto
  619. sc config QWAVE start= demand
  620. sc config RasAuto start= demand
  621. sc config RasMan start= demand
  622. sc config RemoteAccess start= Disabled
  623. sc config RemoteRegistry start= Disabled
  624. sc config RpcEptMapper start= Auto
  625. sc config RpcLocator start= demand
  626. sc config RpcSs start= Auto
  627. sc config SamSs start= Auto
  628. sc config SCardSvr start= Disabled
  629. sc config ScDeviceEnum start= demand
  630. sc config Schedule start= Auto
  631. sc config SCPolicySvc start= demand
  632. sc config seclogon start= demand
  633. sc config SENS start= Auto
  634. sc config SensrSvc start= demand
  635. sc config SessionEnv start= demand
  636. sc config SharedAccess start= Disabled
  637. sc config ShellHWDetection start= Auto
  638. sc config simptcp start= Auto
  639. sc config smphost start= demand
  640. sc config SNMP start= Auto
  641. sc config SNMPTRAP start= demand
  642. sc config Spooler start= Auto
  643. sc config sppsvc start= Auto
  644. sc config SSDPSRV start= demand
  645. sc config SstpSvc start= demand
  646. sc config stisvc start= demand
  647. sc config StorSvc start= demand
  648. sc config svsvc start= demand
  649. sc config swprv start= demand
  650. sc config SysMain start= Auto
  651. sc config SystemEventsBroker start= Auto
  652. sc config TabletInputService start= Auto
  653. sc config TapiSrv start= demand
  654. sc config TermService start= demand
  655. sc config Themes start= Auto
  656. sc config THREADORDER start= demand
  657. sc config TimeBroker start= demand
  658. sc config TlntSvr start= Disabled
  659. sc config TrkWks start= Auto
  660. sc config TrustedInstaller start= demand
  661. sc config UI0Detect start= demand
  662. sc config UmRdpService start= demand
  663. sc config upnphost start= demand
  664. sc config VaultSvc start= demand
  665. sc config vds start= demand
  666. sc config vmicguestinterface start= demand
  667. sc config vmicheartbeat start= demand
  668. sc config vmickvpexchange start= demand
  669. sc config vmicrdv start= demand
  670. sc config vmicshutdown start= demand
  671. sc config vmictimesync start= demand
  672. sc config vmicvss start= demand
  673. sc config vmvss start= demand
  674. sc config VSS start= demand
  675. sc config W32Time start= Auto
  676. sc config w3logsvc start= demand
  677. sc config W3SVC start= Auto
  678. sc config WAS start= demand
  679. sc config wbengine start= demand
  680. sc config WbioSrvc start= demand
  681. sc config Wcmsvc start= Auto
  682. sc config wcncsvc start= demand
  683. sc config WcsPlugInService start= demand
  684. sc config WdiServiceHost start= demand
  685. sc config WdiSystemHost start= demand
  686. sc config WdNisSvc start= demand
  687. sc config WebClient start= demand
  688. sc config Wecsvc start= demand
  689. sc config WEPHOSTSVC start= demand
  690. sc config wercplsupport start= demand
  691. sc config WerSvc start= demand
  692. sc config WiaRpc start= demand
  693. sc config WinDefend start= Auto
  694. sc config WinHttpAutoProxySvc start= demand
  695. sc config Winmgmt start= Auto
  696. sc config WinRM start= demand
  697. sc config WlanSvc start= Auto
  698. sc config wlidsvc start= demand
  699. sc config wmiApSrv start= demand
  700. sc config WMPNetworkSvc start= Auto
  701. sc config WMSVC start= demand
  702. sc config workfolderssvc start= demand
  703. sc config WPCSvc start= demand
  704. sc config WPDBusEnum start= demand
  705. sc config wscsvc start= Auto
  706. sc config WSearch start= Auto
  707. sc config WSService start= demand
  708. sc config wuauserv start= demand
  709. sc config wudfsvc start= demand
  710. sc config WwanSvc start= Auto
  711.  
  712. Goto :Reboot
  713.  
  714.  
  715. :Win_8
  716. sc config AeLookupSvc start= demand
  717. sc config ALG start= demand
  718. sc config AppHostSvc start= Auto
  719. sc config AppIDSvc start= demand
  720. sc config Appinfo start= demand
  721. sc config AppMgmt start= demand
  722. sc config AppReadiness start= demand
  723. sc config AppXSvc start= demand
  724. sc config aspnet_state start= demand
  725. sc config AudioEndpointBuilder start= Auto
  726. sc config Audiosrv start= Auto
  727. sc config AxInstSV start= demand
  728. sc config BDESVC start= demand
  729. sc config BFE start= Auto
  730. sc config BITS start= Auto
  731. sc config BrokerInfrastructure start= Auto
  732. sc config Browser start= demand
  733. sc config BthHFSrv start= demand
  734. sc config bthserv start= demand
  735. sc config c2wts start= demand
  736. sc config CertPropSvc start= demand
  737. sc config COMSysApp start= demand
  738. sc config CryptSvc start= Auto
  739. sc config CscService start= demand
  740. sc config DcomLaunch start= Auto
  741. sc config defragsvc start= demand
  742. sc config DeviceAssociationService start= Auto
  743. sc config DeviceInstall start= demand
  744. sc config Dhcp start= Auto
  745. sc config diagtrack start= Auto
  746. sc config Dnscache start= Auto
  747. sc config dot3svc start= demand
  748. sc config DPS start= Auto
  749. sc config DsmSvc start= demand
  750. sc config DsRoleSvc start= demand
  751. sc config Eaphost start= demand
  752. sc config EFS start= demand
  753. sc config ehRecvr start= demand
  754. sc config ehSched start= demand
  755. sc config EventLog start= Auto
  756. sc config EventSystem start= Auto
  757. sc config Fax start= demand
  758. sc config fdPHost start= demand
  759. sc config FDResPub start= demand
  760. sc config fhsvc start= demand
  761. sc config FontCache start= Auto
  762. sc config FontCache3.0.0.0 start= demand
  763. sc config ftpsvc start= Auto
  764. sc config gpsvc start= Auto
  765. sc config hidserv start= demand
  766. sc config hkmsvc start= demand
  767. sc config HomeGroupListener start= Auto
  768. sc config HomeGroupProvider start= Auto
  769. sc config IEEtwCollectorService start= demand
  770. sc config IISADMIN start= Auto
  771. sc config IKEEXT start= demand
  772. sc config iphlpsvc start= Auto
  773. sc config iprip start= Auto
  774. sc config KeyIso start= demand
  775. sc config KtmRm start= demand
  776. sc config LanmanServer start= Auto
  777. sc config LanmanWorkstation start= Auto
  778. sc config lfsvc start= demand
  779. sc config lltdsvc start= demand
  780. sc config lmhosts start= Auto
  781. sc config LPDSVC start= Auto
  782. sc config LSM start= Auto
  783. sc config Mcx2Svc start= Disabled
  784. sc config MMCSS start= Auto
  785. sc config MpsSvc start= Auto
  786. sc config MSDTC start= demand
  787. sc config MSiSCSI start= demand
  788. sc config msiserver start= demand
  789. sc config MsKeyboardFilter start= Disabled
  790. sc config MSMQ start= Auto
  791. sc config MSMQTriggers start= Auto
  792. sc config napagent start= demand
  793. sc config NcaSvc start= demand
  794. sc config NcbService start= demand
  795. sc config NcdAutoSetup start= demand
  796. sc config Netlogon start= Auto
  797. sc config Netman start= demand
  798. sc config NetMsmqActivator start= Auto
  799. sc config NetPipeActivator start= Auto
  800. sc config netprofm start= demand
  801. sc config NetTcpActivator start= Auto
  802. sc config NetTcpPortSharing start= demand
  803. sc config NlaSvc start= Auto
  804. sc config nsi start= Auto
  805. sc config p2pimsvc start= demand
  806. sc config p2psvc start= demand
  807. sc config PcaSvc start= Auto
  808. sc config PeerDistSvc start= demand
  809. sc config PerfHost start= demand
  810. sc config pla start= demand
  811. sc config PlugPlay start= demand
  812. sc config PNRPAutoReg start= demand
  813. sc config PNRPsvc start= demand
  814. sc config PolicyAgent start= demand
  815. sc config Power start= Auto
  816. sc config PrintNotify start= demand
  817. sc config ProfSvc start= Auto
  818. sc config QWAVE start= demand
  819. sc config RasAuto start= demand
  820. sc config RasMan start= demand
  821. sc config RemoteAccess start= Disabled
  822. sc config RemoteRegistry start= Disabled
  823. sc config RpcEptMapper start= Auto
  824. sc config RpcLocator start= demand
  825. sc config RpcSs start= Auto
  826. sc config SamSs start= Auto
  827. sc config SCardSvr start= Disabled
  828. sc config ScDeviceEnum start= demand
  829. sc config Schedule start= Auto
  830. sc config SCPolicySvc start= demand
  831. sc config seclogon start= demand
  832. sc config SENS start= Auto
  833. sc config SensrSvc start= demand
  834. sc config SessionEnv start= demand
  835. sc config SharedAccess start= Disabled
  836. sc config ShellHWDetection start= Auto
  837. sc config simptcp start= Auto
  838. sc config smphost start= demand
  839. sc config SNMP start= Auto
  840. sc config SNMPTRAP start= demand
  841. sc config Spooler start= Auto
  842. sc config sppsvc start= Auto
  843. sc config SSDPSRV start= demand
  844. sc config SstpSvc start= demand
  845. sc config stisvc start= demand
  846. sc config StorSvc start= demand
  847. sc config svsvc start= demand
  848. sc config swprv start= demand
  849. sc config SysMain start= Auto
  850. sc config SystemEventsBroker start= Auto
  851. sc config TabletInputService start= Auto
  852. sc config TapiSrv start= demand
  853. sc config TermService start= demand
  854. sc config Themes start= Auto
  855. sc config THREADORDER start= demand
  856. sc config TimeBroker start= demand
  857. sc config TlntSvr start= Disabled
  858. sc config TrkWks start= Auto
  859. sc config TrustedInstaller start= demand
  860. sc config UI0Detect start= demand
  861. sc config UmRdpService start= demand
  862. sc config upnphost start= demand
  863. sc config VaultSvc start= demand
  864. sc config vds start= demand
  865. sc config vmicguestinterface start= demand
  866. sc config vmicheartbeat start= demand
  867. sc config vmickvpexchange start= demand
  868. sc config vmicrdv start= demand
  869. sc config vmicshutdown start= demand
  870. sc config vmictimesync start= demand
  871. sc config vmicvss start= demand
  872. sc config vmvss start= demand
  873. sc config VSS start= demand
  874. sc config W32Time start= Auto
  875. sc config w3logsvc start= demand
  876. sc config W3SVC start= Auto
  877. sc config WAS start= demand
  878. sc config wbengine start= demand
  879. sc config WbioSrvc start= demand
  880. sc config Wcmsvc start= Auto
  881. sc config wcncsvc start= demand
  882. sc config WcsPlugInService start= demand
  883. sc config WdiServiceHost start= demand
  884. sc config WdiSystemHost start= demand
  885. sc config WdNisSvc start= demand
  886. sc config WebClient start= demand
  887. sc config Wecsvc start= demand
  888. sc config WEPHOSTSVC start= demand
  889. sc config wercplsupport start= demand
  890. sc config WerSvc start= demand
  891. sc config WiaRpc start= demand
  892. sc config WinDefend start= Auto
  893. sc config WinHttpAutoProxySvc start= demand
  894. sc config Winmgmt start= Auto
  895. sc config WinRM start= demand
  896. sc config WlanSvc start= Auto
  897. sc config wlidsvc start= demand
  898. sc config wmiApSrv start= demand
  899. sc config WMPNetworkSvc start= Auto
  900. sc config WMSVC start= demand
  901. sc config workfolderssvc start= demand
  902. sc config WPCSvc start= demand
  903. sc config WPDBusEnum start= demand
  904. sc config wscsvc start= Auto
  905. sc config WSearch start= Auto
  906. sc config WSService start= demand
  907. sc config wuauserv start= demand
  908. sc config wudfsvc start= demand
  909. sc config WwanSvc start= Auto
  910.  
  911. Goto :Reboot
  912.  
  913.  
  914. :Win_7
  915. sc config AeLookupSvc start= demand
  916. sc config ALG start= demand
  917. sc config AppIDSvc start= demand
  918. sc config Appinfo start= demand
  919. sc config AppMgmt start= demand
  920. sc config AudioEndpointBuilder start= Auto
  921. sc config AudioSrv start= Auto
  922. sc config AxInstSV start= demand
  923. sc config BDESVC start= demand
  924. sc config BFE start= Auto
  925. sc config BITS start= Auto
  926. sc config Browser start= demand
  927. sc config bthserv start= demand
  928. sc config CertPropSvc start= demand
  929. sc config clr_optimization_v2.0.50727_32 start= Auto
  930. sc config clr_optimization_v2.0.50727_64 start= Auto
  931. sc config COMSysApp start= demand
  932. sc config CryptSvc start= Auto
  933. sc config CscService start= Auto
  934. sc config DcomLaunch start= Auto
  935. sc config defragsvc start= demand
  936. sc config Dhcp start= Auto
  937. sc config Dnscache start= Auto
  938. sc config dot3svc start= demand
  939. sc config DPS start= Auto
  940. sc config EapHost start= demand
  941. sc config EFS start= demand
  942. sc config ehRecvr start= Auto
  943. sc config ehSched start= Auto
  944. sc config eventlog start= Auto
  945. sc config EventSystem start= Auto
  946. sc config Fax start= demand
  947. sc config fdPHost start= demand
  948. sc config FDResPub start= Auto
  949. sc config FontCache start= Auto
  950. sc config FontCache3.0.0.0 start= demand
  951. sc config gpsvc start= Auto
  952. sc config hidserv start= demand
  953. sc config hkmsvc start= demand
  954. sc config HomeGroupListener start= Auto
  955. sc config HomeGroupProvider start= Auto
  956. sc config idsvc start= demand
  957. sc config IKEEXT start= Auto
  958. sc config IPBusEnum start= demand
  959. sc config iphlpsvc start= Auto
  960. sc config KeyIso start= demand
  961. sc config KtmRm start= demand
  962. sc config LanmanServer start= Auto
  963. sc config LanmanWorkstation start= Auto
  964. sc config lltdsvc start= demand
  965. sc config lmhosts start= Auto
  966. sc config Mcx2Svc start= Disabled
  967. sc config MMCSS start= Auto
  968. sc config MpsSvc start= Auto
  969. sc config MSDTC start= demand
  970. sc config MSiSCSI start= demand
  971. sc config msiserver start= demand
  972. sc config napagent start= demand
  973. sc config Netlogon start= Auto
  974. sc config Netman start= demand
  975. sc config netprofm start= demand
  976. sc config NetTcpPortSharing start= Disabled
  977. sc config NlaSvc start= Auto
  978. sc config nsi start= Auto
  979. sc config p2pimsvc start= demand
  980. sc config p2psvc start= demand
  981. sc config PcaSvc start= Auto
  982. sc config PeerDistSvc start= demand
  983. sc config PerfHost start= demand
  984. sc config pla start= demand
  985. sc config PlugPlay start= Auto
  986. sc config PNRPAutoReg start= demand
  987. sc config PNRPsvc start= demand
  988. sc config PolicyAgent start= demand
  989. sc config Power start= Auto
  990. sc config ProfSvc start= Auto
  991. sc config ProtectedStorage start= demand
  992. sc config QWAVE start= demand
  993. sc config RasAuto start= demand
  994. sc config RasMan start= demand
  995. sc config RemoteAccess start= Disabled
  996. sc config RemoteRegistry start= demand
  997. sc config RpcEptMapper start= Auto
  998. sc config RpcLocator start= demand
  999. sc config RpcSs start= Auto
  1000. sc config SamSs start= Auto
  1001. sc config SCardSvr start= demand
  1002. sc config Schedule start= Auto
  1003. sc config SCPolicySvc start= demand
  1004. sc config SDRSVC start= demand
  1005. sc config seclogon start= demand
  1006. sc config SENS start= Auto
  1007. sc config SensrSvc start= demand
  1008. sc config SessionEnv start= demand
  1009. sc config SharedAccess start= Disabled
  1010. sc config ShellHWDetection start= Auto
  1011. sc config SNMPTRAP start= demand
  1012. sc config Spooler start= Auto
  1013. sc config sppsvc start= Auto
  1014. sc config sppuinotify start= demand
  1015. sc config SSDPSRV start= demand
  1016. sc config SstpSvc start= demand
  1017. sc config stisvc start= Auto
  1018. sc config swprv start= demand
  1019. sc config SysMain start= Auto
  1020. sc config TabletInputService start= demand
  1021. sc config TapiSrv start= demand
  1022. sc config TBS start= demand
  1023. sc config TermService start= Auto
  1024. sc config Themes start= Auto
  1025. sc config THREADORDER start= demand
  1026. sc config TrkWks start= Auto
  1027. sc config TrustedInstaller start= demand
  1028. sc config UI0Detect start= demand
  1029. sc config UmRdpService start= demand
  1030. sc config upnphost start= demand
  1031. sc config UxSms start= Auto
  1032. sc config VaultSvc start= demand
  1033. sc config vds start= demand
  1034. sc config VSS start= demand
  1035. sc config W32Time start= Auto
  1036. sc config wbengine start= demand
  1037. sc config WbioSrvc start= demand
  1038. sc config wcncsvc start= demand
  1039. sc config WcsPlugInService start= demand
  1040. sc config WdiServiceHost start= demand
  1041. sc config WdiSystemHost start= demand
  1042. sc config WebClient start= demand
  1043. sc config Wecsvc start= demand
  1044. sc config wercplsupport start= demand
  1045. sc config WerSvc start= demand
  1046. sc config WinDefend start= Auto
  1047. sc config WinHttpAutoProxySvc start= demand
  1048. sc config Winmgmt start= Auto
  1049. sc config WinRM start= demand
  1050. sc config Wlansvc start= Auto
  1051. sc config wmiApSrv start= demand
  1052. sc config WMPNetworkSvc start= Auto
  1053. sc config WPCSvc start= demand
  1054. sc config WPDBusEnum start= demand
  1055. sc config wscsvc start= Auto
  1056. sc config WSearch start= Auto
  1057. sc config wuauserv start= Auto
  1058. sc config wudfsvc start= demand
  1059. sc config WwanSvc start= Auto
  1060.  
  1061. Goto :Reboot
  1062.  
  1063.  
  1064. :Win_Vista
  1065. sc config AeLookupSvc start= Auto
  1066. sc config ALG start= demand
  1067. sc config Appinfo start= demand
  1068. sc config AppMgmt start= demand
  1069. sc config AudioEndpointBuilder start= Auto
  1070. sc config AudioSrv start= Auto
  1071. sc config BFE start= Auto
  1072. sc config BITS start= Auto
  1073. sc config Browser start= Auto
  1074. sc config CertPropSvc start= demand
  1075. sc config clr_optimization_v2.0.50727_32 start= demand
  1076. sc config clr_optimization_v2.0.50727_64 start= demand
  1077. sc config COMSysApp start= demand
  1078. sc config CryptSvc start= Auto
  1079. sc config CscService start= Auto
  1080. sc config DcomLaunch start= Auto
  1081. sc config DFSR start= demand
  1082. sc config Dhcp start= Auto
  1083. sc config Dnscache start= Auto
  1084. sc config dot3svc start= demand
  1085. sc config DPS start= Auto
  1086. sc config EapHost start= demand
  1087. sc config ehRecvr start= Auto
  1088. sc config ehSched start= Auto
  1089. sc config ehstart start= Auto
  1090. sc config EMDMgmt start= Auto
  1091. sc config Eventlog start= Auto
  1092. sc config EventSystem start= Auto
  1093. sc config Fax start= demand
  1094. sc config fdPHost start= demand
  1095. sc config FDResPub start= Auto
  1096. sc config FontCache3.0.0.0 start= demand
  1097. sc config gpsvc start= Auto
  1098. sc config hidserv start= demand
  1099. sc config hkmsvc start= demand
  1100. sc config idsvc start= demand
  1101. sc config IKEEXT start= Auto
  1102. sc config IPBusEnum start= demand
  1103. sc config iphlpsvc start= Auto
  1104. sc config KeyIso start= demand
  1105. sc config KtmRm start= Auto
  1106. sc config LanmanServer start= Auto
  1107. sc config LanmanWorkstation start= Auto
  1108. sc config lltdsvc start= demand
  1109. sc config lmhosts start= Auto
  1110. sc config Mcx2Svc start= Disabled
  1111. sc config MMCSS start= Auto
  1112. sc config MpsSvc start= Auto
  1113. sc config MSDTC start= demand
  1114. sc config MSiSCSI start= demand
  1115. sc config msiserver start= demand
  1116. sc config napagent start= demand
  1117. sc config Netlogon start= Auto
  1118. sc config Netman start= demand
  1119. sc config netprofm start= Auto
  1120. sc config NetTcpPortSharing start= Disabled
  1121. sc config NlaSvc start= Auto
  1122. sc config nsi start= Auto
  1123. sc config p2pimsvc start= demand
  1124. sc config p2psvc start= demand
  1125. sc config PcaSvc start= Auto
  1126. sc config PerfHost start= demand
  1127. sc config pla start= demand
  1128. sc config PlugPlay start= Auto
  1129. sc config PNRPAutoReg start= demand
  1130. sc config PNRPsvc start= demand
  1131. sc config PolicyAgent start= Auto
  1132. sc config ProfSvc start= Auto
  1133. sc config ProtectedStorage start= demand
  1134. sc config QWAVE start= demand
  1135. sc config RasAuto start= demand
  1136. sc config RasMan start= demand
  1137. sc config RemoteAccess start= Disabled
  1138. sc config RemoteRegistry start= demand
  1139. sc config RpcLocator start= demand
  1140. sc config RpcSs start= Auto
  1141. sc config SamSs start= Auto
  1142. sc config SCardSvr start= demand
  1143. sc config Schedule start= Auto
  1144. sc config SCPolicySvc start= demand
  1145. sc config SDRSVC start= demand
  1146. sc config seclogon start= Auto
  1147. sc config SENS start= Auto
  1148. sc config SessionEnv start= demand
  1149. sc config SharedAccess start= Disabled
  1150. sc config ShellHWDetection start= Auto
  1151. sc config slsvc start= Auto
  1152. sc config SLUINotify start= demand
  1153. sc config SNMPTRAP start= demand
  1154. sc config Spooler start= Auto
  1155. sc config SSDPSRV start= demand
  1156. sc config SstpSvc start= demand
  1157. sc config stisvc start= Auto
  1158. sc config swprv start= demand
  1159. sc config SysMain start= Auto
  1160. sc config TabletInputService start= Auto
  1161. sc config TapiSrv start= demand
  1162. sc config TBS start= Auto
  1163. sc config TermService start= Auto
  1164. sc config Themes start= Auto
  1165. sc config THREADORDER start= demand
  1166. sc config TrkWks start= Auto
  1167. sc config TrustedInstaller start= demand
  1168. sc config UI0Detect start= demand
  1169. sc config UmRdpService start= demand
  1170. sc config upnphost start= Auto
  1171. sc config UxSms start= Auto
  1172. sc config vds start= demand
  1173. sc config VSS start= demand
  1174. sc config W32Time start= Auto
  1175. sc config wbengine start= demand
  1176. sc config wcncsvc start= demand
  1177. sc config WcsPlugInService start= demand
  1178. sc config WdiServiceHost start= demand
  1179. sc config WdiSystemHost start= demand
  1180. sc config WebClient start= Auto
  1181. sc config Wecsvc start= demand
  1182. sc config wercplsupport start= demand
  1183. sc config WerSvc start= Auto
  1184. sc config WinDefend start= Auto
  1185. sc config WinHttpAutoProxySvc start= demand
  1186. sc config Winmgmt start= Auto
  1187. sc config WinRM start= demand
  1188. sc config Wlansvc start= Auto
  1189. sc config wmiApSrv start= demand
  1190. sc config WMPNetworkSvc start= Auto
  1191. sc config WPCSvc start= demand
  1192. sc config WPDBusEnum start= Auto
  1193. sc config wscsvc start= Auto
  1194. sc config WSearch start= Auto
  1195. sc config wuauserv start= Auto
  1196. sc config wudfsvc start= demand
  1197.  
  1198. Goto :Reboot
  1199.  
  1200.  
  1201.  
  1202. :Win_XP
  1203. sc config Alerter start= Disabled
  1204. sc config ALG start= demand
  1205. sc config AppMgmt start= demand
  1206. sc config AudioSrv start= Auto
  1207. sc config BITS start= demand
  1208. sc config Browser start= Auto
  1209. sc config CiSvc start= demand
  1210. sc config ClipSrv start= Disabled
  1211. sc config COMSysApp start= demand
  1212. sc config CryptSvc start= Auto
  1213. sc config DcomLaunch start= Auto
  1214. sc config Dhcp start= Auto
  1215. sc config dmadmin start= demand
  1216. sc config dmserver start= Auto
  1217. sc config Dnscache start= Auto
  1218. sc config Dot3svc start= demand
  1219. sc config EapHost start= demand
  1220. sc config ERSvc start= Auto
  1221. sc config Eventlog start= Auto
  1222. sc config EventSystem start= demand
  1223. sc config FastUserSwitchingCompatibility start= demand
  1224. sc config helpsvc start= Auto
  1225. sc config HidServ start= Disabled
  1226. sc config hkmsvc start= demand
  1227. sc config HTTPFilter start= demand
  1228. sc config ImapiService start= demand
  1229. sc config LanmanServer start= Auto
  1230. sc config lanmanworkstation start= Auto
  1231. sc config LmHosts start= Auto
  1232. sc config Messenger start= Disabled
  1233. sc config mnmsrvc start= demand
  1234. sc config MSDTC start= demand
  1235. sc config MSIServer start= demand
  1236. sc config napagent start= demand
  1237. sc config NetDDE start= Disabled
  1238. sc config NetDDEdsdm start= Disabled
  1239. sc config Netlogon start= Auto
  1240. sc config Netman start= demand
  1241. sc config Nla start= demand
  1242. sc config NtLmSsp start= demand
  1243. sc config NtmsSvc start= demand
  1244. sc config PlugPlay start= Auto
  1245. sc config PolicyAgent start= Auto
  1246. sc config ProtectedStorage start= Auto
  1247. sc config RasAuto start= demand
  1248. sc config RasMan start= demand
  1249. sc config RDSessMgr start= demand
  1250. sc config RemoteAccess start= Disabled
  1251. sc config RemoteRegistry start= Auto
  1252. sc config RpcLocator start= demand
  1253. sc config RpcSs start= Auto
  1254. sc config RSVP start= demand
  1255. sc config SamSs start= Auto
  1256. sc config SCardSvr start= demand
  1257. sc config Schedule start= Auto
  1258. sc config seclogon start= Auto
  1259. sc config SENS start= Auto
  1260. sc config SharedAccess start= Auto
  1261. sc config ShellHWDetection start= Auto
  1262. sc config Spooler start= Auto
  1263. sc config srservice start= Auto
  1264. sc config SSDPSRV start= demand
  1265. sc config stisvc start= Auto
  1266. sc config SwPrv start= demand
  1267. sc config SysmonLog start= demand
  1268. sc config TapiSrv start= demand
  1269. sc config TermService start= Auto
  1270. sc config Themes start= Auto
  1271. sc config TlntSvr start= Disabled
  1272. sc config TrkWks start= Auto
  1273. sc config upnphost start= demand
  1274. sc config UPS start= demand
  1275. sc config VSS start= demand
  1276. sc config W32Time start= Auto
  1277. sc config WebClient start= Auto
  1278. sc config winmgmt start= Auto
  1279. sc config WmdmPmSN start= demand
  1280. sc config Wmi start= demand
  1281. sc config WmiApSrv start= demand
  1282. sc config wscsvc start= Auto
  1283. sc config wuauserv start= Auto
  1284. sc config WZCSVC start= Auto
  1285. sc config xmlprov start= demand
  1286.  
  1287.  
  1288.  
  1289. :Reboot
  1290. Cls & Mode CON  LINES=5 COLS=40 & Color 0B & Title  - Finnish -
  1291. Echo.
  1292. Echo.
  1293. Echo    Windows Services Restored
  1294. Ping  -n  5  localhost > Nul
  1295.  
  1296. Cls & Mode CON LINES=7 COLS=52 & Color 0E
  1297. Echo THIS SYSTEM WILL REBOOT.
  1298. Echo.
  1299. Echo PLEASE SAVE ALL WORK IN PROGRESS.
  1300. Echo.
  1301. Echo Press 'ENTER' Key To Reboot System.
  1302. Pause >Nul
  1303. Shutdown /r /t 5 /c "REBOOTING THE SYSTEM"
  1304. Exit
  1305.  
  1306.  
  1307. :NotSupported  
  1308. Cls
  1309. Cls & Mode CON  LINES=5 COLS=48 & Color 0C & Title   -  Not Supported  -
  1310. Echo.
  1311. Echo      OPERATING SYSTEM IS NOT SUPPORTED
  1312. ping -n 10  localhost > Nul
  1313. Exit  /b
  1314.  
  1315.  
  1316. :: Check if batch script executed with administrators privilege.
  1317. :IsAdmin
  1318. Reg query "HKU\S-1-5-19\Environment"
  1319. If Not %ERRORLEVEL% EQU 0 (
  1320.  Cls & Mode CON  LINES=5 COLS=48 & Color 0C & Title - WARNING -
  1321.  Echo.
  1322.  Echo.
  1323.  Echo  YOU MUST HAVE ADMINISTRATOR RIGHTS TO CONTINUE
  1324.  Pause >Nul & Exit
  1325. )
  1326. Cls
  1327. Goto :EOF
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement