Advertisement
Guest User

win7_uninstallbadKB_20150824(RunAsAdmin).cmd

a guest
Aug 25th, 2015
191
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. @echo off
  2. echo.
  3. echo Step 1: Delete Updates...
  4. echo Delete KB3075249 (telemetry for Win7/8.1)
  5. start /w wusa.exe /uninstall /kb:3075249 /quiet /norestart
  6. echo Delete KB3080149 (telemetry for Win7/8.1)
  7. start /w wusa.exe /uninstall /kb:3080149 /quiet /norestart
  8. echo Delete KB3021917 (telemetry for Win7)
  9. start /w wusa.exe /uninstall /kb:3021917 /quiet /norestart
  10. echo Delete KB3022345 (telemetry)
  11. start /w wusa.exe /uninstall /kb:3022345 /quiet /norestart
  12. echo Delete KB3068708 (telemetry)
  13. start /w wusa.exe /uninstall /kb:3068708 /quiet /norestart
  14. echo Delete KB3044374 (Get Windows 10 for Win8.1)
  15. start /w wusa.exe /uninstall /kb:3044374 /quiet /norestart
  16. echo Delete KB3035583 (Get Windows 10 for Win7sp1/8.1)
  17. start /w wusa.exe /uninstall /kb:3035583 /quiet /norestart
  18. echo Delete KB2990214 (Get Windows 10 for Win7 without sp1)
  19. start /w wusa.exe /uninstall /kb:2990214 /quiet /norestart
  20. echo Delete KB2990214 (Get Windows 10 for Win7)
  21. start /w wusa.exe /uninstall /kb:2990214 /quiet /norestart
  22. echo Delete KB2952664 (Get Windows 10 assistant)
  23. start /w wusa.exe /uninstall /kb:2952664 /quiet /norestart
  24. echo Delete KB3075853 (update for "Windows Update" on Win8.1/Server 2012R2)
  25. start /w wusa.exe /uninstall /kb:3075853 /quiet /norestart
  26. echo Delete KB3065987 (update for "Windows Update" on Win7/Server 2008R2)
  27. start /w wusa.exe /uninstall /kb:3065987 /quiet /norestart
  28. echo Delete KB3050265 (update for "Windows Update" on Win7)
  29. start /w wusa.exe /uninstall /kb:3050265 /quiet /norestart
  30. echo Delete KB971033  (license validation)
  31. start /w wusa.exe /uninstall /kb:971033 /quiet /norestart
  32. echo Delete KB2902907 (description not available)
  33. start /w wusa.exe /uninstall /kb:2902907 /quiet /norestart
  34. echo Delete KB2976987 (description not available)
  35. start /w wusa.exe /uninstall /kb:2976987 /quiet /norestart
  36.  
  37. echo.
  38. echo Step 2: Blocking Routes...
  39. route -p add 23.218.212.69 MASK 255.255.255.255 0.0.0.0
  40. route -p add 65.39.117.230 MASK 255.255.255.255 0.0.0.0
  41. route -p add 65.55.108.23 MASK 255.255.255.255 0.0.0.0
  42. route -p add 134.170.30.202 MASK 255.255.255.255 0.0.0.0
  43. route -p add 137.116.81.24 MASK 255.255.255.255 0.0.0.0
  44. route -p add 204.79.197.200 MASK 255.255.255.255 0.0.0.0
  45.  
  46. echo.
  47. echo Step 3: Disabling tasks...
  48. schtasks /Change /TN "\Microsoft\Windows\Application Experience\AitAgent" /DISABLE
  49. schtasks /Change /TN "\Microsoft\Windows\Application Experience\Microsoft Compatibility Appraiser" /DISABLE
  50. schtasks /Change /TN "\Microsoft\Windows\Application Experience\ProgramDataUpdater" /DISABLE
  51. schtasks /Change /TN "\Microsoft\Windows\Autochk\Proxy" /DISABLE
  52. schtasks /Change /TN "Microsoft\Windows\Customer Experience Improvement Program\Consolidator" /DISABLE
  53. schtasks /Change /TN "Microsoft\Windows\Customer Experience Improvement Program\KernelCeipTask" /DISABLE
  54. schtasks /Change /TN "Microsoft\Windows\Customer Experience Improvement Program\UsbCeip" /DISABLE
  55. schtasks /Change /TN "\Microsoft\Windows\DiskDiagnostic\Microsoft-Windows-DiskDiagnosticDataCollector" /DISABLE
  56. schtasks /Change /TN "\Microsoft\Windows\Maintenance\WinSAT" /DISABLE
  57. schtasks /Change /TN "\Microsoft\Windows\Media Center\ActivateWindowsSearch" /DISABLE
  58. schtasks /Change /TN "\Microsoft\Windows\Media Center\ConfigureInternetTimeService" /DISABLE
  59. schtasks /Change /TN "\Microsoft\Windows\Media Center\DispatchRecoveryTasks" /DISABLE
  60. schtasks /Change /TN "\Microsoft\Windows\Media Center\ehDRMInit" /DISABLE
  61. schtasks /Change /TN "\Microsoft\Windows\Media Center\InstallPlayReady" /DISABLE
  62. schtasks /Change /TN "\Microsoft\Windows\Media Center\mcupdate" /DISABLE
  63. schtasks /Change /TN "\Microsoft\Windows\Media Center\MediaCenterRecoveryTask" /DISABLE
  64. schtasks /Change /TN "\Microsoft\Windows\Media Center\ObjectStoreRecoveryTask" /DISABLE
  65. schtasks /Change /TN "\Microsoft\Windows\Media Center\OCURActivate" /DISABLE
  66. schtasks /Change /TN "\Microsoft\Windows\Media Center\OCURDiscovery" /DISABLE
  67. schtasks /Change /TN "\Microsoft\Windows\Media Center\PBDADiscovery" /DISABLE
  68. schtasks /Change /TN "\Microsoft\Windows\Media Center\PBDADiscoveryW1" /DISABLE
  69. schtasks /Change /TN "\Microsoft\Windows\Media Center\PBDADiscoveryW2" /DISABLE
  70. schtasks /Change /TN "\Microsoft\Windows\Media Center\PvrRecoveryTask" /DISABLE
  71. schtasks /Change /TN "\Microsoft\Windows\Media Center\PvrScheduleTask" /DISABLE
  72. schtasks /Change /TN "\Microsoft\Windows\Media Center\RegisterSearch" /DISABLE
  73. schtasks /Change /TN "\Microsoft\Windows\Media Center\ReindexSearchRoot" /DISABLE
  74. schtasks /Change /TN "\Microsoft\Windows\Media Center\SqlLiteRecoveryTask" /DISABLE
  75. schtasks /Change /TN "\Microsoft\Windows\Media Center\UpdateRecordPath" /DISABLE
  76.  
  77. echo.
  78. echo Step 4: Killing Diagtrack-service (if it still exists)...
  79. sc stop Diagtrack
  80. sc delete Diagtrack
  81.  
  82. echo.
  83. echo Final Step: Stop remoteregistry-service (if it still exists)...
  84. sc config remoteregistry start= disabled
  85. sc stop remoteregistry
  86.  
  87. echo.
  88. echo All done, go to reboot!
  89. pause
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement