Advertisement
Guest User

Remove Telemetry/GWX bullshit

a guest
May 17th, 2016
456
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.84 KB | None | 0 0
  1. @echo off
  2.  
  3. echo Uninstalling Updates...
  4.  
  5. set WUSA_OPTIONS=/quiet /norestart
  6.  
  7. :: Note : be careful to keep KB in descending order
  8.  
  9. wusa %WUSA_OPTIONS% /uninstall /kb:3080149
  10. wusa %WUSA_OPTIONS% /uninstall /kb:3075249
  11. wusa %WUSA_OPTIONS% /uninstall /kb:3068708
  12. wusa %WUSA_OPTIONS% /uninstall /kb:3068707
  13. wusa %WUSA_OPTIONS% /uninstall /kb:3050265
  14. wusa %WUSA_OPTIONS% /uninstall /kb:3044374
  15. wusa %WUSA_OPTIONS% /uninstall /kb:3035583
  16. wusa %WUSA_OPTIONS% /uninstall /kb:3022345
  17. wusa %WUSA_OPTIONS% /uninstall /kb:3021917
  18. wusa %WUSA_OPTIONS% /uninstall /kb:3015249
  19. wusa %WUSA_OPTIONS% /uninstall /kb:3012973
  20. wusa %WUSA_OPTIONS% /uninstall /kb:2990214
  21. wusa %WUSA_OPTIONS% /uninstall /kb:2977759
  22. wusa %WUSA_OPTIONS% /uninstall /kb:2952664
  23. echo Done.
  24.  
  25. echo Disabling OS Upgrade Offers
  26. reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate" /v DisableOSUpgrade /t REG_DWORD /d 1 /f
  27. reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\OSUpgrade" /v ReservationsAllowed /t REG_DWORD /d 0 /f
  28. echo Done.
  29.  
  30. REM --- Disable tasks
  31. echo Disabling tasks. Depending on Windows version this may have errors, this is normal...
  32. timeout 3
  33.  
  34. schtasks /Change /TN "\Microsoft\Windows\Application Experience\AitAgent" /DISABLE
  35. schtasks /Change /TN "\Microsoft\Windows\Application Experience\Microsoft Compatibility Appraiser" /DISABLE
  36. schtasks /Change /TN "\Microsoft\Windows\Application Experience\ProgramDataUpdater" /DISABLE
  37. schtasks /Change /TN "\Microsoft\Windows\Autochk\Proxy" /DISABLE
  38. schtasks /Change /TN "\Microsoft\Windows\Customer Experience Improvement Program\Consolidator" /DISABLE
  39. schtasks /Change /TN "\Microsoft\Windows\Customer Experience Improvement Program\KernelCeipTask" /DISABLE
  40. schtasks /Change /TN "\Microsoft\Windows\Customer Experience Improvement Program\UsbCeip" /DISABLE
  41. schtasks /Change /TN "\Microsoft\Windows\DiskDiagnostic\Microsoft-Windows-DiskDiagnosticDataCollector" /DISABLE
  42. schtasks /Change /TN "\Microsoft\Windows\Maintenance\WinSAT" /DISABLE
  43. schtasks /Change /TN "\Microsoft\Windows\Media Center\ActivateWindowsSearch" /DISABLE
  44. schtasks /Change /TN "\Microsoft\Windows\Media Center\ConfigureInternetTimeService" /DISABLE
  45. schtasks /Change /TN "\Microsoft\Windows\Media Center\DispatchRecoveryTasks" /DISABLE
  46. schtasks /Change /TN "\Microsoft\Windows\Media Center\ehDRMInit" /DISABLE
  47. schtasks /Change /TN "\Microsoft\Windows\Media Center\InstallPlayReady" /DISABLE
  48. schtasks /Change /TN "\Microsoft\Windows\Media Center\mcupdate" /DISABLE
  49. schtasks /Change /TN "\Microsoft\Windows\Media Center\MediaCenterRecoveryTask" /DISABLE
  50. schtasks /Change /TN "\Microsoft\Windows\Media Center\ObjectStoreRecoveryTask" /DISABLE
  51. schtasks /Change /TN "\Microsoft\Windows\Media Center\OCURActivate" /DISABLE
  52. schtasks /Change /TN "\Microsoft\Windows\Media Center\OCURDiscovery" /DISABLE
  53. schtasks /Change /TN "\Microsoft\Windows\Media Center\PBDADiscovery" /DISABLE
  54. schtasks /Change /TN "\Microsoft\Windows\Media Center\PBDADiscoveryW1" /DISABLE
  55. schtasks /Change /TN "\Microsoft\Windows\Media Center\PBDADiscoveryW2" /DISABLE
  56. schtasks /Change /TN "\Microsoft\Windows\Media Center\PvrRecoveryTask" /DISABLE
  57. schtasks /Change /TN "\Microsoft\Windows\Media Center\PvrScheduleTask" /DISABLE
  58. schtasks /Change /TN "\Microsoft\Windows\Media Center\RegisterSearch" /DISABLE
  59. schtasks /Change /TN "\Microsoft\Windows\Media Center\ReindexSearchRoot" /DISABLE
  60. schtasks /Change /TN "\Microsoft\Windows\Media Center\SqlLiteRecoveryTask" /DISABLE
  61. schtasks /Change /TN "\Microsoft\Windows\Media Center\UpdateRecordPath" /DISABLE
  62. echo Done.
  63.  
  64. REM --- Kill services
  65. echo Killing Diagtrack-service (if it still exists)...
  66. sc stop Diagtrack
  67. sc delete Diagtrack
  68. echo Done.
  69.  
  70. echo Stop remoteregistry-service (if it still exists)...
  71. sc config remoteregistry start= disabled
  72. sc stop remoteregistry
  73. echo Done. Manually Reboot for changes to take effect
  74.  
  75. @PAUSE
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement