자 료 실

유틸리티 Windows 11 TPM 우회 스크립트 v13 - 2023.12.07

2023.12.10 15:24

VᴇɴᴜꜱGɪʀʟ 조회:1447 추천:6

Skip_TPM_Check_on_Dynamic_Update.cmd를 관리자 권한으로 사용하여 설정 요구 사항을 자동으로 우회합니다.
 설정 - Windows 업데이트를 통해 업데이트를 확인하고 Windows 11로 업그레이드를 선택합니다.

 

@(set '(=)||' <# lean and mean cmd / powershell hybrid #> @'

::# Get 11 on 'unsupported' PC via Windows Update or mounted ISO (no patching needed)
::# if WU is stuck use windows_update_refresh.bat; Beta/Dev/Canary needs OfflineInsiderEnroll
::# V13: skip 2nd tpm check on Canary iso; no Server label; future proofing; tested with 26010 iso, wu and wu repair version

@echo off & title get 11 on 'unsupported' PC || AveYo 2023.12.07
if /i "%~f0" neq "%SystemDrive%\Scripts\get11.cmd" goto setup
powershell -win 1 -nop -c ";"
set CLI=%*& set SOURCES=%SystemDrive%\$WINDOWS.~BT\Sources& set MEDIA=.& set MOD=CLI& set PRE=WUA& set /a VER=11
if not defined CLI (exit /b) else if not exist %SOURCES%\SetupHost.exe (exit /b)
if not exist %SOURCES%\WindowsUpdateBox.exe mklink /h %SOURCES%\WindowsUpdateBox.exe %SOURCES%\SetupHost.exe
reg add HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate /f /v DisableWUfBSafeguards /d 1 /t reg_dword
reg add HKLM\SYSTEM\Setup\MoSetup /f /v AllowUpgradesWithUnsupportedTPMorCPU /d 1 /t reg_dword
set OPT=/Compat IgnoreWarning /MigrateDrivers All /Telemetry Disable
set /a restart_application=0x800705BB & (call set CLI=%%CLI:%1 =%%)
set /a incorrect_parameter=0x80070057 & (set SRV=%CLI:/Product Client =%)
set /a launch_option_error=0xc190010a & (set SRV=%SRV:/Product Server =%)
for %%W in (%CLI%) do if /i %%W == /PreDownload (set MOD=SRV)
for %%W in (%CLI%) do if /i %%W == /InstallFile (set PRE=ISO& set "MEDIA=") else if not defined MEDIA set "MEDIA=%%~dpW"
if %VER% == 11 for %%W in ("%MEDIA%appraiserres.dll") do if exist %%W if %%~zW == 0 set AlreadyPatched=1 & set /a VER=10
if %VER% == 11 findstr /r "P.r.o.d.u.c.t.V.e.r.s.i.o.n...1.0.\..0.\..2.[2-9]" %SOURCES%\SetupHost.exe >nul 2>nul || set /a VER=10
if %VER% == 11 if not exist "%MEDIA%EI.cfg" (echo;[Channel]>%SOURCES%\EI.cfg & echo;_Default>>%SOURCES%\EI.cfg)
if %VER%_%PRE% == 11_ISO (%SOURCES%\WindowsUpdateBox.exe /Product Server /PreDownload /Quiet %OPT%)
if %VER%_%PRE% == 11_ISO (del /f /q %SOURCES%\appraiserres.dll 2>nul & cd.>%SOURCES%\appraiserres.dll & call :canary)
if %VER%_%MOD% == 11_SRV (set ARG=%OPT% %SRV% /Product Server)
if %VER%_%MOD% == 11_CLI (set ARG=%OPT% %CLI%)
%SOURCES%\WindowsUpdateBox.exe %ARG%
if %errorlevel% == %restart_application% (call :canary & %SOURCES%\WindowsUpdateBox.exe %ARG%)
exit /b

:canary iso skip 2nd tpm check by AveYo  
set C=  $X='%SOURCES%\hwreqchk.dll'; $Y='SQ_TpmVersion GTE 1'; $Z='SQ_TpmVersion GTE 0'; if (test-path $X) {
set C=%C%  try { takeown.exe /f $X /a; icacls.exe $X /grant *S-1-5-32-544:f; attrib -R -S $X; [io.file]::OpenWrite($X).close() }
set C=%C%  catch { return }; $R=[Text.Encoding]::UTF8.GetBytes($Z); $l=$R.Length; $i=2; $w=!1;
set C=%C%  $B=[io.file]::ReadAllBytes($X); $H=[BitConverter]::ToString($B) -replace '-';
set C=%C%  $S=[BitConverter]::ToString([Text.Encoding]::UTF8.GetBytes($Y)) -replace '-';
set C=%C%  do { $i=$H.IndexOf($S, $i + 2); if ($i -gt 0) { $w=!0; for ($k=0; $k -lt $l; $k++) { $B[$k + $i / 2]=$R[$k] } } }
set C=%C%  until ($i -lt 1); if ($w) { [io.file]::WriteAllBytes($X, $B); [GC]::Collect() } }
if %VER%_%PRE% == 11_ISO powershell -nop -c iex($env:C) >nul 2>nul
exit /b

:setup
::# elevate with native shell by AveYo
>nul reg add hkcu\software\classes\.Admin\shell\runas\command /f /ve /d "cmd /x /d /r set \"f0=%%2\"& call \"%%2\" %%3"& set _= %*
>nul fltmc|| if "%f0%" neq "%~f0" (cd.>"%temp%\runas.Admin" & start "%~n0" /high "%temp%\runas.Admin" "%~f0" "%_:"=""%" & exit /b)

::# lean xp+ color macros by AveYo:  %<%:af " hello "%>>%  &  %<%:cf " w\"or\"ld "%>%   for single \ / " use .%|%\  .%|%/  \"%|%\"
for /f "delims=:" %%s in ('echo;prompt $h$s$h:^|cmd /d') do set "|=%%s"&set ">>=\..\c nul&set /p s=%%s%%s%%s%%s%%s%%s%%s<nul&popd"
set "<=pushd "%appdata%"&2>nul findstr /c:\ /a" &set ">=%>>%&echo;" &set "|=%|:~0,1%" &set /p s=\<nul>"%appdata%\c"

::# toggle when launched without arguments, else jump to arguments: "install" or "remove"
set CLI=%*& (set IFEO=HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options)
wmic /namespace:"\\root\subscription" path __EventFilter where Name="Skip TPM Check on Dynamic Update" delete >nul 2>nul & rem v1
reg delete "%IFEO%\vdsldr.exe" /f 2>nul & rem v2 - v5
if /i "%CLI%"=="" reg query "%IFEO%\SetupHost.exe\0" /v Debugger >nul 2>nul && goto remove || goto install
if /i "%~1"=="install" (goto install) else if /i "%~1"=="remove" goto remove

:install
mkdir %SystemDrive%\Scripts >nul 2>nul & copy /y "%~f0" "%SystemDrive%\Scripts\get11.cmd" >nul 2>nul
reg add "%IFEO%\SetupHost.exe" /f /v UseFilter /d 1 /t reg_dword >nul
reg add "%IFEO%\SetupHost.exe\0" /f /v FilterFullPath /d "%SystemDrive%\$WINDOWS.~BT\Sources\SetupHost.exe" >nul
reg add "%IFEO%\SetupHost.exe\0" /f /v Debugger /d "%SystemDrive%\Scripts\get11.cmd" >nul
echo;
%<%:f0 " Skip TPM Check on Dynamic Update V13 "%>>% & %<%:2f " INSTALLED "%>>% & %<%:f0 " run again to remove "%>%
if /i "%CLI%"=="" timeout /t 7
exit /b

:remove
del /f /q "%SystemDrive%\Scripts\get11.cmd" "%Public%\get11.cmd" "%ProgramData%\get11.cmd" >nul 2>nul
reg delete "%IFEO%\SetupHost.exe" /f >nul 2>nul
echo;
%<%:f0 " Skip TPM Check on Dynamic Update V13 "%>>% & %<%:df " REMOVED "%>>% & %<%:f0 " run again to install "%>%
if /i "%CLI%"=="" timeout /t 7
exit /b

'@); $0 = "$env:temp\Skip_TPM_Check_on_Dynamic_Update.cmd"; ${(=)||} -split "\r?\n" | out-file $0 -encoding default -force; & $0
# press enter
 

Skip_TPM_Check_on_Dynamic_Update.cmd

번호 제목 글쓴이 조회 추천 등록일
[공지] 저작권 보호 요청 자료 목록 gooddew - - -
[공지] 자료실 이용간 유의사항 gooddew - - -
22998 유틸리티| Appcopier 0.12 - Windows 11 환경 설정과 설정을 백업하고... VᴇɴᴜꜱGɪ 695 0 12-23
22997 게 임| AutoFish 2.5.1 - 심심풀이 단순한 낚시 게임 VᴇɴᴜꜱGɪ 1135 1 12-23
22996 모바일| ProShot v8.22.3 build 481 - 모바일용 전문가용 카메라 (D... VᴇɴᴜꜱGɪ 779 2 12-23
22995 유틸리티| YTD Video Downloader Ultimate 7.6.3.2 - 초고속 비디오 ... [1] VᴇɴᴜꜱGɪ 867 1 12-23
22994 유틸리티| StartAllBack 3.7.2 한글지원 [1] ʕ·ᴥ·ʔ 1399 13 12-22
22993 한글패치| * LetsView 1.3.4.2 - 화면 미러링 앱 VᴇɴᴜꜱGɪ 643 0 12-22
22992 유틸리티| FileZilla Client V3.66.4 [3] asklee 701 4 12-22
22991 그래픽| FastStone Capture 10.4 포터블.한글 [14] ʕ·ᴥ·ʔ 1408 38 12-22
22990 유틸리티| Drive SnapShot 1.50.1332 포터블 [5] ʕ·ᴥ·ʔ 950 19 12-22
22989 기 타| KakaoTalk v3.7.0.3716 Portable [8] DarknessAn 1071 13 12-22
22988 유틸리티| Simple Sticky Notes 6.3 - 간단한 스티커 메모 VᴇɴᴜꜱGɪ 918 2 12-21
22987 유틸리티| Appcopier 0.10 - Windows 11 환경 설정과 설정을 백업하고... VᴇɴᴜꜱGɪ 969 1 12-20
22986 유틸리티| A Ruler For Windows 3.9 - 화면용 눈금자 VᴇɴᴜꜱGɪ 1229 2 12-20
22985 유틸리티| Universal Media Creation Tool 19.12.2023 - Windows 미디... VᴇɴᴜꜱGɪ 705 0 12-20
22984 그래픽| AI PNG Enlarger - PNG 이미지 무손실 확대 VᴇɴᴜꜱGɪ 935 5 12-20
22983 그래픽| AI Photo Object Eraser 2.0 - 인공지능 사진 객체 지우개 [1] VᴇɴᴜꜱGɪ 1370 7 12-20
22982 그래픽| Background Generator - 백그라운드 생성기 VᴇɴᴜꜱGɪ 870 1 12-20
22981 한글패치| BurnAware Professional 17.2 - 한글 언어 전부 번역 수정 [7] 김영감™ 921 7 12-19
22980 유틸리티| Windows Package Manager (WinGet) 1.6.3842 / 1.7.3481 Pr... VᴇɴᴜꜱGɪ 711 0 12-19
22979 유틸리티| FreeCommander XE 2024 Build 900 - 파일 관리자 [1] VᴇɴᴜꜱGɪ 721 0 12-18
XE1.11.6 Layout1.4.8