Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Remove Windows Spyware aka Telemetry Updates
@echo off
color 0E
echo Removing Windows 7 and 8.1 spyware updates.
echo To remove "spyware" updates open Command Prompt as Administrator by clicking
echo right mouse button.
echo Sometimes you need to run this file several times till "get-hotfix" no longer
echo find spyware updates (for ex. KB2952664 and others).
echo Before running the tool disable automatic update installation in Windows Update
echo Center. After updates are deleted, check for updates and hide ones from this
echo list for them not to get istalled again, then you can re-enable auto updates.
echo Created by Zerbino, thanks to ru-board, hackread.com, ghacks.net and Google.
echo DETECTING INSTALLED SPYWARE UPDATES
echo =============================================================================
powershell get-hotfix -id KB2923545,KB2970228,KB2592687,KB3035583,KB2660075,KB2506928,KB2726535,KB2994023,KB2545698,KB2976978,KB3075249,KB3080149,KB3021917,KB3022345,KB3068708,KB3044374,KB3035583,KB2990214,KB2952664,KB3075853,KB3065987,KB3050265,KB3075851,KB3083324
echo =============================================================================
echo IF RED STRINGS PRESENT YOU CAN CLOSE THIS SCRIPT
echo THERE ARE NO SPYWARE UPDATES
echo or
echo PRESS ANY KEY TO START REMOVING SPYWARE UPDATES
pause
echo Delete KB2923545 RDP 8.1(custom by https://www.hackread.com/microsoft-updates-spy-on-windows7-8-users/)
start /w wusa.exe /uninstall /kb:2923545 /quiet /norestart
echo Delete KB2970228 (custom by https://www.hackread.com/microsoft-updates-spy-on-windows7-8-users/)
start /w wusa.exe /uninstall /kb:2970228 /quiet /norestart
echo Delete KB2592687 (custom by https://www.hackread.com/microsoft-updates-spy-on-windows7-8-users/)
start /w wusa.exe /uninstall /kb:2592687 /quiet /norestart
echo Delete KB2660075 (custom by https://www.hackread.com/microsoft-updates-spy-on-windows7-8-users/)
start /w wusa.exe /uninstall /kb:2660075 /quiet /norestart
echo Delete KB2506928 (custom by https://www.hackread.com/microsoft-updates-spy-on-windows7-8-users/)
start /w wusa.exe /uninstall /kb:2506928 /quiet /norestart
echo Delete KB2726535 (custom by https://www.hackread.com/microsoft-updates-spy-on-windows7-8-users/)
start /w wusa.exe /uninstall /kb:2726535 /quiet /norestart
echo Delete KB2994023 (custom by https://www.hackread.com/microsoft-updates-spy-on-windows7-8-users/)
start /w wusa.exe /uninstall /kb:2994023 /quiet /norestart
echo Delete KB2545698 IE9 (custom by https://www.hackread.com/microsoft-updates-spy-on-windows7-8-users/)
start /w wusa.exe /uninstall /kb:2545698 /quiet /norestart
echo Delete KB2976978 (telemetry for Win8/8.1)
start /w wusa.exe /uninstall /kb:2976978 /quiet /norestart
echo Delete KB3075249 (telemetry for Win7/8.1)
start /w wusa.exe /uninstall /kb:3075249 /quiet /norestart
echo Delete KB3080149 (telemetry for Win7/8.1)
start /w wusa.exe /uninstall /kb:3080149 /quiet /norestart
echo Delete KB3021917 (telemetry for Win7)
start /w wusa.exe /uninstall /kb:3021917 /quiet /norestart
echo Delete KB3022345 (telemetry)
start /w wusa.exe /uninstall /kb:3022345 /quiet /norestart
echo Delete KB3068708 (telemetry)
start /w wusa.exe /uninstall /kb:3068708 /quiet /norestart
echo Delete KB3044374 (Get Windows 10 for Win8.1)
start /w wusa.exe /uninstall /kb:3044374 /quiet /norestart
echo Delete KB3035583 (Get Windows 10 for Win7sp1/8.1)
start /w wusa.exe /uninstall /kb:3035583 /quiet /norestart
echo Delete KB2990214 (Get Windows 10 for Win7 without sp1)
start /w wusa.exe /uninstall /kb:2990214 /quiet /norestart
echo Delete KB2952664 (Get Windows 10 assistant)
start /w wusa.exe /uninstall /kb:2952664 /quiet /norestart
echo Delete KB3075853 (update for "Windows Update" on Win8.1/Server 2012R2)
start /w wusa.exe /uninstall /kb:3075853 /quiet /norestart
echo Delete KB3065987 (update for "Windows Update" on Win7/Server 2008R2)
start /w wusa.exe /uninstall /kb:3065987 /quiet /norestart
echo Delete KB3050265 (update for "Windows Update" on Win7)
start /w wusa.exe /uninstall /kb:3050265 /quiet /norestart
echo Delete KB3075851 (update for "Windows Update" on Win7)
start /w wusa.exe /uninstall /kb:3075851 /quiet /norestart
echo Delete KB3083324 (update for "Windows Update" on Win7 replaces KB3075851)
start /w wusa.exe /uninstall /kb:3083324 /quiet /norestart
echo ALL DONE. NOW YOU CAN CLOSE WINDOW.
pause
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment