Sei sulla pagina 1di 3

REM keeping win7 clean !!!!

REM (copy this code into a text file. save it with extension cmd. run it)
:: reg hacks ------------------------------------------REM disable downloaded w10 files
reg add HKLM\SOFTWARE\Policies\Microsoft\Windows\Gwx /f /v DisableGwx /t REG_DWO
RD /d 1
REM disable upgrade requests
reg add HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate /f /v DisableOSUp
grade /t REG_DWORD /d 1
:: services --------------------------------------------sc config DiagTrack start= disabled
net stop DiagTrack
:: scheduled tasks reporting to Redmond ----------schtasks /Change /TN "\Microsoft\Windows\Application Experience\AitAgent" /DISAB
LE
schtasks /Change /TN "\Microsoft\Windows\Application Experience\Microsoft Compat
ibility Appraiser" /DISABLE
schtasks /Change /TN "\Microsoft\Windows\Application Experience\ProgramDataUpdat
er" /DISABLE
schtasks /Change /TN "\Microsoft\Windows\Autochk\Proxy" /DISABLE
schtasks /Change /TN "\Microsoft\Windows\Customer Experience Improvement Program
\Consolidator" /DISABLE
schtasks /Change /TN "\Microsoft\Windows\Customer Experience Improvement Program
KernelCeipTask\" /DISABLE
schtasks /Change /TN "\Microsoft\Windows\Customer Experience Improvement Program
\UsbCeip" /DISABLE
schtasks /Change /TN "\Microsoft\Windows\DiskDiagnostic\Microsoft-Windows-DiskDi
agnosticDataCollector" /DISABLE
schtasks /Change /TN "\Microsoft\Windows\Maintenance\WinSAT" /DISABLE
schtasks /Change /TN "\Microsoft\Windows\Autochk\Media Center\*all*" /DISABLE
schtasks /Change /TN "\Microsoft\Windows\Setup\gwx\launchtrayprocess" /DISABLE
schtasks /Change /TN "\Microsoft\Windows\Setup\gwx\refreshgwxconfig" /DISABLE
schtasks /Change /TN "\Microsoft\Windows\Setup\gwx\refreshgwxconfigandcontent" /
DISABLE
schtasks /Change /TN "\Microsoft\Windows\Setup\gwx\refreshgwxcontent" /DISABLE
schtasks /Change /TN "\Microsoft\Windows\Windows Error Reporting\QueueReporting"
/DISABLE
:: evil updates ----------------------------------------REM kb971033 License validation check
start "title" /b /wait wusa.exe /kb:971033 /uninstall /quiet /norestart
REM kb2876229 Skype
start "title" /b /wait wusa.exe /kb:2876229 /uninstall /quiet /norestart
REM kb2952664 Compatibility update for upgrading Windows 7
start "title" /b /wait wusa.exe /kb:2952664 /uninstall /quiet /norestart
REM kb2976978 Compatibility update for Windows 8.1 and Windows 8
start "title" /b /wait wusa.exe /kb:2976978 /uninstall /quiet /norestart
REM kb2977759 - W10 Diagnostics Compatibility telemetry
start "title" /b /wait wusa.exe /kb:2977759 /uninstall /quiet /norestart
REM kb2990214 Update that enables you to upgrade from Windows 7 to a later versi
on of Windows

start "title" /b /wait wusa.exe /kb:2990214 /uninstall /quiet /norestart


