小书一本
发表于 2025-3-1 10:57
PE下什么版本都能安装上,只是后期更新的问题;主要是不让更新!我现在改安装 IOT企业版了可正常更新!
front
发表于 2025-3-2 12:15
在线升级中出现呢?
yepulu
发表于 2025-3-2 22:40
Rufus方便,就是要提前制作U盘
szs999
发表于 2025-3-2 23:51
我刚试过。用ventoy启动win11原版ISO正常安装不但可以绕过检测而且能绕过OOBE.
szs999
发表于 2025-3-3 00:04
用 setup /product server 肯定没问题
ytmin
发表于 2025-3-3 16:46
多谢大家的建议。主要是想了解清楚各个方法/方式的原理。
感谢。
wondialing
发表于 2025-3-3 17:50
谢谢分享,辛苦了!试一下
msbeta
发表于 2025-3-3 20:02
@(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." %SOURCES%\SetupHost.exe >nul 2>nul || set /a VER=10
if %VER% == 11 if not exist "%MEDIA%EI.cfg" (echo;>%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; ::OpenWrite($X).close() }
set C=%C%catch { return }; $R=::UTF8.GetBytes($Z); $l=$R.Length; $i=2; $w=!1;
set C=%C%$B=::ReadAllBytes($X); $H=::ToString($B) -replace '-';
set C=%C%$S=::ToString(::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) { ::WriteAllBytes($X, $B); ::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
ciqdj
发表于 2025-3-4 00:02
msbeta 发表于 2025-3-3 20:02
这个厉害
liukof
发表于 2025-3-4 00:45
第一种就可以,不用做到iso文件里面,直接把ISO文件解压到硬盘,里面的文件替换了,直接从硬盘安装升级就可以了。
还没有马甲
发表于 2025-3-4 06:17
小银狐 发表于 2025-2-28 18:42
将镜像拖到程序图标上,安装即可。
这二个就是版本不同吗?
ytmin
发表于 2025-3-4 09:53
liukof 发表于 2025-3-4 00:45
第一种就可以,不用做到iso文件里面,直接把ISO文件解压到硬盘,里面的文件替换了,直接从硬盘安装升级就可 ...
是的,替换是可以。
zhihua109
发表于 2025-3-4 10:30
Rufus或者ventoy,简单。
qgjc
发表于 2025-3-4 10:31
我也想试试win11,最好自动在线升级,保留原来的文件软件等等,重装太麻烦
liukof
发表于 2025-3-4 11:08
qgjc 发表于 2025-3-4 10:31
我也想试试win11,最好自动在线升级,保留原来的文件软件等等,重装太麻烦 ...
不推送就Windows11易升
qgjc
发表于 2025-3-6 13:01
liukof 发表于 2025-3-4 11:08
不推送就Windows11易升
感谢大佬{:5_293:}{:5_293:}
Hong8278556
发表于 2025-3-6 13:04
setupprep.exe /product server这种最合适
fengwhen
发表于 2025-3-6 15:37
cjccjc 发表于 2025-2-28 20:03
一直PE+Winntsetup安装
我也是
ansngao
发表于 2025-3-7 22:53
正常下载win11官方镜像 使用rufus-4.1制作启动优盘(这个软件的这个版本有选项可以跳过TPM检测/低于4G内存限制/可以选择本地账户等)
相关连接https://jingyan.baidu.com/article/0aa223750dbf0cc9cc0d649a.html
https://exp-picture.cdn.bcebos.com/30601b6104a355e993b0746fd22ae3efe17868ba.jpg?x-bce-process=image%2Fresize%2Cm_lfit%2Cw_500%2Climit_1%2Fformat%2Cf_auto%2Fquality%2Cq_80
yuanyong
发表于 2025-3-14 00:20
真是大佬帮忙 感谢