升级Win11 22509.1000安装失败怎么办?
时间:2023-11-19 06:30:50
就在今天,微软公司发布了最新的Windows11开发预览频道22509.1000版本,但是不少用户在更新安装的时候都出现了失败的提示,这是怎么回事呢?下面小编就带着大家一起看看怎么操作吧!
系统之家www.xitongzhijia.net原创,转载需注明出处。
方法一:替换文件法。
首先用户需要下载旧版的自动屏蔽PTM 2.0工具,并在检查更新的时候选择开启。
下载地址:https://www.xitongzhijia.net/soft/225819.html
下载完成后,在电脑桌面新建一个名称为【AppraiserRes. dll】文件。
在开始检查更新的时候,打开电脑C盘可以看到多出来两个文件夹,打开$WINDOWS.~BT\Sources
当自动更新到8%的时候,将桌面的【AppraiserRes. dll】文件复制到C:\$WINDOWS.~BT\Sources文件夹,即可。
方法二:删除文件法
首先用户需要下载旧版的自动屏蔽PTM 2.0工具,并在检查更新的时候选择开启。
下载地址:https://www.xitongzhijia.net/soft/225819.html
在开始检查更新的时候,打开电脑C盘可以看到多出来两个文件夹,打开$WINDOWS.~BT\Sources
当自动更新到8%的时候,将C:\$WINDOWS.~BT\Sources文件夹中【AppraiserRes. dll】文件删除即可。
方法三:
电脑桌面新建一个文本文档,后缀名改为.cmd文件。
更改后,复制以下代码进入文件中并保存。
01@(set "0=%~f0"^)#) & powershell -nop -c iex([io.file]::ReadAllText($env:0)) & exit/b
02#:: double-click to run or just copy-paste into powershell - it's a standalone hybrid script
03#:: v1 of the toggle script works perfectly fine for most people with a non-botched windows installation
04#:: uses a fast, fileless wmi subscription to watch for the Virtual Disk Service Loader process running during setup,
05#:: then launches a cmd erase of appraiserres.dll - that's all there is to it, no rocket science, just a great implementation
06#:: you probably don't need to have it installed at all times - just when doing feature updates or manual setup within windows
07#:: hence the on off toggle just by running the script again
08$_Paste_in_Powershell = {
09$N = 'Skip TPM Check on Dynamic Update'; $off = $false
10$0 = sp 'HKLM:\SYSTEM\Setup\MoSetup' 'AllowUpgradesWithUnsupportedTPMOrCPU' 1 -type dword -force -ea 0
11$0 = ri 'HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\vdsldr.exe' -force -ea 0
12$0 = sc.exe config Winmgmt start= demand; sp HKLM:\SOFTWARE\Microsoft\Wbem 'Enable Costly Providers' 0 -type dword -force -ea 0
13$B = gwmi -Class __FilterToConsumerBinding -Namespace 'root\subscription' -Filter "Filter = ""__eventfilter.name='$N'""" -ea 0
14$C = gwmi -Class CommandLineEventConsumer -Namespace 'root\subscription' -Filter "Name='$N'" -ea 0
15$F = gwmi -Class __EventFilter -NameSpace 'root\subscription' -Filter "Name='$N'" -ea 0
16if ($B) { $B | rwmi; $off = $true } ; if ($C) { $C | rwmi; $off = $true } ; if ($F) { $F | rwmi; $off = $true }
17if ($off) { write-host -fore 0xf -back 0xd "`n $N [REMOVED] run again to install "; timeout /t 5; return }
18$P = "$([environment]::SystemDirectory)\cmd.exe"; $T = "$P /q $N (c) AveYo, 2021 /d /rerase appraiserres.dll /f /s /q"
19$D = "$($P[0]):\`$WINDOWS.~BT"; $Q = "SELECT SessionID from Win32_ProcessStartTrace WHERE ProcessName='vdsldr.exe'"
20$F = swmi -Class __EventFilter -NameSpace 'root\subscription' -args @{
21Name = $N; EventNameSpace = 'root\cimv2'; QueryLanguage = 'WQL'; Query = $Q} -PutType 2 -ea 0
22$C = swmi -Class CommandLineEventConsumer -Namespace 'root\subscription' -args @{
23Name = $N; WorkingDirectory = $D; ExecutablePath = $P; CommandLineTemplate = $T; Priority = 128} -PutType 2 -ea 0
24$B = swmi -Class __FilterToConsumerBinding -Namespace 'root\subscription' -args @{Filter=$F;Consumer=$C} -PutType 2 -ea 0
25write-host -fore 0xf -back 0x2 "`n $N [INSTALLED] run again to remove "; timeout /t 5
26} ; start -verb runas powershell -args "-nop -c & {`n`n$($_Paste_in_Powershell-replace'"','\"')}"
27$_Press_Enter
28#::
复制代码
@(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#:: v1 of the toggle script works perfectly fine for most people with a non-botched windows installation#:: uses a fast, fileless wmi subscription to watch for the Virtual Disk Service Loader process running during setup,#:: then launches a cmd erase of appraiserres.dll - that's all there is to it, no rocket science, just a great implementation#:: 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'; $off = $false$0 = sp 'HKLM:\SYSTEM\Setup\MoSetup' 'AllowUpgradesWithUnsupportedTPMOrCPU' 1 -type dword -force -ea 0$0 = ri 'HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\vdsldr.exe' -force -ea 0$0 = sc.exe config Winmgmt start= demand; sp HKLM:\SOFTWARE\Microsoft\Wbem 'Enable Costly Providers' 0 -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 0if ($B) { $B | rwmi; $off = $true } ; if ($C) { $C | rwmi; $off = $true } ; if ($F) { $F | rwmi; $off = $true }if ($off) { write-host -fore 0xf -back 0xd "`n $N [REMOVED] run again to install "; timeout /t 5; return }$P = "$([environment]::SystemDirectory)\cmd.exe"; $T = "$P /q $N (c) AveYo, 2021 /d /rerase appraiserres.dll /f /s /q"$D = "$($P[0]):\`$WINDOWS.~BT"; $Q = "SELECT SessionID from Win32_ProcessStartTrace WHERE ProcessName='vdsldr.exe'"$F = swmi -Class __EventFilter -NameSpace 'root\subscription' -args @{Name = $N; EventNameSpace = 'root\cimv2'; QueryLanguage = 'WQL'; Query = $Q} -PutType 2 -ea 0$C = swmi -Class CommandLineEventConsumer -Namespace 'root\subscription' -args @{Name = $N; WorkingDirectory = $D; ExecutablePath = $P; CommandLineTemplate = $T; Priority = 128} -PutType 2 -ea 0$B = swmi -Class __FilterToConsumerBinding -Namespace 'root\subscription' -args @{Filter=$F;Consumer=$C} -PutType 2 -ea 0write-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#::
![](/images/zang.png)
![](/images/jiucuo.png)
猜你喜欢
word转换pdf文件方法图文教程
![](https://img.aspxhome.com/file/2023/8/29238_0s.png)
win11扩展屏幕黑屏怎么办
![](https://img.aspxhome.com/file/2023/1/a274376_0s.jpg)
如何使用超级捕快录制高清视频?
6.2.2 在Excel VBA数据库中引用ADO对象
EDS是什么文件?EDS镜像文件转换为ISO后缀格式的方法
![](https://img.aspxhome.com/file/2023/2/a290443_0s.jpg)
Excel 2016中快速合并单元格的三种方法
![](https://img.aspxhome.com/file/2023/8/40858_0s.jpg)
Win10重装系统后部分软件打不开闪退了怎么办?
![](https://img.aspxhome.com/file/2023/1/a279141_0s.png)
Word特殊符号怎么打
![](https://img.aspxhome.com/file/2023/1/33841_0s.jpg)
U盘打不开提示格式化如何修复?
![](https://img.aspxhome.com/file/2023/6/a324659_0s.png)
在Word中直接输入火星文或生僻字的小技巧
![](https://img.aspxhome.com/file/2023/1/29851_0s.jpg)
如何在Excel中快速隔行填充颜色
![](https://img.aspxhome.com/file/2023/4/a156374_0s.jpg)
word取消超链接怎么做
![](https://img.aspxhome.com/file/2023/6/34476_0s.gif)
爱奇艺账号如何进行邮箱验证?爱奇艺账号进行邮箱验证的方法
![](https://img.aspxhome.com/file/2023/8/a337522_0s.jpg)
Excel制作月度销售动态图表
![](https://img.aspxhome.com/file/2023/7/a143187_0s.gif)
比特彗星端口阻塞怎么解决?比特彗星端口阻塞的解决方法
![](https://img.aspxhome.com/file/2023/1/a275032_0s.jpg)
TeamViewer怎么用?如何配置TeamViewer在局域网中共享桌面?
![](https://img.aspxhome.com/file/2023/8/a339654_0s.jpg)
Win10系统夜灯模式一直打不开的解决办法
![](https://img.aspxhome.com/file/2023/4/a305353_0s.jpg)
Windows xp系统开机菜单含义解析
![](https://img.aspxhome.com/file/2023/29/a254342_0s.jpg)
win11怎么更改任务栏颜色?win11任务栏自定义颜色教程
![](https://img.aspxhome.com/file/2023/30/a271189_0s.jpg)
iCloud容量或空间满了怎么办?可以这样试试看
![](https://img.aspxhome.com/file/2023/4/a209174_0s.jpeg)