Advertisement
FreeBooter

Restore Windows Services Startup Settings

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