技术教程 技术教程 Windows11老机型ISO覆盖更新绕过TPM教程 岁桉 2022-09-22 2023-11-25 前言 众所周知,Windows11后老机型各种限制,尤其是TPM模块,那么我们如何关闭TPM2.0的检测呢?今天给大家带来TPM2.0一键关闭命令。
尤其是之前通过pe偷渡的朋友,随着Windows11 22H2的发布,想升级但有限制,又要格式化磁盘或者替换文件?
大可不必!绕过TPM2.0很简单!
命令方案【推荐】 请在桌面或者其他地方新建一个文本文档,复制以下命令,粘贴进去后保存,后缀名为:.bat
然后右键以管理员身份执行一遍即可,执行完毕后即可直接打开ISO里面的setup.exe覆盖升级!
@ (set "0=%~f0" ^) $_Paste_in_Powershell = { $N = 'Skip TPM Check on Dynamic Update' $B = gwmi -Class __FilterToConsumerBinding -Namespace 'root\subscription' -Filter "Filter = " "__eventfilter.name='$N '" "" -ea 0 $C = gwmi -Class CommandLineEventConsumer -Namespace 'root\subscription' -Filter "Name='$N '" -ea 0 $F = gwmi -Class __EventFilter -NameSpace 'root\subscription' -Filter "Name='$N '" -ea 0 if ($B ) { $B | rwmi } ; if ($C ) { $C | rwmi } ; if ($F ) { $F | rwmi } $C = "cmd /q $N (c) AveYo, 2021 /d/x/r>nul (erase /f/s/q %systemdrive%\`$windows.~bt\appraiserres.dll" $C += '&md 11&cd 11&ren vd.exe vdsldr.exe&robocopy "../" "./" "vdsldr.exe"&ren vdsldr.exe vd.exe&start vd -Embedding)&rem;' $K = 'HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\vdsldr.exe' if (test-path $K ) {ri $K -force -ea 0 ; write-host -fore 0 xf -back 0 xd "`n $N [REMOVED] run again to install " ; timeout /t 5 } else {$0 =ni $K ; sp $K Debugger $C -force ; write-host -fore 0 xf -back 0 x2 "`n $N [INSTALLED] run again to remove " ;timeout /t 5 } $0 = sp HKLM:\SYSTEM\Setup\MoSetup 'AllowUpgradesWithUnsupportedTPMOrCPU' 1 -type dword -force -ea 0 } ; start -verb runas powershell -args "-nop -c & {`n`n$ ($_Paste_in_Powershell -replace'" ',' \"')}"
其他方案 绕过硬件检测那些 较为推荐–知彼而知己写的脚本点击直达
如果你有更好的方法欢迎留言共享!