REM kb2999226 update w10 Universal C Runtime
start "title" /b /wait wusa.exe /kb:2999226 /uninstall /quiet /norestart
REM kb3012973 Upgrade to Windows 10 Pro
start "title" /b /wait wusa.exe /kb:3012973 /uninstall /quiet /norestart
REM kb3015249 adds telemetry points to consent.exe
start "title" /b /wait wusa.exe /kb:3015249 /uninstall /quiet /norestart
REM kb3021917 Update to Windows 7 SP1 for performance improvements
start "title" /b /wait wusa.exe /kb:3021917 /uninstall /quiet /norestart
REM kb3022345 Update for customer experience and diagnostic telemetry (replace w
ith KB3068708)
start "title" /b /wait wusa.exe /kb:3022345 /uninstall /quiet /norestart
REM kb3035583 Update installs get windows 10 app in Windows 8.1 and Windows 7 SP
1
start "title" /b /wait wusa.exe /kb:3035583 /uninstall /quiet /norestart
REM kb3042058 update default cipher suite (spyware)
start "title" /b /wait wusa.exe /kb:3042058 /uninstall /quiet /norestart
REM kb3044374 - W8,8.1 Nagware for W10
start "title" /b /wait wusa.exe /kb:3044374 /uninstall /quiet /norestart
REM kb3050265 - Windows Update service updated to accept upgrade to W10
start "title" /b /wait wusa.exe /kb:3050265 /uninstall /quiet /norestart
REM kb3065987 - update for Windows Update (v7 v2008)
start "title" /b /wait wusa.exe /kb:3065987 /uninstall /quiet /norestart
rem start "title" /b /wait wusa.exe /kb:3065987-v2 /uninstall /quiet /norestart
REM kb3068707 - Customer experience telemetry points
start "title" /b /wait wusa.exe /kb:3068707 /uninstall /quiet /norestart
REM kb3068708 (replaces KB3022345) Update for customer experience and diagnostic
telemetry
start "title" /b /wait wusa.exe /kb:3068708 /uninstall /quiet /norestart
REM kb3074677 compatibility update
start "title" /b /wait wusa.exe /kb:3074677 /uninstall /quiet /norestart
REM kb3075249 Update that adds telemetry points to consent.exe in Windows 8.1 an
d Windows 7
start "title" /b /wait wusa.exe /kb:3075249 /uninstall /quiet /norestart
REM kb3075851 fix for kb3065987 which is also removed
start "title" /b /wait wusa.exe /kb:3075851 /uninstall /quiet /norestart
REM kb3080149 Update for customer experience and diagnostic telemetry
start "title" /b /wait wusa.exe /kb:3080149 /uninstall /quiet /norestart
rem KB3081437 compatibility update
start "title" /b /wait wusa.exe /kb:3081437 /uninstall /quiet /norestart
rem kb3081454 compatibility update
start "title" /b /wait wusa.exe /kb:3081454 /uninstall /quiet /norestart

rem kb3081954 Update for Work Folders improvements in Windows 7 SP1 (Telemetry U
pdate)
start "title" /b /wait wusa.exe /kb:3081954 /uninstall /quiet /norestart
rem kb3083324 w10 preparation files
start "title" /b /wait wusa.exe /kb:3083324 /uninstall /quiet /norestart
rem kb3083710 w10 preparation files
start "title" /b /wait wusa.exe /kb:3083710 /uninstall /quiet /norestart
rem kb3086255 disables SafeDisk games
start "title" /b /wait wusa.exe /kb:3086255 /uninstall /quiet /norestart
rem kb3088195 keylogger
start "title" /b /wait wusa.exe /kb:3088195 /uninstall /quiet /norestart
rem kb3090045 w10 update files
start "title" /b /wait wusa.exe /kb:3090045 /uninstall /quiet /norestart
rem kb3093983 IE Spyware
start "title" /b /wait wusa.exe /kb:3093983 /uninstall /quiet /norestart
rem kb3102810 w10 preparation files
start "title" /b /wait wusa.exe /kb:3102810 /uninstall /quiet /norestart
rem kb3112343 w10 preparation files
start "title" /b /wait wusa.exe /kb:3112343 /uninstall /quiet /norestart
REM Remember to *hide* all these in Windows Update
:: remove any space wasting files ----------------------------------------del /f /s /q c:\Windows\SoftwareDistribution\Download\*
takeown /F "C:\$Windows.~BT" /a /r /d y
icacls "C:\$Windows.~BT" /reset /t /c /l /q
rd /s /q C:\$WINDOWS.~BT

Potrebbero piacerti anche