无忧启动论坛

标题: WIN11 ARM版本如何去除TPM2.0安装验证 [打印本页]

作者: pear4093    时间: 2023-12-19 14:55
标题: WIN11 ARM版本如何去除TPM2.0安装验证
请问下大佬们,我想将WIN11 ARM版本安装在国产电脑飞腾处理器上,WIN11 ARM版本如何去除TPM2.0安装验证?我们单位好多国产电脑。

作者: htmlc4    时间: 2023-12-19 15:13
不可能,ARM设备对用户是封闭的,基本上是厂商给了什么系统就只能用什么系统
作者: pear4093    时间: 2023-12-19 15:15
htmlc4 发表于 2023-12-19 15:13
不可能,ARM设备对用户是封闭的,基本上是厂商给了什么系统就只能用什么系统

话不要说的太满了,飞腾处理器搭配昆仑固件是可以安装WIN11 ARM版本的,当然百熬BIOS除外。
作者: nathan6498    时间: 2023-12-19 15:28
可能吗?
作者: lgr99    时间: 2023-12-19 15:42
这个有点难度,正常情况下是不可能的
作者: zhm_email    时间: 2023-12-19 15:44
https://www.xbzj.love/index.php/archives/225.html 用他的版本,应该去除了,我装在完全无tpm手机上
作者: pear4093    时间: 2023-12-19 15:50
zhm_email 发表于 2023-12-19 15:44
https://www.xbzj.love/index.php/archives/225.html 用他的版本,应该去除了,我装在完全无tpm手机上

谢谢大佬,我去下载了。
作者: 紧急追踪    时间: 2023-12-19 15:52
办法总会有的,大神无处不在
作者: pear4093    时间: 2023-12-19 16:02
zhm_email 发表于 2023-12-19 15:44
https://www.xbzj.love/index.php/archives/225.html 用他的版本,应该去除了,我装在完全无tpm手机上

他这个只有一个WIM,没有引导,我不会弄啊
作者: xelnage    时间: 2023-12-19 16:07
arm版不能装前进控制台改注册表跳过吗?
作者: holley2008    时间: 2023-12-19 16:09
关键是:作为国内单位办公使用的话,国产电脑折腾微软系统的意义在哪里?先整一堆国产系统试用,出现的问题越多才能越促进各个不同厂家、后台、售后响应市场需求,来完善产业链和生态环境。
作者: pear4093    时间: 2023-12-19 16:21
holley2008 发表于 2023-12-19 16:09
关键是:作为国内单位办公使用的话,国产电脑折腾微软系统的意义在哪里?先整一堆国产系统试用,出现的问题 ...

问题是不整WIN系统,马上就影响使用,要预留一部分WIN系统的。我也非常支持国产货,龙芯/兆芯/飞腾处理器电脑都有买。
作者: sizhou    时间: 2023-12-19 16:40
pear4093 发表于 2023-12-19 16:21
问题是不整WIN系统,马上就影响使用,要预留一部分WIN系统的。我也非常支持国产货,龙芯/兆芯/飞腾处理器 ...

你这还不如留几台Windows机子,现在就不是一次性换完,到27年去了,ARM的飞腾、鲲鹏你用了Windows系统,照样跑上面的.exe程序还是不行的,还不如用龙芯跑国产系统,上面2进制翻译跑.exe程序
作者: zhm_email    时间: 2023-12-19 16:54
pear4093 发表于 2023-12-19 16:02
他这个只有一个WIM,没有引导,我不会弄啊

是的,改名INSTALL.WIM,替换掉就行。
作者: pear4093    时间: 2023-12-19 17:05
sizhou 发表于 2023-12-19 16:40
你这还不如留几台Windows机子,现在就不是一次性换完,到27年去了,ARM的飞腾、鲲鹏你用了Windows系统, ...

WIN11 ARM版跑EXE一点问题没有的,不然折腾他意义不大。
作者: willishe    时间: 2023-12-19 17:05
学习中。。。
作者: cyouwei    时间: 2023-12-19 18:33
把下面代码保存为bat文件。把需要去除tpm的文件,如iso或者esd都可以的,拖到bat文件上面,一切搞定。

