Windows-Management

Windows Service Control | Last Update 07.2022

May 4th, 2022 (edited)
4,187
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 45.55 KB | None | 0 0
  1. @echo off
  2. title Windows Service Control (Works with all Windows Versions)
  3. color 30
  4. echo.
  5. echo.
  6. :start
  7. @echo off
  8. echo Windows Service Control (Works with all Windows Versions)
  9. echo WARNING: Services can only be disabled as Administrator. (rightklick run as Admin)
  10. echo File Version: 05.2022 (Press D to get the latest Version)
  11. echo.
  12. echo.
  13. echo Press A to view my Youtube Channel.
  14. echo Press B to view my Youtube Channel without Tracking.
  15. echo.
  16. echo.
  17. echo Press 1 and hit ENTER to view a list of all unnecessary services and tasks.
  18. echo Press 2 and hit ENTER to disable all unnecessary services and tasks now.
  19. echo Press 3 and hit ENTER to reactivate all unnecessary services and tasks.
  20. echo.
  21. echo.
  22. echo Press 4 and hit ENTER to disable bluetooth, printer, remote and wifi services and tasks.
  23. echo Press 5 and hit ENTER to reactivate bluetooth, printer remote and wifi services and tasks.
  24. echo.
  25. echo.
  26. echo Press 6 and hit ENTER to disable windows update and store services and tasks.
  27. echo Press 7 and hit ENTER to reactivate windows update and store services and tasks.
  28. echo.
  29. echo.
  30. echo Press R to reboot your PC now - some services and tasks will only be disabled after reboot.
  31. echo.
  32. echo.
  33. echo Press ENTER to exit.
  34. set /p example=
  35. if %example% == 0 goto start
  36. if %example% == 1 goto 1
  37. if %example% == 2 goto 2
  38. if %example% == 3 goto 3
  39. if %example% == 4 goto 4
  40. if %example% == 5 goto 5
  41. if %example% == 6 goto 6
  42. if %example% == 7 goto 7
  43. if %example% == 8 goto 8
  44. if %example% == a goto A
  45. if %example% == A goto A
  46. if %example% == b goto B
  47. if %example% == B goto B
  48. if %example% == d goto D
  49. if %example% == D goto D
  50. if %example% == r goto R
  51. if %example% == R goto R
  52. :1
  53. echo.
  54. echo.
  55. @echo off
  56. echo Total amount of unnecessary services to be disabled = 92.
  57. echo To view a description for those services press Windows and R key at the same time.
  58. echo Type services.msc then hit ENTER.
  59. echo Total amount of unnecessary tasks to be disabled = 82.
  60. echo To view a description for those tasks press Windows and R key at the same time.
  61. echo Type taskschd.msc then hit ENTER.
  62. echo.
  63. echo.
  64. echo Unnecessary Services: (Total 92)
  65. echo.
  66. echo.
  67. echo PimIndexMaintenanceSvc
  68. echo WinHttpAutoProxySvc
  69. echo wlidsvc
  70. echo DisplayEnhancementService
  71. echo DiagTrack
  72. echo DusmSvc
  73. echo TabletInputService
  74. echo RetailDemo
  75. echo Fax
  76. echo SharedAccess
  77. echo lfsvc
  78. echo WpcMonSvc
  79. echo SessionEnv
  80. echo MicrosoftEdgeElevationService
  81. echo edgeupdate
  82. echo edgeupdatem
  83. echo autotimesvc
  84. echo CscService
  85. echo TermService
  86. echo SensorDataService
  87. echo SensorService
  88. echo SensrSvc
  89. echo shpamsvc
  90. echo diagnosticshub.standardcollector.service
  91. echo PhoneSvc
  92. echo TapiSrv
  93. echo UevAgentService
  94. echo WalletService
  95. echo TokenBroker
  96. echo WebClient
  97. echo MixedRealityOpenXRSvc
  98. echo stisvc
  99. echo WbioSrvc
  100. echo icssvc
  101. echo Wecsvc
  102. echo XboxGipSvc
  103. echo XblAuthManager
  104. echo XboxNetApiSvc
  105. echo XblGameSave
  106. echo SEMgrSvc
  107. echo iphlpsvc
  108. echo Backupper Service"
  109. echo BthAvctpSvc
  110. echo BDESVC
  111. echo cbdhsvc
  112. echo CDPSvc
  113. echo CDPUserSvc
  114. echo DevQueryBroker
  115. echo DevicesFlowUserSvc
  116. echo dmwappushservice
  117. echo DispBrokerDesktopSvc
  118. echo TrkWks
  119. echo dLauncherLoopback
  120. echo EFS
  121. echo fdPHost
  122. echo FDResPub
  123. echo IKEEXT
  124. echo NPSMSvc
  125. echo WPDBusEnum
  126. echo PcaSvc
  127. echo RasMan
  128. echo RetailDemo start=disabled
  129. echo SstpSvc start=disabled
  130. echo ShellHWDetection
  131. echo SSDPSRV
  132. echo SysMain
  133. echo OneSyncSvc
  134. echo lmhosts
  135. echo UserDataSvc
  136. echo UnistoreSvc
  137. echo Wcmsvc
  138. echo FontCache
  139. echo W32Time
  140. echo tzautoupdate
  141. echo DsSvc
  142. echo DevicesFlowUserSvc_5f1ad
  143. echo diagsvc
  144. echo DialogBlockingService
  145. echo PimIndexMaintenanceSvc_5f1ad
  146. echo MessagingService_5f1ad
  147. echo AppVClient
  148. echo MsKeyboardFilter
  149. echo NetTcpPortSharing
  150. echo ssh-agent
  151. echo SstpSvc
  152. echo OneSyncSvc_5f1ad
  153. echo wercplsupport
  154. echo WMPNetworkSvc
  155. echo WerSvc
  156. echo WpnUserService_5f1ad
  157. echo WinHttpAutoProxySvc
  158. echo.
  159. echo.
  160. echo Bluetooth, Printer, Remote and Wifi Services: (Total 10)
  161. echo.
  162. echo.
  163. echo PrintNotify
  164. echo Spooler
  165. echo BTAGService
  166. echo bthserv
  167. echo RemoteRegistry
  168. echo RemoteAccess
  169. echo WinRM
  170. echo RmSvc
  171. echo NlaSvc
  172. echo LanmanWorkstation
  173. echo.
  174. echo.
  175. echo Update and Store Services: (Total 12)
  176. echo.
  177. echo.
  178. echo DoSvc
  179. echo upfc
  180. echo uhssvc
  181. echo uhssvc
  182. echo UsoSvc
  183. echo ossrs
  184. echo BITS
  185. echo wuauserv
  186. echo PushToInstall
  187. echo InstallService
  188. echo LanmanServer
  189. echo WaaSMedicSvc
  190. echo.
  191. echo.
  192. echo Unnecessary Tasks: (Total 82)
  193. echo.
  194. echo.
  195. echo "Driver Easy Scheduled Scan"
  196. echo "ModifyLinkUpdate"
  197. echo "SoftMakerUpdater"
  198. echo "StartCN"
  199. echo "StartDVR"
  200. echo Microsoft\Windows\Application Experience\Microsoft Compatibility Appraiser
  201. echo Microsoft\Windows\Application Experience\PcaPatchDbTask
  202. echo Microsoft\Windows\Application Experience\ProgramDataUpdater
  203. echo Microsoft\Windows\Application Experience\StartupAppTask
  204. echo Microsoft\Windows\Autochk\Proxy
  205. echo Microsoft\Windows\Customer Experience Improvement Program\Consolidator
  206. echo Microsoft\Windows\Customer Experience Improvement Program\UsbCeip
  207. echo Microsoft\Windows\Defrag\ScheduledDefrag
  208. echo Microsoft\Windows\Device Information\Device
  209. echo Microsoft\Windows\Device Information\Device User
  210. echo Microsoft\Windows\Diagnosis\RecommendedTroubleshootingScanner
  211. echo Microsoft\Windows\Diagnosis\Scheduled
  212. echo Microsoft\Windows\DiskCleanup\SilentCleanup
  213. echo Microsoft\Windows\DiskDiagnostic\Microsoft-Windows-DiskDiagnosticDataCollector
  214. echo Microsoft\Windows\DiskFootprint\Diagnostics
  215. echo Microsoft\Windows\DiskFootprint\StorageSense
  216. echo Microsoft\Windows\DUSM\dusmtask
  217. echo Microsoft\Windows\EnterpriseMgmt\MDMMaintenenceTask
  218. echo Microsoft\Windows\Feedback\Siuf\DmClient
  219. echo Microsoft\Windows\Feedback\Siuf\DmClientOnScenarioDownload
  220. echo Microsoft\Windows\FileHistory\File History (maintenance mode)
  221. echo Microsoft\Windows\Flighting\FeatureConfig\ReconcileFeatures
  222. echo Microsoft\Windows\Flighting\FeatureConfig\UsageDataFlushing
  223. echo Microsoft\Windows\Flighting\FeatureConfig\UsageDataReporting
  224. echo Microsoft\Windows\Flighting\OneSettings\RefreshCache
  225. echo Microsoft\Windows\Input\LocalUserSyncDataAvailable
  226. echo Microsoft\Windows\Input\MouseSyncDataAvailable
  227. echo Microsoft\Windows\Input\PenSyncDataAvailable
  228. echo Microsoft\Windows\Input\TouchpadSyncDataAvailable
  229. echo Microsoft\Windows\International\Synchronize Language Settings
  230. echo Microsoft\Windows\LanguageComponentsInstaller\Installation
  231. echo Microsoft\Windows\LanguageComponentsInstaller\ReconcileLanguageResources
  232. echo Microsoft\Windows\LanguageComponentsInstaller\Uninstallation
  233. echo Microsoft\Windows\License Manager\TempSignedLicenseExchange
  234. echo Microsoft\Windows\License Manager\TempSignedLicenseExchange
  235. echo Microsoft\Windows\Management\Provisioning\Cellular
  236. echo Microsoft\Windows\Management\Provisioning\Logon
  237. echo Microsoft\Windows\Maintenance\WinSAT
  238. echo Microsoft\Windows\Maps\MapsToastTask
  239. echo Microsoft\Windows\Maps\MapsUpdateTask
  240. echo Microsoft\Windows\Mobile Broadband Accounts\MNO Metadata Parserd
  241. echo Microsoft\Windows\MUI\LPRemove
  242. echo Microsoft\Windows\NetTrace\GatherNetworkInfo
  243. echo Microsoft\Windows\PI\Sqm-Tasks
  244. echo Microsoft\Windows\Power Efficiency Diagnostics\AnalyzeSystem
  245. echo Microsoft\Windows\PushToInstall\Registration
  246. echo Microsoft\Windows\Ras\MobilityManager
  247. echo Microsoft\Windows\RecoveryEnvironment\VerifyWinRE
  248. echo Microsoft\Windows\RemoteAssistance\RemoteAssistanceTask
  249. echo Microsoft\Windows\RetailDemo\CleanupOfflineContent
  250. echo Microsoft\Windows\Servicing\StartComponentCleanup
  251. echo Microsoft\Windows\SettingSync\NetworkStateChangeTask
  252. echo Microsoft\Windows\Setup\SetupCleanupTask
  253. echo Microsoft\Windows\Setup\SnapshotCleanupTask
  254. echo Microsoft\Windows\SpacePort\SpaceAgentTask
  255. echo Microsoft\Windows\SpacePort\SpaceManagerTask
  256. echo Microsoft\Windows\Speech\SpeechModelDownloadTask
  257. echo Microsoft\Windows\Storage Tiers Management\Storage Tiers Management Initialization
  258. echo Microsoft\Windows\Sysmain\ResPriStaticDbSync
  259. echo Microsoft\Windows\Sysmain\WsSwapAssessmentTask
  260. echo Microsoft\Windows\Task Manager\Interactive
  261. echo Microsoft\Windows\Time Synchronization\ForceSynchronizeTime
  262. echo Microsoft\Windows\Time Synchronization\SynchronizeTime
  263. echo Microsoft\Windows\Time Zone\SynchronizeTimeZone
  264. echo Microsoft\Windows\TPM\Tpm-HASCertRetr
  265. echo Microsoft\Windows\TPM\Tpm-Maintenance
  266. echo Microsoft\Windows\UPnP\UPnPHostConfig
  267. echo Microsoft\Windows\User Profile Service\HiveUploadTask
  268. echo Microsoft\Windows\WDI\ResolutionHost
  269. echo Microsoft\Windows\Windows Filtering Platform\BfeOnServiceStartTypeChange
  270. echo Microsoft\Windows\WOF\WIM-Hash-Management
  271. echo Microsoft\Windows\WOF\WIM-Hash-Validation
  272. echo Microsoft\Windows\Work Folders\Work Folders Logon Synchronization
  273. echo Microsoft\Windows\Work Folders\Work Folders Maintenance Work
  274. echo Microsoft\Windows\Workplace Join\Automatic-Device-Join
  275. echo Microsoft\Windows\WwanSvc\NotificationTask
  276. echo Microsoft\Windows\WwanSvc\OobeDiscovery
  277. echo.
  278. echo.
  279. echo Printer and Wifi Tasks: (Total 5)
  280. echo.
  281. echo.
  282. echo Microsoft\Windows\Printing\EduPrintProv
  283. echo Microsoft\Windows\Printing\PrinterCleanupTask
  284. echo Microsoft\Windows\WlanSvc\CDSSync
  285. echo Microsoft\Windows\WCM\WiFiTask
  286. echo Microsoft\Windows\NlaSvc\WiFiTask
  287. echo.
  288. echo.
  289. echo Update and Store Tasks: (Total 12)
  290. echo.
  291. echo.
  292. echo Microsoft\Windows\InstallService\ScanForUpdates
  293. echo Microsoft\Windows\InstallService\ScanForUpdatesAsUser
  294. echo Microsoft\Windows\InstallService\SmartRetry
  295. echo Microsoft\Windows\InstallService\WakeUpAndContinueUpdates
  296. echo Microsoft\Windows\InstallService\WakeUpAndScanForUpdates
  297. echo Microsoft\Windows\UpdateOrchestrator\Report policies
  298. echo Microsoft\Windows\UpdateOrchestrator\Schedule Scan
  299. echo Microsoft\Windows\UpdateOrchestrator\Schedule Scan Static Task
  300. echo Microsoft\Windows\UpdateOrchestrator\UpdateModelTask
  301. echo Microsoft\Windows\UpdateOrchestrator\USO_UxBroker
  302. echo Microsoft\Windows\WaaSMedic\PerformRemediation
  303. echo Microsoft\Windows\WindowsUpdate\Scheduled Start
  304. echo.
  305. echo.
  306. echo All services and tasks listed above.
  307. echo Press 0 and hit ENTER to open the menu or press ENTER to exit.
  308. set /p example=
  309. if %example% == 0 goto start
  310. if %example% == 1 goto 1
  311. if %example% == 2 goto 2
  312. if %example% == 3 goto 3
  313. if %example% == 4 goto 4
  314. if %example% == 5 goto 5
  315. if %example% == 6 goto 6
  316. if %example% == 7 goto 7
  317. if %example% == 8 goto 8
  318. if %example% == a goto A
  319. if %example% == A goto A
  320. if %example% == b goto B
  321. if %example% == B goto B
  322. if %example% == d goto D
  323. if %example% == D goto D
  324. if %example% == r goto R
  325. if %example% == R goto R
  326. pause
  327. :2
  328. echo.
  329. echo.
  330. @echo on
  331. reg add "HKLM\System\CurrentControlSet\Services\PimIndexMaintenanceSvc" /v "Start" /t REG_DWORD /d "4" /f
  332. reg add "HKLM\System\CurrentControlSet\Services\WinHttpAutoProxySvc" /v "Start" /t REG_DWORD /d "4" /fd
  333. reg add "HKLM\System\CurrentControlSet\Services\BcastDVRUserService" /v "Start" /t REG_DWORD /d "4" /f
  334. reg add "HKLM\System\CurrentControlSet\Services\xbgm" /v "Start" /t REG_DWORD /d "4" /f
  335. reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\GameDVR" /v "AppCaptureEnabled" /t REG_DWORD /d "0" /f
  336. reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\GameDVR" /v "AudioCaptureEnabled" /t REG_DWORD /d "0" /f
  337. reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\GameDVR" /v "CursorCaptureEnabled" /t REG_DWORD /d "0" /f
  338. reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\GameDVR" /v "MicrophoneCaptureEnabled" /t REG_DWORD /d "0" /f
  339. reg add "HKCU\System\GameConfigStore" /v "GameDVR_FSEBehavior" /t REG_DWORD /d "2" /f
  340. reg add "HKCU\System\GameConfigStore" /v "GameDVR_HonorUserFSEBehaviorMode" /t REG_DWORD /d "2" /f
  341. reg add "HKCU\System\GameConfigStore" /v "GameDVR_Enabled" /t REG_DWORD /d "0" /f
  342. reg add "HKLM\Software\Policies\Microsoft\Windows\GameDVR" /v "AllowgameDVR" /t REG_DWORD /d "0" /f
  343. reg add "HKCU\Software\Microsoft\GameBar" /v "AutoGameModeEnabled" /t REG_DWORD /d "0" /f
  344. sc stop wlidsvc
  345. sc stop DisplayEnhancementService
  346. sc stop DiagTrack
  347. sc stop DusmSvc
  348. sc stop TabletInputService
  349. sc stop RetailDemo
  350. sc stop Fax
  351. sc stop SharedAccess
  352. sc stop lfsvc
  353. sc stop WpcMonSvc
  354. sc stop SessionEnv
  355. sc stop MicrosoftEdgeElevationService
  356. sc stop edgeupdate
  357. sc stop edgeupdatem
  358. sc stop autotimesvc
  359. sc stop CscService
  360. sc stop TermService
  361. sc stop SensorDataService
  362. sc stop SensorService
  363. sc stop SensrSvc
  364. sc stop shpamsvc
  365. sc stop diagnosticshub.standardcollector.service
  366. sc stop PhoneSvc
  367. sc stop TapiSrv
  368. sc stop UevAgentService
  369. sc stop WalletService
  370. sc stop TokenBroker
  371. sc stop WebClient
  372. sc stop MixedRealityOpenXRSvc
  373. sc stop stisvc
  374. sc stop WbioSrvc
  375. sc stop icssvc
  376. sc stop Wecsvc
  377. sc stop XboxGipSvc
  378. sc stop XblAuthManager
  379. sc stop XboxNetApiSvc
  380. sc stop XblGameSave
  381. sc stop SEMgrSvc
  382. sc stop iphlpsvc
  383. sc stop Backupper Service"
  384. sc stop BthAvctpSvc
  385. sc stop BDESVC
  386. sc stop cbdhsvc
  387. sc stop CDPSvc
  388. sc stop CDPUserSvc
  389. sc stop DevQueryBroker
  390. sc stop DevicesFlowUserSvc
  391. sc stop dmwappushservice
  392. sc stop DispBrokerDesktopSvc
  393. sc stop TrkWks
  394. sc stop dLauncherLoopback
  395. sc stop EFS
  396. sc stop fdPHost
  397. sc stop FDResPub
  398. sc stop IKEEXT
  399. sc stop NPSMSvc
  400. sc stop WPDBusEnum
  401. sc stop PcaSvc
  402. sc stop RasMan
  403. sc stop RetailDemo=disabled
  404. sc stop SstpSvc=disabled
  405. sc stop ShellHWDetection
  406. sc stop SSDPSRV
  407. sc stop SysMain
  408. sc stop OneSyncSvc
  409. sc stop lmhosts
  410. sc stop UserDataSvc
  411. sc stop UnistoreSvc
  412. sc stop Wcmsvc
  413. sc stop FontCache
  414. sc stop W32Time
  415. sc stop tzautoupdate
  416. sc stop DsSvc
  417. sc stop DevicesFlowUserSvc_5f1ad
  418. sc stop diagsvc
  419. sc stop DialogBlockingService
  420. sc stop PimIndexMaintenanceSvc_5f1ad
  421. sc stop MessagingService_5f1ad
  422. sc stop AppVClient
  423. sc stop MsKeyboardFilter
  424. sc stop NetTcpPortSharing
  425. sc stop ssh-agent
  426. sc stop SstpSvc
  427. sc stop OneSyncSvc_5f1ad
  428. sc stop wercplsupport
  429. sc stop WMPNetworkSvc
  430. sc stop WerSvc
  431. sc stop WpnUserService_5f1ad
  432. sc stop WinHttpAutoProxySvc
  433. sc config wlidsvc start= disabled
  434. sc config DisplayEnhancementService start= disabled
  435. sc config DiagTrack start= disabled
  436. sc config DusmSvc start= disabled
  437. sc config TabletInputService start= disabled
  438. sc config RetailDemo start= disabled
  439. sc config Fax start= disabled
  440. sc config SharedAccess start= disabled
  441. sc config lfsvc start= disabled
  442. sc config WpcMonSvc start= disabled
  443. sc config SessionEnv start= disabled
  444. sc config MicrosoftEdgeElevationService start= disabled
  445. sc config edgeupdate start= disabled
  446. sc config edgeupdatem start= disabled
  447. sc config autotimesvc start= disabled
  448. sc config CscService start= disabled
  449. sc config TermService start= disabled
  450. sc config SensorDataService start= disabled
  451. sc config SensorService start= disabled
  452. sc config SensrSvc start= disabled
  453. sc config shpamsvc start= disabled
  454. sc config diagnosticshub.standardcollector.service start= disabled
  455. sc config PhoneSvc start= disabled
  456. sc config TapiSrv start= disabled
  457. sc config UevAgentService start= disabled
  458. sc config WalletService start= disabled
  459. sc config TokenBroker start= disabled
  460. sc config WebClient start= disabled
  461. sc config MixedRealityOpenXRSvc start= disabled
  462. sc config stisvc start= disabled
  463. sc config WbioSrvc start= disabled
  464. sc config icssvc start= disabled
  465. sc config Wecsvc start= disabled
  466. sc config XboxGipSvc start= disabled
  467. sc config XblAuthManager start= disabled
  468. sc config XboxNetApiSvc start= disabled
  469. sc config XblGameSave start= disabled
  470. sc config SEMgrSvc start= disabled
  471. sc config iphlpsvc start= disabled
  472. sc config Backupper Service" start= disabled
  473. sc config BthAvctpSvc start= disabled
  474. sc config BDESVC start= disabled
  475. sc config cbdhsvc start= disabled
  476. sc config CDPSvc start= disabled
  477. sc config CDPUserSvc start= disabled
  478. sc config DevQueryBroker start= disabled
  479. sc config DevicesFlowUserSvc start= disabled
  480. sc config dmwappushservice start= disabled
  481. sc config DispBrokerDesktopSvc start= disabled
  482. sc config TrkWks start= disabled
  483. sc config dLauncherLoopback start= disabled
  484. sc config EFS start= disabled
  485. sc config fdPHost start= disabled
  486. sc config FDResPub start= disabled
  487. sc config IKEEXT start= disabled
  488. sc config NPSMSvc start= disabled
  489. sc config WPDBusEnum start= disabled
  490. sc config PcaSvc start= disabled
  491. sc config RasMan start= disabled
  492. sc config RetailDemo start=disabled
  493. sc config SstpSvc start=disabled
  494. sc config ShellHWDetection start= disabled
  495. sc config SSDPSRV start= disabled
  496. sc config SysMain start= disabled
  497. sc config OneSyncSvc start= disabled
  498. sc config lmhosts start= disabled
  499. sc config UserDataSvc start= disabled
  500. sc config UnistoreSvc start= disabled
  501. sc config Wcmsvc start= disabled
  502. sc config FontCache start= disabled
  503. sc config W32Time start= disabled
  504. sc config tzautoupdate start= disabled
  505. sc config DsSvc start= disabled
  506. sc config DevicesFlowUserSvc_5f1ad start= disabled
  507. sc config diagsvc start= disabled
  508. sc config DialogBlockingService start= disabled
  509. sc config PimIndexMaintenanceSvc_5f1ad start= disabled
  510. sc config MessagingService_5f1ad start= disabled
  511. sc config AppVClient start= disabled
  512. sc config MsKeyboardFilter start= disabled
  513. sc config NetTcpPortSharing start= disabled
  514. sc config ssh-agent start= disabled
  515. sc config SstpSvc start= disabled
  516. sc config OneSyncSvc_5f1ad start= disabled
  517. sc config wercplsupport start= disabled
  518. sc config WMPNetworkSvc start= disabled
  519. sc config WerSvc start= disabled
  520. sc config WpnUserService_5f1ad start= disabled
  521. sc config WinHttpAutoProxySvc start= disabled
  522. schtasks /DELETE /TN "AMDInstallLauncher" /f
  523. schtasks /DELETE /TN "AMDLinkUpdate" /f
  524. schtasks /DELETE /TN "AMDRyzenMasterSDKTask" /f
  525. schtasks /DELETE /TN "Driver Easy Scheduled Scan" /f
  526. schtasks /DELETE /TN "ModifyLinkUpdate" /f
  527. schtasks /DELETE /TN "SoftMakerUpdater" /f
  528. schtasks /DELETE /TN "StartCN" /f
  529. schtasks /DELETE /TN "StartDVR" /f
  530. schtasks /Change /TN "Microsoft\Windows\Application Experience\Microsoft Compatibility Appraiser" /Disable
  531. schtasks /Change /TN "Microsoft\Windows\Application Experience\PcaPatchDbTask" /Disable
  532. schtasks /Change /TN "Microsoft\Windows\Application Experience\ProgramDataUpdater" /Disable
  533. schtasks /Change /TN "Microsoft\Windows\Application Experience\StartupAppTask" /Disable
  534. schtasks /Change /TN "Microsoft\Windows\Autochk\Proxy" /Disable
  535. schtasks /Change /TN "Microsoft\Windows\Customer Experience Improvement Program\Consolidator" /Disable
  536. schtasks /Change /TN "Microsoft\Windows\Customer Experience Improvement Program\UsbCeip" /Disable
  537. schtasks /Change /TN "Microsoft\Windows\Defrag\ScheduledDefrag" /Disable
  538. schtasks /Change /TN "Microsoft\Windows\Device Information\Device" /Disable
  539. schtasks /Change /TN "Microsoft\Windows\Device Information\Device User" /Disable
  540. schtasks /Change /TN "Microsoft\Windows\Diagnosis\RecommendedTroubleshootingScanner" /Disable
  541. schtasks /Change /TN "Microsoft\Windows\Diagnosis\Scheduled" /Disable
  542. schtasks /Change /TN "Microsoft\Windows\DiskCleanup\SilentCleanup" /Disable
  543. schtasks /Change /TN "Microsoft\Windows\DiskDiagnostic\Microsoft-Windows-DiskDiagnosticDataCollector" /Disable
  544. schtasks /Change /TN "Microsoft\Windows\DiskFootprint\Diagnostics" /Disable
  545. schtasks /Change /TN "Microsoft\Windows\DiskFootprint\StorageSense" /Disable
  546. schtasks /Change /TN "Microsoft\Windows\DUSM\dusmtask" /Disable
  547. schtasks /Change /TN "Microsoft\Windows\EnterpriseMgmt\MDMMaintenenceTask" /Disable
  548. schtasks /Change /TN "Microsoft\Windows\Feedback\Siuf\DmClient" /Disable
  549. schtasks /Change /TN "Microsoft\Windows\Feedback\Siuf\DmClientOnScenarioDownload" /Disable
  550. schtasks /Change /TN "Microsoft\Windows\FileHistory\File History (maintenance mode)" /Disable
  551. schtasks /Change /TN "Microsoft\Windows\Flighting\FeatureConfig\ReconcileFeatures" /Disable
  552. schtasks /Change /TN "Microsoft\Windows\Flighting\FeatureConfig\UsageDataFlushing" /Disable
  553. schtasks /Change /TN "Microsoft\Windows\Flighting\FeatureConfig\UsageDataReporting" /Disable
  554. schtasks /Change /TN "Microsoft\Windows\Flighting\OneSettings\RefreshCache" /Disable
  555. schtasks /Change /TN "Microsoft\Windows\Input\LocalUserSyncDataAvailable" /Disable
  556. schtasks /Change /TN "Microsoft\Windows\Input\MouseSyncDataAvailable" /Disable
  557. schtasks /Change /TN "Microsoft\Windows\Input\PenSyncDataAvailable" /Disable
  558. schtasks /Change /TN "Microsoft\Windows\Input\TouchpadSyncDataAvailable" /Disable
  559. schtasks /Change /TN "Microsoft\Windows\International\Synchronize Language Settings" /Disable
  560. schtasks /Change /TN "Microsoft\Windows\LanguageComponentsInstaller\Installation" /Disable
  561. schtasks /Change /TN "Microsoft\Windows\LanguageComponentsInstaller\ReconcileLanguageResources" /Disable
  562. schtasks /Change /TN "Microsoft\Windows\LanguageComponentsInstaller\Uninstallation" /Disable
  563. schtasks /Change /TN "Microsoft\Windows\License Manager\TempSignedLicenseExchange" /Disable
  564. schtasks /Change /TN "Microsoft\Windows\License Manager\TempSignedLicenseExchange" /Disable
  565. schtasks /Change /TN "Microsoft\Windows\Management\Provisioning\Cellular" /Disable
  566. schtasks /Change /TN "Microsoft\Windows\Management\Provisioning\Logon" /Disable
  567. schtasks /Change /TN "Microsoft\Windows\Maintenance\WinSAT" /Disable
  568. schtasks /Change /TN "Microsoft\Windows\Maps\MapsToastTask" /Disable
  569. schtasks /Change /TN "Microsoft\Windows\Maps\MapsUpdateTask" /Disable
  570. schtasks /Change /TN "Microsoft\Windows\Mobile Broadband Accounts\MNO Metadata Parser" /Disable
  571. schtasks /Change /TN "Microsoft\Windows\MUI\LPRemove" /Disable
  572. schtasks /Change /TN "Microsoft\Windows\NetTrace\GatherNetworkInfo" /Disable
  573. schtasks /Change /TN "Microsoft\Windows\PI\Sqm-Tasks" /Disable
  574. schtasks /Change /TN "Microsoft\Windows\Power Efficiency Diagnostics\AnalyzeSystem" /Disable
  575. schtasks /Change /TN "Microsoft\Windows\PushToInstall\Registration" /Disable
  576. schtasks /Change /TN "Microsoft\Windows\Ras\MobilityManager" /Disable
  577. schtasks /Change /TN "Microsoft\Windows\RecoveryEnvironment\VerifyWinRE" /Disable
  578. schtasks /Change /TN "Microsoft\Windows\RemoteAssistance\RemoteAssistanceTask" /Disable
  579. schtasks /Change /TN "Microsoft\Windows\RetailDemo\CleanupOfflineContent" /Disable
  580. schtasks /Change /TN "Microsoft\Windows\Servicing\StartComponentCleanup" /Disable
  581. schtasks /Change /TN "Microsoft\Windows\SettingSync\NetworkStateChangeTask" /Disable
  582. schtasks /Change /TN "Microsoft\Windows\Setup\SetupCleanupTask" /Disable
  583. schtasks /Change /TN "Microsoft\Windows\Setup\SnapshotCleanupTask" /Disable
  584. schtasks /Change /TN "Microsoft\Windows\SpacePort\SpaceAgentTask" /Disable
  585. schtasks /Change /TN "Microsoft\Windows\SpacePort\SpaceManagerTask" /Disable
  586. schtasks /Change /TN "Microsoft\Windows\Speech\SpeechModelDownloadTask" /Disable
  587. schtasks /Change /TN "Microsoft\Windows\Storage Tiers Management\Storage Tiers Management Initialization" /Disable
  588. schtasks /Change /TN "Microsoft\Windows\Sysmain\ResPriStaticDbSync" /Disable
  589. schtasks /Change /TN "Microsoft\Windows\Sysmain\WsSwapAssessmentTask" /Disable
  590. schtasks /Change /TN "Microsoft\Windows\Task Manager\Interactive" /Disable
  591. schtasks /Change /TN "Microsoft\Windows\Time Synchronization\ForceSynchronizeTime" /Disable
  592. schtasks /Change /TN "Microsoft\Windows\Time Synchronization\SynchronizeTime" /Disable
  593. schtasks /Change /TN "Microsoft\Windows\Time Zone\SynchronizeTimeZone" /Disable
  594. schtasks /Change /TN "Microsoft\Windows\TPM\Tpm-HASCertRetr" /Disable
  595. schtasks /Change /TN "Microsoft\Windows\TPM\Tpm-Maintenance" /Disable
  596. schtasks /Change /TN "Microsoft\Windows\UPnP\UPnPHostConfig" /Disable
  597. schtasks /Change /TN "Microsoft\Windows\User Profile Service\HiveUploadTask" /Disable
  598. schtasks /Change /TN "Microsoft\Windows\WDI\ResolutionHost" /Disable
  599. schtasks /Change /TN "Microsoft\Windows\Windows Filtering Platform\BfeOnServiceStartTypeChange" /Disable
  600. schtasks /Change /TN "Microsoft\Windows\WOF\WIM-Hash-Management" /Disable
  601. schtasks /Change /TN "Microsoft\Windows\WOF\WIM-Hash-Validation" /Disable
  602. schtasks /Change /TN "Microsoft\Windows\Work Folders\Work Folders Logon Synchronization" /Disable
  603. schtasks /Change /TN "Microsoft\Windows\Work Folders\Work Folders Maintenance Work" /Disable
  604. schtasks /Change /TN "Microsoft\Windows\Workplace Join\Automatic-Device-Join" /Disable
  605. schtasks /Change /TN "Microsoft\Windows\WwanSvc\NotificationTask" /Disable
  606. schtasks /Change /TN "Microsoft\Windows\WwanSvc\OobeDiscovery" /Disable
  607. schtasks /Change /TN "Microsoft\XblGameSave\XblGameSaveTask" /Disable
  608. @echo off
  609. echo.
  610. echo.
  611. echo All unnecessary services and tasks disabled.
  612. echo You should have a look above and verify everything worked correctly.
  613. echo If access was denied you are not in administrator mode.
  614. echo Press 0 and hit ENTER to open the menu or press ENTER to exit.
  615. set /p example=
  616. if %example% == 0 goto start
  617. if %example% == 1 goto 1
  618. if %example% == 2 goto 2
  619. if %example% == 3 goto 3
  620. if %example% == 4 goto 4
  621. if %example% == 5 goto 5
  622. if %example% == 6 goto 6
  623. if %example% == 7 goto 7
  624. if %example% == 8 goto 8
  625. if %example% == a goto A
  626. if %example% == A goto A
  627. if %example% == b goto B
  628. if %example% == B goto B
  629. if %example% == d goto D
  630. if %example% == D goto D
  631. if %example% == r goto R
  632. if %example% == R goto R
  633. pause
  634. :3
  635. echo.
  636. echo.
  637. @echo on
  638. reg add "HKLM\System\CurrentControlSet\Services\PimIndexMaintenanceSvc" /v "Start" /t REG_DWORD /d "3" /f
  639. reg add "HKLM\System\CurrentControlSet\Services\WinHttpAutoProxySvc" /v "Start" /t REG_DWORD /d "3" /fd
  640. sc config wlidsvc start= demand
  641. sc config DisplayEnhancementService start= demand
  642. sc config DiagTrack start= demand
  643. sc config DusmSvc start= demand
  644. sc config TabletInputService start= demand
  645. sc config RetailDemo start= demand
  646. sc config Fax start= demand
  647. sc config SharedAccess start= demand
  648. sc config lfsvc start= demand
  649. sc config WpcMonSvc start= demand
  650. sc config SessionEnv start= demand
  651. sc config MicrosoftEdgeElevationService start= demand
  652. sc config edgeupdate start= demand
  653. sc config edgeupdatem start= demand
  654. sc config autotimesvc start= demand
  655. sc config CscService start= demand
  656. sc config TermService start= demand
  657. sc config SensorDataService start= demand
  658. sc config SensorService start= demand
  659. sc config SensrSvc start= demand
  660. sc config shpamsvc start= demand
  661. sc config diagnosticshub.standardcollector.service start= demand
  662. sc config PhoneSvc start= demand
  663. sc config TapiSrv start= demand
  664. sc config UevAgentService start= demand
  665. sc config WalletService start= demand
  666. sc config TokenBroker start= demand
  667. sc config WebClient start= demand
  668. sc config MixedRealityOpenXRSvc start= demand
  669. sc config stisvc start= demand
  670. sc config WbioSrvc start= demand
  671. sc config icssvc start= demand
  672. sc config Wecsvc start= demand
  673. sc config XboxGipSvc start= demand
  674. sc config XblAuthManager start= demand
  675. sc config XboxNetApiSvc start= demand
  676. sc config XblGameSave start= demand
  677. sc config SEMgrSvc start= demand
  678. sc config iphlpsvc start= demand
  679. sc config Backupper Service" start= demand
  680. sc config BthAvctpSvc start= demand
  681. sc config BDESVC start= demand
  682. sc config cbdhsvc start= demand
  683. sc config CDPSvc start= demand
  684. sc config CDPUserSvc start= demand
  685. sc config DevQueryBroker start= demand
  686. sc config DevicesFlowUserSvc start= demand
  687. sc config dmwappushservice start= demand
  688. sc config DispBrokerDesktopSvc start= demand
  689. sc config TrkWks start= demand
  690. sc config dLauncherLoopback start= demand
  691. sc config EFS start= demand
  692. sc config fdPHost start= demand
  693. sc config FDResPub start= demand
  694. sc config IKEEXT start= demand
  695. sc config NPSMSvc start= demand
  696. sc config WPDBusEnum start= demand
  697. sc config PcaSvc start= demand
  698. sc config RasMan start= demand
  699. sc config RetailDemo start=disabled
  700. sc config SstpSvc start=disabled
  701. sc config ShellHWDetection start= demand
  702. sc config SSDPSRV start= demand
  703. sc config SysMain start= demand
  704. sc config OneSyncSvc start= demand
  705. sc config lmhosts start= demand
  706. sc config UserDataSvc start= demand
  707. sc config UnistoreSvc start= demand
  708. sc config Wcmsvc start= demand
  709. sc config FontCache start= demand
  710. sc config W32Time start= demand
  711. sc config tzautoupdate start= demand
  712. sc config DsSvc start= demand
  713. sc config DevicesFlowUserSvc_5f1ad start= demand
  714. sc config diagsvc start= demand
  715. sc config DialogBlockingService start= demand
  716. sc config PimIndexMaintenanceSvc_5f1ad start= demand
  717. sc config MessagingService_5f1ad start= demand
  718. sc config AppVClient start= demand
  719. sc config MsKeyboardFilter start= demand
  720. sc config NetTcpPortSharing start= demand
  721. sc config ssh-agent start= demand
  722. sc config SstpSvc start= demand
  723. sc config OneSyncSvc_5f1ad start= demand
  724. sc config wercplsupport start= demand
  725. sc config WMPNetworkSvc start= demand
  726. sc config WerSvc start= demand
  727. sc config WpnUserService_5f1ad start= demand
  728. sc config WinHttpAutoProxySvc start= demand
  729. schtasks /Change /TN "Microsoft\Windows\Application Experience\Microsoft Compatibility Appraiser" /Enable
  730. schtasks /Change /TN "Microsoft\Windows\Application Experience\PcaPatchDbTask" /Enable
  731. schtasks /Change /TN "Microsoft\Windows\Application Experience\ProgramDataUpdater" /Enable
  732. schtasks /Change /TN "Microsoft\Windows\Application Experience\StartupAppTask" /Enable
  733. schtasks /Change /TN "Microsoft\Windows\Autochk\Proxy" /Enable
  734. schtasks /Change /TN "Microsoft\Windows\Customer Experience Improvement Program\Consolidator" /Enable
  735. schtasks /Change /TN "Microsoft\Windows\Customer Experience Improvement Program\UsbCeip" /Enable
  736. schtasks /Change /TN "Microsoft\Windows\Defrag\ScheduledDefrag" /Enable
  737. schtasks /Change /TN "Microsoft\Windows\Device Information\Device" /Enable
  738. schtasks /Change /TN "Microsoft\Windows\Device Information\Device User" /Enable
  739. schtasks /Change /TN "Microsoft\Windows\Diagnosis\RecommendedTroubleshootingScanner" /Enable
  740. schtasks /Change /TN "Microsoft\Windows\Diagnosis\Scheduled" /Enable
  741. schtasks /Change /TN "Microsoft\Windows\DiskCleanup\SilentCleanup" /Enable
  742. schtasks /Change /TN "Microsoft\Windows\DiskDiagnostic\Microsoft-Windows-DiskDiagnosticDataCollector" /Enable
  743. schtasks /Change /TN "Microsoft\Windows\DiskFootprint\Diagnostics" /Enable
  744. schtasks /Change /TN "Microsoft\Windows\DiskFootprint\StorageSense" /Enable
  745. schtasks /Change /TN "Microsoft\Windows\DUSM\dusmtask" /Enable
  746. schtasks /Change /TN "Microsoft\Windows\EnterpriseMgmt\MDMMaintenenceTask" /Enable
  747. schtasks /Change /TN "Microsoft\Windows\Feedback\Siuf\DmClient" /Enable
  748. schtasks /Change /TN "Microsoft\Windows\Feedback\Siuf\DmClientOnScenarioDownload" /Enable
  749. schtasks /Change /TN "Microsoft\Windows\FileHistory\File History (maintenance mode)" /Enable
  750. schtasks /Change /TN "Microsoft\Windows\Flighting\FeatureConfig\ReconcileFeatures" /Enable
  751. schtasks /Change /TN "Microsoft\Windows\Flighting\FeatureConfig\UsageDataFlushing" /Enable
  752. schtasks /Change /TN "Microsoft\Windows\Flighting\FeatureConfig\UsageDataReporting" /Enable
  753. schtasks /Change /TN "Microsoft\Windows\Flighting\OneSettings\RefreshCache" /Enable
  754. schtasks /Change /TN "Microsoft\Windows\Input\LocalUserSyncDataAvailable" /Enable
  755. schtasks /Change /TN "Microsoft\Windows\Input\MouseSyncDataAvailable" /Enable
  756. schtasks /Change /TN "Microsoft\Windows\Input\PenSyncDataAvailable" /Enable
  757. schtasks /Change /TN "Microsoft\Windows\Input\TouchpadSyncDataAvailable" /Enable
  758. schtasks /Change /TN "Microsoft\Windows\International\Synchronize Language Settings" /Enable
  759. schtasks /Change /TN "Microsoft\Windows\LanguageComponentsInstaller\Installation" /Enable
  760. schtasks /Change /TN "Microsoft\Windows\LanguageComponentsInstaller\ReconcileLanguageResources" /Enable
  761. schtasks /Change /TN "Microsoft\Windows\LanguageComponentsInstaller\Uninstallation" /Enable
  762. schtasks /Change /TN "Microsoft\Windows\License Manager\TempSignedLicenseExchange" /Enable
  763. schtasks /Change /TN "Microsoft\Windows\License Manager\TempSignedLicenseExchange" /Enable
  764. schtasks /Change /TN "Microsoft\Windows\Management\Provisioning\Cellular" /Enable
  765. schtasks /Change /TN "Microsoft\Windows\Management\Provisioning\Logon" /Enable
  766. schtasks /Change /TN "Microsoft\Windows\Maintenance\WinSAT" /Enable
  767. schtasks /Change /TN "Microsoft\Windows\Maps\MapsToastTask" /Enable
  768. schtasks /Change /TN "Microsoft\Windows\Maps\MapsUpdateTask" /Enable
  769. schtasks /Change /TN "Microsoft\Windows\Mobile Broadband Accounts\MNO Metadata Parser" /Enable
  770. schtasks /Change /TN "Microsoft\Windows\MUI\LPRemove" /Enable
  771. schtasks /Change /TN "Microsoft\Windows\NetTrace\GatherNetworkInfo" /Enable
  772. schtasks /Change /TN "Microsoft\Windows\PI\Sqm-Tasks" /Enable
  773. schtasks /Change /TN "Microsoft\Windows\Power Efficiency Diagnostics\AnalyzeSystem" /Enable
  774. schtasks /Change /TN "Microsoft\Windows\PushToInstall\Registration" /Enable
  775. schtasks /Change /TN "Microsoft\Windows\Ras\MobilityManager" /Enable
  776. schtasks /Change /TN "Microsoft\Windows\RecoveryEnvironment\VerifyWinRE" /Enable
  777. schtasks /Change /TN "Microsoft\Windows\RemoteAssistance\RemoteAssistanceTask" /Enable
  778. schtasks /Change /TN "Microsoft\Windows\RetailDemo\CleanupOfflineContent" /Enable
  779. schtasks /Change /TN "Microsoft\Windows\Servicing\StartComponentCleanup" /Enable
  780. schtasks /Change /TN "Microsoft\Windows\SettingSync\NetworkStateChangeTask" /Enable
  781. schtasks /Change /TN "Microsoft\Windows\Setup\SetupCleanupTask" /Enable
  782. schtasks /Change /TN "Microsoft\Windows\Setup\SnapshotCleanupTask" /Enable
  783. schtasks /Change /TN "Microsoft\Windows\SpacePort\SpaceAgentTask" /Enable
  784. schtasks /Change /TN "Microsoft\Windows\SpacePort\SpaceManagerTask" /Enable
  785. schtasks /Change /TN "Microsoft\Windows\Speech\SpeechModelDownloadTask" /Enable
  786. schtasks /Change /TN "Microsoft\Windows\Storage Tiers Management\Storage Tiers Management Initialization" /Enable
  787. schtasks /Change /TN "Microsoft\Windows\Sysmain\ResPriStaticDbSync" /Enable
  788. schtasks /Change /TN "Microsoft\Windows\Sysmain\WsSwapAssessmentTask" /Enable
  789. schtasks /Change /TN "Microsoft\Windows\Task Manager\Interactive" /Enable
  790. schtasks /Change /TN "Microsoft\Windows\Time Synchronization\ForceSynchronizeTime" /Enable
  791. schtasks /Change /TN "Microsoft\Windows\Time Synchronization\SynchronizeTime" /Enable
  792. schtasks /Change /TN "Microsoft\Windows\Time Zone\SynchronizeTimeZone" /Enable
  793. schtasks /Change /TN "Microsoft\Windows\TPM\Tpm-HASCertRetr" /Enable
  794. schtasks /Change /TN "Microsoft\Windows\TPM\Tpm-Maintenance" /Enable
  795. schtasks /Change /TN "Microsoft\Windows\UPnP\UPnPHostConfig" /Enable
  796. schtasks /Change /TN "Microsoft\Windows\User Profile Service\HiveUploadTask" /Enable
  797. schtasks /Change /TN "Microsoft\Windows\WDI\ResolutionHost" /Enable
  798. schtasks /Change /TN "Microsoft\Windows\Windows Filtering Platform\BfeOnServiceStartTypeChange" /Enable
  799. schtasks /Change /TN "Microsoft\Windows\WOF\WIM-Hash-Management" /Enable
  800. schtasks /Change /TN "Microsoft\Windows\WOF\WIM-Hash-Validation" /Enable
  801. schtasks /Change /TN "Microsoft\Windows\Work Folders\Work Folders Logon Synchronization" /Enable
  802. schtasks /Change /TN "Microsoft\Windows\Work Folders\Work Folders Maintenance Work" /Enable
  803. schtasks /Change /TN "Microsoft\Windows\Workplace Join\Automatic-Device-Join" /Enable
  804. schtasks /Change /TN "Microsoft\Windows\WwanSvc\NotificationTask" /Enable
  805. schtasks /Change /TN "Microsoft\Windows\WwanSvc\OobeDiscovery" /Enable
  806. @echo off
  807. echo.
  808. echo.
  809. echo All unnecessary services and tasks reactivated.
  810. echo You should have a look above and verify everything worked correctly.
  811. echo If access was denied you are not in administrator mode.
  812. echo Press 0 and hit ENTER to open the menu or press ENTER to exit.
  813. set /p example=
  814. if %example% == 0 goto start
  815. if %example% == 1 goto 1
  816. if %example% == 2 goto 2
  817. if %example% == 3 goto 3
  818. if %example% == 4 goto 4
  819. if %example% == 5 goto 5
  820. if %example% == 6 goto 6
  821. if %example% == 7 goto 7
  822. if %example% == 8 goto 8
  823. if %example% == a goto A
  824. if %example% == A goto A
  825. if %example% == b goto B
  826. if %example% == B goto B
  827. if %example% == d goto D
  828. if %example% == D goto D
  829. if %example% == r goto R
  830. if %example% == R goto R
  831. pause
  832. :4
  833. echo.
  834. echo.
  835. @echo on
  836. sc stop PrintNotify
  837. sc stop Spooler
  838. sc stop BTAGService
  839. sc stop bthserv
  840. sc stop RemoteRegistry
  841. sc stop RemoteAccess
  842. sc stop WinRM
  843. sc stop RmSvc
  844. sc stop NlaSvc
  845. sc stop LanmanWorkstation
  846. sc config PrintNotify start= disabled
  847. sc config Spooler start= disabled
  848. sc config BTAGService start= disabled
  849. sc config bthserv start= disabled
  850. sc config RemoteRegistry start= disabled
  851. sc config RemoteAccess start= disabled
  852. sc config WinRM start= disabled
  853. sc config RmSvc start= disabled
  854. sc config NlaSvc start= disabled
  855. sc config LanmanWorkstation start= disabled
  856. schtasks /Change /TN "Microsoft\Windows\Printing\EduPrintProv" /Disable
  857. schtasks /Change /TN "Microsoft\Windows\Printing\PrinterCleanupTask" /Disable
  858. schtasks /Change /TN "Microsoft\Windows\WlanSvc\CDSSync" /Disable
  859. schtasks /Change /TN "Microsoft\Windows\WCM\WiFiTask" /Disable
  860. schtasks /Change /TN "Microsoft\Windows\NlaSvc\WiFiTask" /Disable
  861. @echo off
  862. echo.
  863. echo.
  864. echo Bluetooth, printer, remote and wifi services and tasks disabled.
  865. echo You should have a look above and verify everything worked correctly.
  866. echo If access was denied you are not in administrator mode.
  867. echo Press 0 and hit ENTER to open the menu or press ENTER to exit.
  868. set /p example=
  869. if %example% == 0 goto start
  870. if %example% == 1 goto 1
  871. if %example% == 2 goto 2
  872. if %example% == 3 goto 3
  873. if %example% == 4 goto 4
  874. if %example% == 5 goto 5
  875. if %example% == 6 goto 6
  876. if %example% == 7 goto 7
  877. if %example% == 8 goto 8
  878. if %example% == a goto A
  879. if %example% == A goto A
  880. if %example% == b goto B
  881. if %example% == B goto B
  882. if %example% == d goto D
  883. if %example% == D goto D
  884. if %example% == r goto R
  885. if %example% == R goto R
  886. pause
  887. :5
  888. echo.
  889. echo.
  890. @echo on
  891. sc config PrintNotify start= demand
  892. sc config Spooler start= demand
  893. sc config BTAGService start= demand
  894. sc config bthserv start= demand
  895. sc config RemoteRegistry start= demand
  896. sc config RemoteAccess start= demand
  897. sc config WinRM start= demand
  898. sc config RmSvc start= demand
  899. sc config NlaSvc start= demand
  900. sc config LanmanWorkstation start= demand
  901. schtasks /Change /TN "Microsoft\Windows\Printing\EduPrintProv" /Enable
  902. schtasks /Change /TN "Microsoft\Windows\Printing\PrinterCleanupTask" /Enable
  903. schtasks /Change /TN "Microsoft\Windows\WlanSvc\CDSSync" /Enable
  904. schtasks /Change /TN "Microsoft\Windows\WCM\WiFiTask" /Enable
  905. schtasks /Change /TN "Microsoft\Windows\NlaSvc\WiFiTask" /Enable
  906. @echo off
  907. echo.
  908. echo.
  909. echo Blutetooth, printer, remote and wifi services and tasks reactivated.
  910. echo You should have a look above and verify everything worked correctly.
  911. echo If access was denied you are not in administrator mode.
  912. echo Press 0 and hit ENTER to open the menu or press ENTER to exit.
  913. set /p example=
  914. if %example% == 0 goto start
  915. if %example% == 1 goto 1
  916. if %example% == 2 goto 2
  917. if %example% == 3 goto 3
  918. if %example% == 4 goto 4
  919. if %example% == 5 goto 5
  920. if %example% == 6 goto 6
  921. if %example% == 7 goto 7
  922. if %example% == 8 goto 8
  923. if %example% == a goto A
  924. if %example% == A goto A
  925. if %example% == b goto B
  926. if %example% == B goto B
  927. if %example% == d goto D
  928. if %example% == D goto D
  929. if %example% == r goto R
  930. if %example% == R goto R
  931. pause
  932. :6
  933. echo.
  934. echo.
  935. @echo on
  936. sc stop uhssvc
  937. sc stop upfc
  938. sc stop PushToInstall
  939. sc stop BITS
  940. sc stop InstallService
  941. sc stop uhssvc
  942. sc stop UsoSvc
  943. sc stop wuauserv
  944. sc stop LanmanServer
  945. sc config BITS start= disabled
  946. sc config InstallService start= disabled
  947. sc config uhssvc start= disabled
  948. sc config UsoSvc start= disabled
  949. sc config wuauserv start= disabled
  950. sc config LanmanServer start= disabled
  951. reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\DoSvc" /v Start /t reg_dword /d 4 /f
  952. reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\InstallService" /v Start /t reg_dword /d 4 /f
  953. reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\UsoSvc" /v Start /t reg_dword /d 4 /f
  954. reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\wuauserv" /v Start /t reg_dword /d 4 /f
  955. reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WaaSMedicSvc" /v Start /t reg_dword /d 4 /f
  956. reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\BITS" /v Start /t reg_dword /d 4 /f
  957. reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\upfc" /v Start /t reg_dword /d 4 /f
  958. reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\uhssvc" /v Start /t reg_dword /d 4 /f
  959. reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ossrs" /v Start /t reg_dword /d 4 /f
  960. reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate" /v "DeferUpdatePeriod" /t REG_DWORD /d "1" /f
  961. reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate" /v "DeferUpgrade" /t REG_DWORD /d "1" /f
  962. reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate" /v "DeferUpgradePeriod" /t REG_DWORD /d "1" /f
  963. reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate" /v "DisableWindowsUpdateAccess" /t REG_DWORD /d "1" /f
  964. schtasks /Change /TN "Microsoft\Windows\InstallService\ScanForUpdates" /Disable
  965. schtasks /Change /TN "Microsoft\Windows\InstallService\ScanForUpdatesAsUser" /Disable
  966. schtasks /Change /TN "Microsoft\Windows\InstallService\SmartRetry" /Disable
  967. schtasks /Change /TN "Microsoft\Windows\InstallService\WakeUpAndContinueUpdates" /Disable
  968. schtasks /Change /TN "Microsoft\Windows\InstallService\WakeUpAndScanForUpdates" /Disable
  969. schtasks /Change /TN "Microsoft\Windows\UpdateOrchestrator\Report policies" /Disable
  970. schtasks /Change /TN "Microsoft\Windows\UpdateOrchestrator\Schedule Scan" /Disable
  971. schtasks /Change /TN "Microsoft\Windows\UpdateOrchestrator\Schedule Scan Static Task" /Disable
  972. schtasks /Change /TN "Microsoft\Windows\UpdateOrchestrator\UpdateModelTask" /Disable
  973. schtasks /Change /TN "Microsoft\Windows\UpdateOrchestrator\USO_UxBroker" /Disable
  974. schtasks /Change /TN "Microsoft\Windows\WaaSMedic\PerformRemediation" /Disable
  975. schtasks /Change /TN "Microsoft\Windows\WindowsUpdate\Scheduled Start" /Disable
  976. @echo off
  977. echo.
  978. echo.
  979. echo Windows update and store services and tasks disabled.
  980. echo You should have a look above and verify everything worked correctly.
  981. echo If access was denied you are not in administrator mode.
  982. echo.
  983. echo.
  984. echo Press 8 to view more information about windows update.
  985. echo Press 0 and hit ENTER to open the menu or press ENTER to exit.
  986. set /p example=
  987. if %example% == 0 goto start
  988. if %example% == 1 goto 1
  989. if %example% == 2 goto 2
  990. if %example% == 3 goto 3
  991. if %example% == 4 goto 4
  992. if %example% == 5 goto 5
  993. if %example% == 6 goto 6
  994. if %example% == 7 goto 7
  995. if %example% == 8 goto 8
  996. if %example% == a goto A
  997. if %example% == A goto A
  998. if %example% == b goto B
  999. if %example% == B goto B
  1000. if %example% == d goto D
  1001. if %example% == D goto D
  1002. if %example% == r goto R
  1003. if %example% == R goto R
  1004. pause
  1005. :7
  1006. echo.
  1007. echo.
  1008. @echo on
  1009. sc config uhssvc start= demand
  1010. sc config upfc start= demand
  1011. sc config PushToInstall start= demand
  1012. sc config BITS start= demand
  1013. sc config InstallService start= demand
  1014. sc config uhssvc start= demand
  1015. sc config UsoSvc start= demand
  1016. sc config wuauserv start= demand
  1017. sc config LanmanServer start= demand
  1018. reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\DoSvc" /v Start /t reg_dword /d 3 /f
  1019. reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\InstallService" /v Start /t reg_dword /d 3 /f
  1020. reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\UsoSvc" /v Start /t reg_dword /d 3 /f
  1021. reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\wuauserv" /v Start /t reg_dword /d 3 /f
  1022. reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WaaSMedicSvc" /v Start /t reg_dword /d 3 /f
  1023. reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\BITS" /v Start /t reg_dword /d 3 /f
  1024. reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\upfc" /v Start /t reg_dword /d 3 /f
  1025. reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\uhssvc" /v Start /t reg_dword /d 3 /f
  1026. reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ossrs" /v Start /t reg_dword /d 3 /f
  1027. reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate" /v "DeferUpdatePeriod" /t REG_DWORD /d "0" /f
  1028. reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate" /v "DeferUpgrade" /t REG_DWORD /d "0" /f
  1029. reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate" /v "DeferUpgradePeriod" /t REG_DWORD /d "0" /f
  1030. reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate" /v "DisableWindowsUpdateAccess" /t REG_DWORD /d "0" /f
  1031. schtasks /Change /TN "Microsoft\Windows\InstallService\ScanForUpdates" /Enable
  1032. schtasks /Change /TN "Microsoft\Windows\InstallService\ScanForUpdatesAsUser" /Enable
  1033. schtasks /Change /TN "Microsoft\Windows\InstallService\SmartRetry" /Enable
  1034. schtasks /Change /TN "Microsoft\Windows\InstallService\WakeUpAndContinueUpdates" /Enable
  1035. schtasks /Change /TN "Microsoft\Windows\InstallService\WakeUpAndScanForUpdates" /Enable
  1036. schtasks /Change /TN "Microsoft\Windows\UpdateOrchestrator\Report policies" /Enable
  1037. schtasks /Change /TN "Microsoft\Windows\UpdateOrchestrator\Schedule Scan" /Enable
  1038. schtasks /Change /TN "Microsoft\Windows\UpdateOrchestrator\Schedule Scan Static Task" /Enable
  1039. schtasks /Change /TN "Microsoft\Windows\UpdateOrchestrator\UpdateModelTask" /Enable
  1040. schtasks /Change /TN "Microsoft\Windows\UpdateOrchestrator\USO_UxBroker" /Enable
  1041. schtasks /Change /TN "Microsoft\Windows\WaaSMedic\PerformRemediation" /Enable
  1042. schtasks /Change /TN "Microsoft\Windows\WindowsUpdate\Scheduled Start" /Enable
  1043. @echo off
  1044. echo.
  1045. echo.
  1046. echo Windows update and store services and tasks reactivated.
  1047. echo You should have a look above and verify everything worked correctly.
  1048. echo If access was denied you are not in administrator mode.
  1049. echo Press 0 and hit ENTER to open the menu or press ENTER to exit.
  1050. set /p example=
  1051. if %example% == 0 goto start
  1052. if %example% == 1 goto 1
  1053. if %example% == 2 goto 2
  1054. if %example% == 3 goto 3
  1055. if %example% == 4 goto 4
  1056. if %example% == 5 goto 5
  1057. if %example% == 6 goto 6
  1058. if %example% == 7 goto 7
  1059. if %example% == 8 goto 8
  1060. if %example% == a goto A
  1061. if %example% == A goto A
  1062. if %example% == b goto B
  1063. if %example% == B goto B
  1064. if %example% == d goto D
  1065. if %example% == D goto D
  1066. if %example% == r goto R
  1067. if %example% == R goto R
  1068. pause
  1069. :8
  1070. start https://yewtu.be/watch?v=03UvVWg1rrQ
  1071. goto start
  1072. pause
  1073. :A
  1074. start https://www.youtube.com/channel/UCb5DJKYvC4fzjzv7oQbmFRA
  1075. goto start
  1076. pause
  1077. :B
  1078. start https://yewtu.be/channel/UCb5DJKYvC4fzjzv7oQbmFRA
  1079. goto start
  1080. pause
  1081. :D
  1082. start https://github.com/Windows-Management/Windows-Management
  1083. goto start
  1084. pause
  1085. :R
  1086. :r
  1087. shutdown /r /f /t 0
Add Comment
Please, Sign In to add comment