Как запретить обновление до Windows 10

rem @echo off

rem reg save HKLM\SOFTWARE\Policies\Microsoft\Windows c:\HKLMSPMW.hiv

reg delete HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate /f

reg add HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate /v DisableOSUpgrade /t REG_DWORD /d 1

reg add HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate /v ReservationsAllowed /t REG_DWORD /d 0

reg add HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate /v OSUpgrade /t REG_DWORD /d 0 /f

wusa.exe /uninstall /kb:3035583 /norestart /quiet

reg add HKLM\SOFTWARE\Policies\Microsoft\Windows\Gwx /v DisableGwx /t REG_DWORD /d 1 /f

или

W10noupdate