就在今天,微软公司发布了最新的Windows11开发预览频道22509.1000版本,但是不少用户在更新安装的时候都出现了失败的提示,这是怎么回事呢?下面小编就带着大家一起看看怎么操作吧!
方法一:替换文件法。 首先用户需要下载旧版的自动屏蔽PTM 2.0工具,并在检查更新的时候选择开启。 下载完成后,在电脑桌面新建一个名称为【AppraiserRes. dll】文件。
在开始检查更新的时候,打开电脑C盘可以看到多出来两个文件夹,打开$WINDOWS.~BTSources
当自动更新到8%的时候,将桌面的【AppraiserRes. dll】文件复制到C:$WINDOWS.~BTSources文件夹,即可。
方法二:删除文件法 首先用户需要下载旧版的自动屏蔽PTM 2.0工具,并在检查更新的时候选择开启。 在开始检查更新的时候,打开电脑C盘可以看到多出来两个文件夹,打开$WINDOWS.~BTSources
当自动更新到8%的时候,将C:$WINDOWS.~BTSources文件夹中【AppraiserRes. dll】文件删除即可。 方法三: 电脑桌面新建一个文本文档,后缀名改为.cmd文件。
更改后,复制以下代码进入文件中并保存。 01 @(set "0=%~f0"^)#) & powershell -nop -c iex([io.file]::ReadAllText(:0)) & exit/b02 #:: double-click to run or just copy-paste into powershell - it's a standalone hybrid script03 #:: v1 of the toggle script works perfectly fine for most people with a non-botched windows installation04 #:: 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 implementation06 #:: you probably don't need to have it installed at all times - just when doing feature updates or manual setup within windows07 #:: hence the on off toggle just by running the script again08 = {09 = 'Skip TPM Check on Dynamic Update'; =10 $0 = sp 'HKLM:SYSTEMSetupMoSetup' 'AllowUpgradesWithUnsupportedTPMOrCPU' 1 -type dword -force -ea 011 $0 = ri 'HKLM:SOFTWAREMicrosoftWindows NTCurrentVersionImage File Execution Optionsdsldr.exe' -force -ea 012 $0 = sc.exe config Winmgmt start= demand; sp HKLM:SOFTWAREMicrosoftWbem 'Enable Costly Providers' 0 -type dword -force -ea 013 = gwmi -Class __FilterToConsumerBinding -Namespace 'rootsubscription' -Filter "Filter = ""__eventfilter.name=''""" -ea 014 = gwmi -Class CommandLineEventConsumer -Namespace 'rootsubscription' -Filter "Name=''" -ea 015 = gwmi -Class __EventFilter -NameSpace 'rootsubscription' -Filter "Name=''" -ea 016 if () { | rwmi; = } ; if () { | rwmi; = } ; if () { | rwmi; = }17 if () { write-host -fore 0xf -back 0xd "`n [REMOVED] run again to install "; timeout /t 5; return }18 = "$([environment]::SystemDirectory)cmd.exe"; = " /q (c) AveYo, 2021 /d /rerase appraiserres.dll /f /s /q"19 = "$():`.~BT"; = "SELECT SessionID from Win32_ProcessStartTrace WHERE ProcessName='vdsldr.exe'"20 = swmi -Class __EventFilter -NameSpace 'rootsubscription' -args @{21 Name = ; EventNameSpace = 'rootcimv2'; QueryLanguage = 'WQL'; Query = } -PutType 2 -ea 022 = swmi -Class CommandLineEventConsumer -Namespace 'rootsubscription' -args @{23 Name = ; WorkingDirectory = ; ExecutablePath = ; CommandLineTemplate = ; Priority = 128} -PutType 2 -ea 024 = swmi -Class __FilterToConsumerBinding -Namespace 'rootsubscription' -args @{Filter=;Consumer=} -PutType 2 -ea 025 write-host -fore 0xf -back 0x2 "`n [INSTALLED] run again to remove "; timeout /t 526 } ; start -verb runas powershell -args "-nop -c & {`n`n$(-replace'"','\"')}"27 #::
复制代码
之后,以管理员的身份运行.cmd文件。
运行结束后,点击检查更新。 然后再电脑桌面新建一个空白的【AppraiserRes.dll】文件。
等待更新到8%时,电脑C盘将会多出两个文件夹。
迅速打开C:$WINDOWS.~BTSources并将【AppraiserRes.dll】文件复制到该目录即可。
|