View difference between Paste ID: eHP7KWyc and mz4AAMQ0
SHOW: | | - or go back to the newest paste.
1-
Батник устарел и более не обновляется. Юзайте что-нибудь другое, например https://github.com/KOLANICH/CleanUnwantedUpdates
1+
UPD 23.08.15: добавлен ещё один зонд и исправлено одно обновление, убрана валидация. Взаимодействие с пользователем при удалении обнов больше не требуется.
2-
***********************************************************************************************************
2+
UPD 28.08.15: ещё чуть-чуть телеметрии (KB2977759), блок возможности обновиться до инсайдер превью (KB3014460), апдейт для ЦО (KB3050267).
3
Есть дополнение? Пиши на 0xcf17@gmail.com
4
==============================================================================
5
@echo off
6
echo                     =========================================
7
echo                     =========== For anon. By anon. ==========
8
echo                     =============== 2ch.hk/s ================
9
echo                     = Original paste: pastebin.com/mz4AAMQ0 =
10
echo                     =========================================
11
12
echo Step 1: Delete Updates...
13
echo Delete KB2976978 (telemetry for Win8/8.1)
14
start /w wusa.exe /uninstall /kb:2976978 /quiet /norestart
15
echo Delete KB3075249 (telemetry for Win7/8.1)
16
start /w wusa.exe /uninstall /kb:3075249 /quiet /norestart
17
echo Delete KB3080149 (telemetry for Win7/8.1)
18
start /w wusa.exe /uninstall /kb:3080149 /quiet /norestart
19
echo Delete KB3021917 (telemetry for Win7)
20
start /w wusa.exe /uninstall /kb:3021917 /quiet /norestart
21
echo Delete KB2977759 (telemetry for Win7)
22
start /w wusa.exe /uninstall /kb:2977759 /quiet /norestart
23
echo Delete KB3022345 (telemetry)
24
start /w wusa.exe /uninstall /kb:3022345 /quiet /norestart
25
echo Delete KB3068708 (telemetry)
26
start /w wusa.exe /uninstall /kb:3068708 /quiet /norestart
27
echo Delete KB3044374 (Get Windows 10 for Win8.1)
28
start /w wusa.exe /uninstall /kb:3044374 /quiet /norestart
29
echo Delete KB3035583 (Get Windows 10 for Win7sp1/8.1)
30
start /w wusa.exe /uninstall /kb:3035583 /quiet /norestart
31
echo Delete KB2990214 (Get Windows 10 for Win7 without sp1)
32
start /w wusa.exe /uninstall /kb:2990214 /quiet /norestart
33
echo Delete KB2990214 (Get Windows 10 for Win7)
34
start /w wusa.exe /uninstall /kb:2990214 /quiet /norestart
35
echo Delete KB2952664 (Get Windows 10 assistant)
36
start /w wusa.exe /uninstall /kb:2952664 /quiet /norestart
37
echo Delete KB3075853 (update for "Windows Update" on Win8.1/Server 2012R2)
38
start /w wusa.exe /uninstall /kb:3075853 /quiet /norestart
39
echo Delete KB3050267 (update for "Windows Update" on Win8.1)
40
start /w wusa.exe /uninstall /kb:3050267 /quiet /norestart
41
echo Delete KB3065987 (update for "Windows Update" on Win7/Server 2008R2)
42
start /w wusa.exe /uninstall /kb:3065987 /quiet /norestart
43
echo Delete KB3050265 (update for "Windows Update" on Win7)
44
start /w wusa.exe /uninstall /kb:3050265 /quiet /norestart
45
echo Delete KB3075851 (update for "Windows Update" on Win7)
46
start /w wusa.exe /uninstall /kb:971033 /quiet /norestart
47
echo Delete KB3014460 ("Insider Preview" feature)
48
start /w wusa.exe /uninstall /kb:3014460 /quiet /norestart
49
echo Delete KB2902907 (description not available)
50
start /w wusa.exe /uninstall /kb:2902907 /quiet /norestart
51
52
echo Step 2: Blocking Routes...
53
route -p add 23.218.212.69 MASK 255.255.255.255 0.0.0.0
54
route -p add 65.55.108.23 MASK 255.255.255.255 0.0.0.0
55
route -p add 65.39.117.230 MASK 255.255.255.255 0.0.0.0
56
route -p add 134.170.30.202 MASK 255.255.255.255 0.0.0.0
57
route -p add 137.116.81.24 MASK 255.255.255.255 0.0.0.0
58
route -p add 204.79.197.200 MASK 255.255.255.255 0.0.0.0
59
route -p add 23.218.212.69 MASK 255.255.255.255 0.0.0.0
60
61
echo Step 3: Disabling tasks...
62
schtasks /Change /TN "\Microsoft\Windows\Application Experience\AitAgent" /DISABLE
63
schtasks /Change /TN "\Microsoft\Windows\Application Experience\Microsoft Compatibility Appraiser" /DISABLE
64
schtasks /Change /TN "\Microsoft\Windows\Application Experience\ProgramDataUpdater" /DISABLE
65
schtasks /Change /TN "\Microsoft\Windows\Autochk\Proxy" /DISABLE
66
schtasks /Change /TN "Microsoft\Windows\Customer Experience Improvement Program\Consolidator" /DISABLE
67
schtasks /Change /TN "Microsoft\Windows\Customer Experience Improvement Program\KernelCeipTask" /DISABLE
68
schtasks /Change /TN "Microsoft\Windows\Customer Experience Improvement Program\UsbCeip" /DISABLE
69
schtasks /Change /TN "\Microsoft\Windows\DiskDiagnostic\Microsoft-Windows-DiskDiagnosticDataCollector" /DISABLE
70
schtasks /Change /TN "\Microsoft\Windows\Maintenance\WinSAT" /DISABLE
71
schtasks /Change /TN "\Microsoft\Windows\Media Center\ActivateWindowsSearch" /DISABLE
72
schtasks /Change /TN "\Microsoft\Windows\Media Center\ConfigureInternetTimeService" /DISABLE
73
schtasks /Change /TN "\Microsoft\Windows\Media Center\DispatchRecoveryTasks" /DISABLE
74
schtasks /Change /TN "\Microsoft\Windows\Media Center\ehDRMInit" /DISABLE
75
schtasks /Change /TN "\Microsoft\Windows\Media Center\InstallPlayReady" /DISABLE
76
schtasks /Change /TN "\Microsoft\Windows\Media Center\mcupdate" /DISABLE
77
schtasks /Change /TN "\Microsoft\Windows\Media Center\MediaCenterRecoveryTask" /DISABLE
78
schtasks /Change /TN "\Microsoft\Windows\Media Center\ObjectStoreRecoveryTask" /DISABLE
79
schtasks /Change /TN "\Microsoft\Windows\Media Center\OCURActivate" /DISABLE
80
schtasks /Change /TN "\Microsoft\Windows\Media Center\OCURDiscovery" /DISABLE
81
schtasks /Change /TN "\Microsoft\Windows\Media Center\PBDADiscovery" /DISABLE
82
schtasks /Change /TN "\Microsoft\Windows\Media Center\PBDADiscoveryW1" /DISABLE
83
schtasks /Change /TN "\Microsoft\Windows\Media Center\PBDADiscoveryW2" /DISABLE
84
schtasks /Change /TN "\Microsoft\Windows\Media Center\PvrRecoveryTask" /DISABLE
85
schtasks /Change /TN "\Microsoft\Windows\Media Center\PvrScheduleTask" /DISABLE
86
schtasks /Change /TN "\Microsoft\Windows\Media Center\RegisterSearch" /DISABLE
87
schtasks /Change /TN "\Microsoft\Windows\Media Center\ReindexSearchRoot" /DISABLE
88
schtasks /Change /TN "\Microsoft\Windows\Media Center\SqlLiteRecoveryTask" /DISABLE
89
schtasks /Change /TN "\Microsoft\Windows\Media Center\UpdateRecordPath" /DISABLE
90
91
echo Step 4: Killing Diagtrack-service (if it still exists)...
92
sc stop Diagtrack
93
sc delete Diagtrack
94
95
echo Final Step: Stop remoteregistry-service (if it still exists)...
96
sc config remoteregistry start= disabled
97
sc stop remoteregistry
98
99
echo All done, go to reboot!
100
pause