@(echo off% <#%) &color 07 &title Quick 11 iso esd wim TPM toggle by AveYo - with SendTo menu entry
set "0=%~f0" &set "1=%~f1"&set "2=%~2"& powershell -nop -c iex ([io.file]::ReadAllText($env:0)) &pause &exit/b ||#>)[1]

#:: what's new in v1.2: add uninstall when run again without parameters (issue #96)
$timer = $(get-date)

#:: Install to SendTo menu when run from another location
$SendTo = [Environment]::GetFolderPath('ApplicationData') + '\Microsoft\Windows\SendTo'
$Script = "$SendTo\Quick_11_iso_esd_wim_TPM_toggle.bat"
if (!$env:1 -and $env:0 -and !(test-path $Script)) {
  write-host "`n No input iso / esd / wim file to patch! use 'Send to' context menu ...`n" -fore Yellow
  copy $env:0 $Script -force
}
elseif (!$env:1 -and $env:0 -and (test-path $Script)) {
  write-host "`n Removed 'Send to' entry - run again to install ...`n" -fore Magenta
  del $Script -force
}
if (!$env:1) { return }

#:: Can force either patch or undo via second commandline parameter: 1 to patch 0 to undo
if (1 -eq $env:2) {$toggle = 1} elseif (0 -eq $env:2) {$toggle = 0} else {$toggle = 2}

#:: Verify extension is .iso .esd or .wim
$input = get-item -lit $env:1; $invalid = '.iso','.esd','.wim' -notcontains $input.Extension
if ($invalid) {write-host "`n Input is not a iso / esd / wim file ...`n" -fore Yellow; return }
try {[io.file]::OpenWrite($input).close()} catch {write-host "`n ERROR! $input read-only or in use ...`n" -fore Red; return }

#:: TPM patch via InstallationType Server
$typeC = '<INSTALLATIONTYPE>Client'; $typeS = '<INSTALLATIONTYPE>Server'
$block = 1048576; $chunk = 2097152; $count = [uint64]([IO.FileInfo]$input).Length / $chunk - 1
$bytes = new-object "Byte[]" ($chunk); $begin = [uint64]0; $final = [uint64]0; $limit = [uint64]0
function tochars {return [Text.Encoding]::GetEncoding(28591).GetString([Text.Encoding]::Unicode.GetBytes($args[0]))}
$find1 = tochars "</INSTALLATIONTYPE>"; $find2 = tochars "</WIM>"; $cli = tochars $typeC; $srv = tochars $typeS

$f = new-object IO.FileStream ($input, 3, 3, 1); $p = 0; $p = $f.Seek(0, 2)
write-host "$input`nsearching $p bytes, please wait ...`n"
for ($o = 1; $o -le $count; $o++) {
  $p = $f.Seek(-$chunk, 1); $r = $f.Read($bytes, 0, $chunk); if ($r -ne $chunk) {write-host invalid block $r; break}
  $u = [Text.Encoding]::GetEncoding(28591).GetString($bytes); $t = $u.LastIndexOf($find1, [StringComparison]4)
  if ($t -ge 0) {
    $f.Seek(($t -$chunk), 1) >''
    for ($o = 1; $o -le $chunk; $o++) { $f.Seek(-2, 1) >''; if ($f.ReadByte() -eq 0xfe) {$begin = $f.Position; break} }
    $limit = $f.Length - $begin; if ($limit -lt $chunk) {$x = $limit} else {$x = $chunk}
    $bytes = new-object "Byte[]" ($x); $r = $f.Read($bytes, 0, $x);
    $u = [Text.Encoding]::GetEncoding(28591).GetString($bytes); $t = $u.IndexOf($find2, [StringComparison]4)
    if ($t -ge 0) {$f.Seek(($t + 12 -$x), 1) >''; $final = $f.Position} ; break
  } else { $p = $f.Seek(-$chunk, 1)}
}

if ($begin -gt 0 -and $final -gt $begin) {
  $x = $final - $begin; $f.Seek(-$x, 1) >''; $bytes = new-object "Byte[]" ($x); $r = $f.Read($bytes, 0, $x)
  if ($r -ne $x) {break}
  $t =  [Text.Encoding]::GetEncoding(28591).GetString($bytes)
  if ($t.IndexOf($cli, [StringComparison]4) -ge 0) {$src = 0} else {$src = 1}
  if ($src -eq 0 -and $toggle -ne 0) {$old = $cli; $new = $srv} elseif ($src -eq 1 -and $toggle -ne 1) {$old = $srv; $new = $cli}
  else {write-host "`n:) $input already has TPM patch $toggle"; $f.Dispose(); return}
  $t = $t.Replace($old, $new); $t; $b = [Text.Encoding]::GetEncoding(28591).GetBytes($t); $f.Seek(-$x, 1) >''; $f.Write($b, 0, $x)
  if ($src -eq 1) {write-host "`n :D TPM patch removed" -fore Green} else {write-host "`n:D TPM patch added" -fore Green}
  $f.Dispose(); [GC]::Collect()
} else {write-host "`n;( TPM patch failed" -fore Red; $f.Dispose()}

#:: how quick was that??
$(get-date) - $script:timer
#:: done


作者: zlsxhc    时间: 2023-12-19 18:50
谢谢楼主分享资源
作者: yyz2191958    时间: 2023-12-19 19:52
cyouwei 发表于 2023-12-19 18:33
把下面代码保存为bat文件。把需要去除tpm的文件,如iso或者esd都可以的,拖到bat文件上面,一切搞定。

@ ...

赞一个
作者: tanglf    时间: 2023-12-19 20:38
谢谢分享  
作者: yyz2191958    时间: 2023-12-19 20:49
cyouwei 发表于 2023-12-19 18:33
把下面代码保存为bat文件。把需要去除tpm的文件,如iso或者esd都可以的,拖到bat文件上面,一切搞定。

@ ...

高手哦
作者: yc2428    时间: 2023-12-19 22:49
学习
作者: a2013025    时间: 2023-12-20 00:29
pear4093 发表于 2023-12-19 15:15
话不要说的太满了,飞腾处理器搭配昆仑固件是可以安装WIN11 ARM版本的,当然百熬BIOS除外。

有装成功吗?试过几次,刚过引导就蓝屏了
作者: 2013gjq5127465    时间: 2023-12-20 08:52
过来参过学习下
作者: shy20070509    时间: 2023-12-20 09:03
学习一下
作者: 5982168    时间: 2023-12-20 09:07
高手还是有的,膜拜                    
作者: bing89884    时间: 2023-12-20 09:09
不知道~~~~~
作者: pear4093    时间: 2023-12-20 10:55
a2013025 发表于 2023-12-20 00:29
有装成功吗?试过几次,刚过引导就蓝屏了

刚过引导就蓝屏,你看下bios是百敖还是昆仑的,只有昆仑的才不会蓝。
作者: reborn2046    时间: 2023-12-20 19:43
pear4093 发表于 2023-12-20 10:55
刚过引导就蓝屏,你看下bios是百敖还是昆仑的,只有昆仑的才不会蓝。

你好,你用哪个版 本试的?我现在安装也出现蓝屏情况
作者: cqlhl    时间: 2023-12-21 09:11
看看学习学习
作者: cao8mm    时间: 2023-12-21 11:34
学习
作者: zzzlllxyt    时间: 2023-12-21 11:50
路过……
作者: sulong    时间: 2023-12-21 12:35
围观一下看看这个问题是怎么处理的
作者: iyg429    时间: 2023-12-24 12:54
最近买了一台华为的笔记本 系统坏了arm架构的 请问有没有PE 可以进入到里面 拷贝里面的数据
作者: 无犹启动    时间: 2024-1-31 12:02
可能吗?
作者: sbclass    时间: 2024-2-1 15:31
用飞腾自家的虚拟机吧
作者: hehuiying    时间: 2024-4-16 21:56
谢谢分享




欢迎光临 无忧启动论坛 (http://bbs.wuyou.net/) Powered by Discuz! X3.3