Advertisement
Guest User

Windows 10 Script

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