广告
广告

Win11正式版ISO下载和跳过TPM2.0(保留软件和文件升级)

  [复制链接]
查看14910 | 回复152 | 2021-10-6 12:20:08 | 显示全部楼层 |阅读模式
Win11正式版ISO下载:https://www.microsoft.com/zh-cn/software-download/windows11
跳过TPM2.0:https://gist.github.com/AveYo/c74dc774a8fb81a332b5d65613187b15#file-skip_tpm_check_on_dynamic_update-cmd

复制代码,新建文本,粘贴进去,后缀txt改成cmd然后双击运行
然后接压ISO文件运行setup.exe运行,进入win10升级win11模式,可保留app,软件和文件升级

[AppleScript] 纯文本查看 复制代码
@(set "0=%~f0"^)#) & powershell -nop -c iex([io.file]::ReadAllText($env:0)) & exit/b
#:: double-click to run or just copy-paste into powershell - it's a standalone hybrid script
#:: v2 of the toggle script comes to the aid of outliers for whom v1 did not work due to various reasons (broken/blocked/slow wmi)
#:: uses IFEO instead to attach to the same Virtual Disk Service Loader process running during setup, then launches a cmd erase
#:: of appraiserres.dll - but it must also do some ping-pong renaming of the exe in system32\11 - great implementation nonetheless
#:: (for simplicity did not use powershell invoking CreateProcess and DebugActiveProcessStop to overcome IFEO constrains)
#:: in v2 the cmd window will briefly flash while running diskmgmt - so it is not "better" per-se. just more compatible / reactive
#:: you probably don't need to have it installed at all times - just when doing feature updates or manual setup within windows
#:: hence the on off toggle just by running the script again
 
$_Paste_in_Powershell = {
  $N = 'Skip TPM Check on Dynamic Update'
  $0 = sp 'HKLM:\SYSTEM\Setup\MoSetup' 'AllowUpgradesWithUnsupportedTPMOrCPU' 1 -type dword -force -ea 0
  $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 0xf -back 0xd "`n $N [REMOVED] run again to install "; timeout /t 5}
  else {$0=ni $K; sp $K Debugger $C -force; write-host -fore 0xf -back 0x2 "`n $N [INSTALLED] run again to remove ";timeout /t 5}
} ; start -verb runas powershell -args "-nop -c & {`n`n$($_Paste_in_Powershell-replace'"','\"')}"
$_Press_Enter
#::

温馨提示:
1、在论坛里发表的文章仅代表作者本人的观点,与本网站立场无关。
2、论坛的所有内容都不保证其准确性,有效性,时间性。阅读本站内容因误导等因素而造成的损失本站不承担连带责任。
3、当政府机关依照法定程序要求披露信息时,论坛均得免责。
4、若因线路及非本站所能控制范围的故障导致暂停服务期间造成的一切不便与损失,论坛不负任何责任。
5、注册会员通过任何手段和方法针对论坛进行破坏,我们有权对其行为作出处理。并保留进一步追究其责任的权利。
回复

使用道具 举报

此路难行谎 | 2022-1-14 14:35:06 | 显示全部楼层
回的人少,我来小顶一下
回复

使用道具 举报

天下非公呵 | 2022-1-14 14:40:18 | 显示全部楼层
正需要,支持楼主大人了!
回复

使用道具 举报

此人正在学习 | 2022-1-14 18:40:21 | 显示全部楼层
确实是难得好帖啊,顶先
回复

使用道具 举报

gnmpmnuy35327 | 2022-1-14 22:27:36 | 显示全部楼层
额,看不懂在说神马~@_@
回复

使用道具 举报

遨瀚 | 2022-1-15 01:41:41 | 显示全部楼层
么有分,谁能送我点积分啊::>_<::
回复

使用道具 举报

123457010 | 2022-1-15 02:28:33 | 显示全部楼层
确实是难得好帖啊,顶先
回复

使用道具 举报

王太保 | 2022-1-15 05:45:09 | 显示全部楼层
啥也不说了,感谢楼主分享哇!
回复

使用道具 举报

狂风974 | 2022-1-15 08:30:21 | 显示全部楼层
确实是难得好帖啊,顶先
回复

使用道具 举报

123457176 | 2022-1-15 11:13:31 | 显示全部楼层
么有分,谁能送我点积分啊::>_<::
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则