44:: # if WU is stuck use windows_update_refresh.bat; Beta/Dev needs OfflineInsiderEnroll
55:: # V9+ rebased on cmd due to defender transgression; skip already patched media (0b)
66
7- @ echo off & title get 11 on 'unsupported' PC || AveYo 2022.10.02
7+ @ echo off & title get 11 on 'unsupported' PC || AveYo 2023.07.04
88if /i " %~f0 " neq " %Public% \get11.cmd" goto setup
99set CLI = %* & set SOURCES = %SystemDrive% \$WINDOWS.~BT\Sources& set MEDIA = .& set /a VER = 11
1010if not defined CLI (exit /b) else if not exist %SOURCES% \SetupHost.exe (exit /b)
@@ -15,7 +15,7 @@ set /a restart_application=0x800705BB & (call set CLI=%%CLI:%1 =%%)
1515set /a incorrect_parameter = 0x80070057 & (set SRV=%CLI:/Product Client =% )
1616set /a launch_option_error = 0xc190010a & (set SRV=%SRV:/Product Server =% )
1717if %VER% == 11 for %%W in (" %MEDIA% appraiserres.dll" ) do if exist %%W if %%~zW == 0 set AlreadyPatched = 1 & set /a VER = 10
18- if %VER% == 11 findstr /r " P.r.o.d.u.c.t.V.e.r.s.i.o.n...1.0.\..0.\..2.[256 ]" %SOURCES% \SetupHost.exe > nul 2 > nul || set /a VER = 10
18+ if %VER% == 11 findstr /r " P.r.o.d.u.c.t.V.e.r.s.i.o.n...1.0.\..0.\..2.[235 ]" %SOURCES% \SetupHost.exe > nul 2 > nul || set /a VER = 10
1919if %VER% == 11 if not exist " %MEDIA% EI.cfg" (echo;[Channel]> %SOURCES% \EI.cfg & echo;_Default>> %SOURCES% \EI.cfg) 2 > nul
2020if %VER% == 11 (set CLI=/Product Server /Compat IgnoreWarning /MigrateDrivers All /Telemetry Disable %SRV% )
2121if %VER% == 11 reg add HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate /f /v DisableWUfBSafeguards /d 1 /t reg_dword > nul
@@ -46,15 +46,15 @@ reg add "%IFEO%\SetupHost.exe" /f /v UseFilter /d 1 /t reg_dword >nul
4646reg add " %IFEO% \SetupHost.exe\0" /f /v FilterFullPath /d " %SystemDrive% \$WINDOWS.~BT\Sources\SetupHost.exe" > nul
4747reg add " %IFEO% \SetupHost.exe\0" /f /v Debugger /d " %Public% \get11.cmd" > nul
4848echo;
49- %<% :f0 " Skip TPM Check on Dynamic Update V10 " %>>% & %<% :2f " INSTALLED " %>>% & %<% :f0 " run again to remove " %>%
49+ %<% :f0 " Skip TPM Check on Dynamic Update V11 " %>>% & %<% :2f " INSTALLED " %>>% & %<% :f0 " run again to remove " %>%
5050if /i " %CLI% " == " " timeout /t 7
5151exit /b
5252
5353:remove
5454del /f /q " %Public% \get11.cmd" " %ProgramData% \get11.cmd" > nul 2 > nul
5555reg delete " %IFEO% \SetupHost.exe" /f > nul 2 > nul
5656echo;
57- %<% :f0 " Skip TPM Check on Dynamic Update V10 " %>>% & %<% :df " REMOVED " %>>% & %<% :f0 " run again to install " %>%
57+ %<% :f0 " Skip TPM Check on Dynamic Update V11 " %>>% & %<% :df " REMOVED " %>>% & %<% :f0 " run again to install " %>%
5858if /i " %CLI% " == " " timeout /t 7
5959exit /b
6060
0 commit comments