Skip to content

Commit 7a0e36b

Browse files
committed
2023.07.04
Fix rebased Dev 23xxx builds detection
1 parent 979fd14 commit 7a0e36b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

bypass11/Skip_TPM_Check_on_Dynamic_Update.cmd

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
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
88
if /i "%~f0" neq "%Public%\get11.cmd" goto setup
99
set CLI=%*& set SOURCES=%SystemDrive%\$WINDOWS.~BT\Sources& set MEDIA=.& set /a VER=11
1010
if 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 =%%)
1515
set /a incorrect_parameter=0x80070057 & (set SRV=%CLI:/Product Client =%)
1616
set /a launch_option_error=0xc190010a & (set SRV=%SRV:/Product Server =%)
1717
if %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
1919
if %VER% == 11 if not exist "%MEDIA%EI.cfg" (echo;[Channel]>%SOURCES%\EI.cfg & echo;_Default>>%SOURCES%\EI.cfg) 2>nul
2020
if %VER% == 11 (set CLI=/Product Server /Compat IgnoreWarning /MigrateDrivers All /Telemetry Disable %SRV%)
2121
if %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
4646
reg add "%IFEO%\SetupHost.exe\0" /f /v FilterFullPath /d "%SystemDrive%\$WINDOWS.~BT\Sources\SetupHost.exe" >nul
4747
reg add "%IFEO%\SetupHost.exe\0" /f /v Debugger /d "%Public%\get11.cmd" >nul
4848
echo;
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 "%>%
5050
if /i "%CLI%"=="" timeout /t 7
5151
exit /b
5252

5353
:remove
5454
del /f /q "%Public%\get11.cmd" "%ProgramData%\get11.cmd" >nul 2>nul
5555
reg delete "%IFEO%\SetupHost.exe" /f >nul 2>nul
5656
echo;
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 "%>%
5858
if /i "%CLI%"=="" timeout /t 7
5959
exit /b
6060

0 commit comments

Comments
 (0)