Windows 10 更新至 2004 失败 - 错误:0x80004005 - 0x60016

Windows 10 更新至 2004 失败 - 错误:0x80004005 - 0x60016

在过去一周左右的时间里,我一直在尝试将 Windows 10 更新到 2004。我尝试了所有常见的解决方案(sfc /scannow、DISM 恢复、媒体创建工具等)。

查看日志文件后,我认为问题已经缩小到 BCD/MBR 问题(请参阅下面的完整日志)。在 SetupDiag 中,您可以看到失败的部分处于阶段FinalizeUpdate Boot Code操作中。查看时,setuperr.log会出现此错误:

IBSLIB BCD: BcdCopyObjectEx: Failed to create object. Target: {a5a30fa2-3d06-4e9f-b5f4-a01ff9d1fcba} Flags: 0x1  Status: c00000bb[gle=0x00000002]
IBSLIB BCD: Failed to clone store. Status: c00000bb[gle=0x00000002]
IBSLIB BCD: BcdExportStore: Failed clone BCD to \??\C:\$WINDOWS.~BT\Sources\Rollback\EFI\Microsoft\Boot\BCD. Status: c00000bb[gle=0x00000002]

这让我走上了尝试重建 BCD 的道路。

我尝试过各种指南,但它们似乎都在执行阶段bootrec /fixbootAccess denied错误而失败,或者当我尝试使用时,bcdedit /export我得到了一个The store export operation has failed.

有人能告诉我通过查看 BCD 是否朝着正确的方向前进吗?如果是这样,有什么关于如何修复的建议吗?

如果没有,我还能尝试什么来修复此错误?不幸的是,我在上次 Windows 10 功能更新时也遇到了这个问题,我尝试不再重新安装。

更新: 我注意到一些奇怪的事情,但可能没什么。我尝试按照另一个指南重建 BCR,它也处理了错误Access denied链接在这里)。这有效,但我注意到,当我使用可启动媒体查看我的驱动器(diskpart list vol)时以及当我加载到 Windows 时,我的两个 SSD 交换了字母。

因此这是启动到 Windows 的:

Volume ###  Ltr  Label        Fs     Type        Size     Status     Info
----------  ---  -----------  -----  ----------  -------  ---------  --------
Volume 0     D   SSD2         NTFS   Partition    232 GB  Healthy
Volume 1     C   SSD          NTFS   Partition    111 GB  Healthy    Boot
Volume 2                      FAT32  Partition     99 MB  Healthy    System
Volume 3     E   HDD          NTFS   Partition    931 GB  Healthy
Volume 4     G   ESD-USB      FAT32  Removable     15 GB  Healthy

为了清楚起见,这是磁盘管理对系统的视图:

磁盘管理

但是,通过可启动媒体 USB 启动时也会出现同样的情况:

Volume ###  Ltr  Label        Fs     Type        Size     Status     Info
----------  ---  -----------  -----  ----------  -------  ---------  --------
Volume 0     C   SSD2         NTFS   Partition    232 GB  Healthy
Volume 1     D   SSD          NTFS   Partition    111 GB  Healthy    Boot
Volume 2                      FAT32  Partition     99 MB  Healthy    System
Volume 3     E   HDD          NTFS   Partition    931 GB  Healthy
Volume 4     F   ESD-USB      FAT32  Removable     15 GB  Healthy

请注意,CD驱动器已交换,并且 USB ( ESD-USB) 被分配了字母F

查看错误日志时,这一行Failed to backup BCD database from "F:\EFI\Microsoft\Boot\BCD" to "C:\$WINDOWS.~BT\Sources\Rollback\EFI\Microsoft\Boot\BCD".[gle=0x00000032]非常突出。

我想知道它是否出于某种原因试图在错误的驱动器上设置回滚检查点?这似乎不太可能,但明天我可能会尝试在拔下所有其他非 C 驱动器的情况下进行更新,只是为了看看是否可行,但我并不抱太大希望。

更新 2: 正如预期的那样,仅插入 C 盘运行更新也不起作用。完全一样的问题。我已经更新了日志文件。

日志文件

SetupDiagResults.log:

Matching Profile found: FindAbruptDownlevelFailure - 55882B1A-DA3E-408A-9076-23B22A0472BD
SetupDiag version: 1.6.0.0
System Information:
    Machine Name = DESKTOP-NQP82FD
    Manufacturer = System manufacturer
    Model = System Product Name
    HostOSArchitecture = 2057
    FirmwareType = UEFI
    BiosReleaseDate = 20191209000000.000000+000
    BiosVendor = 3003
    BiosVersion = 3003
    HostOSVersion = 10.0.18363
    HostOSBuildString = 18362.1.amd64fre.19h1_release.190318-1202
    TargetOSBuildString = 10.0.19041.1 (vb_release.191206-1406)
    HostOSLanguageId = 
    HostOSEdition = Core
    RegisteredAV = Windows Defender
    FilterDrivers = FileInfo
    UpgradeStartTime = 27/07/2020 17:51:14
    UpgradeEndTime = 27/07/2020 18:18:45
    UpgradeElapsedTime = 00:27:31
    CV = 
    ReportId = 

Error: SetupDiag reports abrupt down-level failure.
Last Operation: Finalize
Error: 0x80004005 - 0x50016
LogEntry: 2020-07-27 18:16:59, Error                 SP     Operation failed: Update Boot Code. Error: 0x80004005[gle=0x000000b7]

Refer to "https://docs.microsoft.com/en-us/windows/desktop/Debug/system-error-codes" for error information.

Last Setup Phase:
Phase Name: Finalize
    Phase Started: 27/07/2020 18:16:55
    Phase Ended: 01/01/0001 00:00:00
    Phase Time Delta: 00:00:00
    Completed Successfully? False


Last Setup Operation:
Operation Name: Update Boot Code
    Operation Started: 27/07/2020 18:16:59
    Operation Ended: 01/01/0001 00:00:00
    Operation Time Delta: 0:00:00:00.0000000
    Completed Successfully? False

setuperr.log 输出:

2020-07-27 18:15:12, Error      [0x08085f] MIG    MigHost: CMigPluginSurrogate::LoadAndRegisterServerInThreadContext: LoadLibraryExW(C:\$WINDOWS.~BT\NewOS\Windows\system32\migration\scmdmigplugin.dll, LOAD_WITH_ALTERED_SEARCH_PATH) failed gle=0x7f.[gle=0x0000007f]
2020-07-27 18:15:12, Error      [0x080863] MIG    MigHost: CMigPluginSurrogate::COMGenericThreadingHostThreadProc: LoadAndRegisterServerInThreadContext() failed hr=0x8007007f.[gle=0x0000007f]
2020-07-27 18:15:12, Error      [0x0808ff] MIG    COutOfProcPluginFactory::CreateInstance: m_currentHostSurrogate->LoadDllServer(C:\$WINDOWS.~BT\NewOS\Windows\system32\migration\scmdmigplugin.dll, {D7A91520-AAFC-416F-9D7B-2C2E933BCAA7}, 0) failed, hr=[0x8007007f].
2020-07-27 18:15:12, Error      [0x08038d] MIG    Failure while calling IPostApply->ApplySuccess for Plugin={ServerPath="%SYSTEM32%\migration\scmdmigplugin.dll", CLSID={D7A91520-AAFC-416F-9D7B-2C2E933BCAA7}, ThreadingModel=Apartment}. Error: 0x8007007F
2020-07-27 18:15:12, Error                 SP     Error READ, 0x0000007F while gathering/applying object: apply-success, Action,CMXEPlugin,C:\$WINDOWS.~BT\Work\MachineSpecific\Working\agentmgr\CCSIAgent,%SYSTEM32%\migration\scmdmigplugin.dll,{D7A91520-AAFC-416F-9D7B-2C2E933BCAA7},Apartment. Will return 2[gle=0x000000cb]
2020-07-27 18:15:12, Error      [0x0808fe] MIG    Plugin {ee036dc0-f9b7-4d2d-bb94-3dd3102c5804}: BRIDGEMIG: ParseRegistryIfBridgeExists: offline key (new) = '$OFFLINE_RW_BCE441CA$SYSTEM\Setup\Upgrade\Bridge'
2020-07-27 18:15:12, Error      [0x0808fe] MIG    Plugin {ee036dc0-f9b7-4d2d-bb94-3dd3102c5804}: BRIDGEMIG: ParseRegistryIfBridgeExists: query bridge presence key failed 0x139f, bridge present = 0
2020-07-27 18:15:13, Error      [0x0808fe] MIG    Plugin {526D451C-721A-4b97-AD34-DCE5D8CD22C5}: [shmig] onecoreuap\internal\shell\inc\private\schemacachehelpers.cpp(607)\shmig.dll!00007FFA004573BE: (caller: 00007FFA00455315) ReturnHr(1) tid(22f4) 80070002 The system cannot find the file specified.
    Msg:[Migrated key for Path $OFFLINE_RW_BCE441CA$SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\PropertySystem\PropertySchema.Migrated for 32-bit hive not found ] 

2020-07-27 18:15:13, Error      [0x0808fe] MIG    Plugin {526D451C-721A-4b97-AD34-DCE5D8CD22C5}: [shmig] onecoreuap\internal\shell\inc\private\schemacachehelpers.cpp(607)\shmig.dll!00007FFA004573BE: (caller: 00007FFA00455348) ReturnHr(2) tid(22f4) 80070002 The system cannot find the file specified.
    Msg:[Migrated key for Path $OFFLINE_RW_BCE441CA$SOFTWARE\Microsoft\Windows\CurrentVersion\PropertySystem\PropertySchema.Migrated for 64-bit hive not found ] 

2020-07-27 18:15:14, Error      [0x0808fe] MIG    Plugin {0b23c863-4410-4153-8733-a60c9b1990fb}: TableTextServiceMig!RemoveObsoleteCHSHKLMRegkey - fail to open regkey (software\Microsoft\CTF\TIP\{E429B25A-E5D3-4D1F-9BE3-0C608477E3A1}\LanguageProfile\0x00000804) = 2
2020-07-27 18:15:14, Error      [0x0808fe] MIG    Plugin {0b23c863-4410-4153-8733-a60c9b1990fb}: TableTextServiceMig!ApplySuccess() remove HKLM Registries error
2020-07-27 18:15:14, Error      [0x08038d] MIG    Failure while calling IPostApply->ApplySuccess for Plugin={ServerPath="Microsoft-Windows-DirectoryServices-ADAM-Client\adammigrate.dll", CLSID={43CCF250-2A74-48c6-9620-FC312EC475D6}, ThreadingModel=Apartment}. Error: 0x80070002
2020-07-27 18:15:14, Error                 SP     Error READ, 0x00000002 while gathering/applying object: apply-success, Action,CMXEPlugin,C:\$WINDOWS.~BT\Sources\ReplacementManifests,Microsoft-Windows-DirectoryServices-ADAM-Client\adammigrate.dll,{43CCF250-2A74-48c6-9620-FC312EC475D6},Apartment. Will return 2[gle=0x000000cb]
2020-07-27 18:15:14, Error      [0x08085f] MIG    MigHost: CMigPluginSurrogate::LoadAndRegisterServerInThreadContext: LoadLibraryExW(C:\$WINDOWS.~BT\NewOS\Windows\system32\migration\scmdmigplugin.dll, LOAD_WITH_ALTERED_SEARCH_PATH) failed gle=0x7f.[gle=0x0000007f]
2020-07-27 18:15:14, Error      [0x080863] MIG    MigHost: CMigPluginSurrogate::COMGenericThreadingHostThreadProc: LoadAndRegisterServerInThreadContext() failed hr=0x8007007f.[gle=0x0000007f]
2020-07-27 18:15:14, Error      [0x0808ff] MIG    COutOfProcPluginFactory::CreateInstance: m_currentHostSurrogate->LoadDllServer(C:\$WINDOWS.~BT\NewOS\Windows\system32\migration\scmdmigplugin.dll, {D7A91520-AAFC-416F-9D7B-2C2E933BCAA7}, 0) failed, hr=[0x8007007f].
2020-07-27 18:15:14, Error      [0x080390] MIG    Failure while calling IPostApply->PostApply for Plugin={ServerPath="%SYSTEM32%\migration\scmdmigplugin.dll", CLSID={D7A91520-AAFC-416F-9D7B-2C2E933BCAA7}, ThreadingModel=Apartment}. Error: 0x8007007F
2020-07-27 18:15:14, Error                 SP     Error READ, 0x0000007F while gathering/applying object: post-apply, Action,CMXEPlugin,C:\$WINDOWS.~BT\Work\MachineSpecific\Working\agentmgr\CCSIAgent,%SYSTEM32%\migration\scmdmigplugin.dll,{D7A91520-AAFC-416F-9D7B-2C2E933BCAA7},Apartment. Will return 2[gle=0x000000cb]
2020-07-27 18:15:18, Error                 MIG    Ignoring replacement manifest with no settingsVersionRange or versionRange attribute in migration element: Microsoft-Windows-Container-Manager
2020-07-27 18:15:21, Error      [0x080831] MIG    CSIAgent: Invalid xml format: FormatException: "script" attribute is mandatory. class Mig::CMXEMerge *__cdecl Mig::CMXEMigrationXml::LoadMerge(class UnBCL::XmlNode *,int,class Mig::CMXEMigrationXml *,class Mig::CMXEXmlComponent *)
2020-07-27 18:15:22, Error      [0x0803eb] MIG    Error: 161 Message: Error opening the key HKLM\SOFTWARE\\System\CurrentControlSet\Control\TabletPC: The specified path is invalid. [0x000000A1][gle=0x00000002]
2020-07-27 18:15:22, Error      [0x0803eb] MIG    Error: 161 Message: Error opening the key HKLM\SOFTWARE\\System\CurrentControlSet\Control\TabletPC: The specified path is invalid. [0x000000A1][gle=0x00000002]
2020-07-27 18:15:24, Error                 SP     Error WRITE, 0x0000065E while gathering/applying object: State, Microsoft-Windows-SQMApi[@version="10.0.18362.1" and @arch="amd64" and @culture="neutral" and @context="perUser"]/settings. Will return 2[gle=0x00000012]
2020-07-27 18:15:24, Error                 SP     Error WRITE, 0x0000065E while gathering/applying object: State, Microsoft-Windows-SQMApi[@version="10.0.18362.1" and @arch="amd64" and @culture="neutral" and @context="perUser"]/settings. Will return 2
2020-07-27 18:15:24, Error                 SP     Error WRITE, 0x0000065E while gathering/applying object: State, Microsoft-Windows-SMBServer[@version="10.0.18362.1" and @arch="amd64" and @culture="neutral" and @context="perUser"]/settings. Will return 2[gle=0x00000002]
2020-07-27 18:15:24, Error                 SP     Error WRITE, 0x0000065E while gathering/applying object: State, Microsoft-Windows-SMBServer[@version="10.0.18362.1" and @arch="amd64" and @culture="neutral" and @context="perUser"]/settings. Will return 2
2020-07-27 18:15:24, Error                 SP     Error WRITE, 0x0000065E while gathering/applying object: State, Microsoft-Windows-SharedAccess[@version="10.0.18362.778" and @arch="amd64" and @culture="neutral" and @context="perUser"]/settings. Will return 2[gle=0x00000012]
2020-07-27 18:15:24, Error                 SP     Error WRITE, 0x0000065E while gathering/applying object: State, Microsoft-Windows-SharedAccess[@version="10.0.18362.778" and @arch="amd64" and @culture="neutral" and @context="perUser"]/settings. Will return 2
2020-07-27 18:15:24, Error                 SP     Error WRITE, 0x0000065E while gathering/applying object: State, Microsoft-Windows-ErrorReportingCore[@version="10.0.18362.959" and @arch="amd64" and @culture="neutral" and @context="perUser"]/settings. Will return 2
2020-07-27 18:15:24, Error                 SP     Error WRITE, 0x0000065E while gathering/applying object: State, Microsoft-Windows-ErrorReportingCore[@version="10.0.18362.959" and @arch="amd64" and @culture="neutral" and @context="perUser"]/settings. Will return 2
2020-07-27 18:15:24, Error      [0x0808fe] MIG    Plugin {050ed09e-a530-41e6-8ac9-a9a96e74a2c1}: [shmig] onecoreuap\internal\shell\inc\private\UserChoiceHelpers.h(808)\shmig.dll!00007FF9FFF2B8D1: (caller: 00007FF9FFF2BFD0) LogHr(1) tid(231c) 80070002 The system cannot find the file specified.

2020-07-27 18:15:24, Error      [0x0808fe] MIG    Plugin {050ed09e-a530-41e6-8ac9-a9a96e74a2c1}: [shmig] onecoreuap\internal\shell\inc\private\UserChoiceHelpers.h(809)\shmig.dll!00007FF9FFF2B90B: (caller: 00007FF9FFF2BFD0) LogHr(2) tid(231c) 80070002 The system cannot find the file specified.

2020-07-27 18:15:24, Error      [0x0808fe] MIG    Plugin {050ed09e-a530-41e6-8ac9-a9a96e74a2c1}: [shmig] onecoreuap\internal\shell\inc\private\UserChoiceHelpers.h(810)\shmig.dll!00007FF9FFF2B935: (caller: 00007FF9FFF2BFD0) LogHr(3) tid(231c) 80070002 The system cannot find the file specified.

2020-07-27 18:15:27, Error                 SP     Error WRITE, 0x0000065E while gathering/applying object: State, Microsoft-Windows-SQMApi[@version="10.0.18362.1" and @arch="amd64" and @culture="neutral" and @context="perUser"]/settings. Will return 2
2020-07-27 18:15:27, Error                 SP     Error WRITE, 0x0000065E while gathering/applying object: State, Microsoft-Windows-SQMApi[@version="10.0.18362.1" and @arch="amd64" and @culture="neutral" and @context="perUser"]/settings. Will return 2
2020-07-27 18:15:27, Error                 SP     Error WRITE, 0x0000065E while gathering/applying object: State, Microsoft-Windows-SMBServer[@version="10.0.18362.1" and @arch="amd64" and @culture="neutral" and @context="perUser"]/settings. Will return 2
2020-07-27 18:15:27, Error                 SP     Error WRITE, 0x0000065E while gathering/applying object: State, Microsoft-Windows-SMBServer[@version="10.0.18362.1" and @arch="amd64" and @culture="neutral" and @context="perUser"]/settings. Will return 2
2020-07-27 18:15:32, Error                 SP     Error WRITE, 0x0000065E while gathering/applying object: State, Microsoft-Windows-SharedAccess[@version="10.0.18362.778" and @arch="amd64" and @culture="neutral" and @context="perUser"]/settings. Will return 2
2020-07-27 18:15:32, Error                 SP     Error WRITE, 0x0000065E while gathering/applying object: State, Microsoft-Windows-SharedAccess[@version="10.0.18362.778" and @arch="amd64" and @culture="neutral" and @context="perUser"]/settings. Will return 2
2020-07-27 18:15:42, Error                 SP     Error WRITE, 0x0000065E while gathering/applying object: State, Microsoft-Windows-ErrorReportingCore[@version="10.0.18362.959" and @arch="amd64" and @culture="neutral" and @context="perUser"]/settings. Will return 2
2020-07-27 18:15:42, Error                 SP     Error WRITE, 0x0000065E while gathering/applying object: State, Microsoft-Windows-ErrorReportingCore[@version="10.0.18362.959" and @arch="amd64" and @culture="neutral" and @context="perUser"]/settings. Will return 2
2020-07-27 18:15:42, Error      [0x0808fe] MIG    Plugin {050ed09e-a530-41e6-8ac9-a9a96e74a2c1}: [shmig] onecoreuap\internal\shell\inc\private\UserChoiceHelpers.h(810)\shmig.dll!00007FFA07A2B935: (caller: 00007FFA07A2BFD0) LogHr(1) tid(1830) 80070002 The system cannot find the file specified.

2020-07-27 18:15:44, Error                 SP     Error WRITE, 0x0000065E while gathering/applying object: State, Microsoft-Windows-SQMApi[@version="10.0.18362.1" and @arch="amd64" and @culture="neutral" and @context="allUsers"]/settings. Will return 2[gle=0x00000012]
2020-07-27 18:15:44, Error                 SP     Error WRITE, 0x0000065E while gathering/applying object: State, Microsoft-Windows-SQMApi[@version="10.0.18362.1" and @arch="amd64" and @culture="neutral" and @context="allUsers"]/settings. Will return 2
2020-07-27 18:15:44, Error                 SP     Error WRITE, 0x0000065E while gathering/applying object: State, Microsoft-Windows-SQMApi[@version="10.0.18362.1" and @arch="amd64" and @culture="neutral" and @context="allUsers"]/settings [CEIPEnabled]. Will return 2
2020-07-27 18:15:45, Error                 SP     Error WRITE, 0x0000065E while gathering/applying object: State, Microsoft-Windows-SMBServer[@version="10.0.18362.1" and @arch="amd64" and @culture="neutral" and @context="allUsers"]/settings. Will return 2
2020-07-27 18:15:45, Error                 SP     Error WRITE, 0x0000065E while gathering/applying object: State, Microsoft-Windows-SMBServer[@version="10.0.18362.1" and @arch="amd64" and @culture="neutral" and @context="allUsers"]/settings. Will return 2
2020-07-27 18:15:45, Error                 SP     Error WRITE, 0x0000065E while gathering/applying object: State, Microsoft-Windows-SMBServer[@version="10.0.18362.1" and @arch="amd64" and @culture="neutral" and @context="allUsers"]/settings [EnableForcedLogoff]. Will return 2
2020-07-27 18:15:45, Error                 SP     Error WRITE, 0x0000065E while gathering/applying object: State, Microsoft-Windows-SMBServer[@version="10.0.18362.1" and @arch="amd64" and @culture="neutral" and @context="allUsers"]/settings [EnableSecuritySignature]. Will return 2
2020-07-27 18:15:45, Error                 SP     Error WRITE, 0x0000065E while gathering/applying object: State, Microsoft-Windows-SMBServer[@version="10.0.18362.1" and @arch="amd64" and @culture="neutral" and @context="allUsers"]/settings [ImagePath]. Will return 2
2020-07-27 18:15:45, Error                 SP     Error WRITE, 0x0000065E while gathering/applying object: State, Microsoft-Windows-SMBServer[@version="10.0.18362.1" and @arch="amd64" and @culture="neutral" and @context="allUsers"]/settings [RequireSecuritySignature]. Will return 2
2020-07-27 18:15:45, Error                 SP     Error WRITE, 0x0000065E while gathering/applying object: State, Microsoft-Windows-SMBServer[@version="10.0.18362.1" and @arch="amd64" and @culture="neutral" and @context="allUsers"]/settings [RestrictNullSessAccess]. Will return 2
2020-07-27 18:15:47, Error                 SP     Error WRITE, 0x0000065E while gathering/applying object: State, Microsoft-Windows-SharedAccess[@version="10.0.18362.778" and @arch="amd64" and @culture="neutral" and @context="allUsers"]/settings. Will return 2
2020-07-27 18:15:47, Error                 SP     Error WRITE, 0x0000065E while gathering/applying object: State, Microsoft-Windows-SharedAccess[@version="10.0.18362.778" and @arch="amd64" and @culture="neutral" and @context="allUsers"]/settings [EnableControl]. Will return 2
2020-07-27 18:15:47, Error                 SP     Error WRITE, 0x0000065E while gathering/applying object: State, Microsoft-Windows-SharedAccess[@version="10.0.18362.778" and @arch="amd64" and @culture="neutral" and @context="allUsers"]/settings [ICSDomain]. Will return 2
2020-07-27 18:15:47, Error                 SP     Error WRITE, 0x0000065E while gathering/applying object: State, Microsoft-Windows-SharedAccess[@version="10.0.18362.778" and @arch="amd64" and @culture="neutral" and @context="allUsers"]/settings [ScopeAddress]. Will return 2
2020-07-27 18:15:47, Error                 SP     Error WRITE, 0x0000065E while gathering/applying object: State, Microsoft-Windows-SharedAccess[@version="10.0.18362.778" and @arch="amd64" and @culture="neutral" and @context="allUsers"]/settings [ScopeAddressBackup]. Will return 2
2020-07-27 18:15:47, Error                 SP     Error WRITE, 0x0000065E while gathering/applying object: State, Microsoft-Windows-SharedAccess[@version="10.0.18362.778" and @arch="amd64" and @culture="neutral" and @context="allUsers"]/settings [SharedAutoDial]. Will return 2
2020-07-27 18:15:47, Error                 SP     Error WRITE, 0x0000065E while gathering/applying object: State, Microsoft-Windows-SharedAccess[@version="10.0.18362.778" and @arch="amd64" and @culture="neutral" and @context="allUsers"]/settings. Will return 2
2020-07-27 18:15:47, Error                 SP     Error WRITE, 0x0000065E while gathering/applying object: State, Microsoft-Windows-SharedAccess[@version="10.0.18362.778" and @arch="amd64" and @culture="neutral" and @context="allUsers"]/settings [EnableControl]. Will return 2
2020-07-27 18:15:47, Error                 SP     Error WRITE, 0x0000065E while gathering/applying object: State, Microsoft-Windows-SharedAccess[@version="10.0.18362.778" and @arch="amd64" and @culture="neutral" and @context="allUsers"]/settings [ICSDomain]. Will return 2
2020-07-27 18:15:47, Error                 SP     Error WRITE, 0x0000065E while gathering/applying object: State, Microsoft-Windows-SharedAccess[@version="10.0.18362.778" and @arch="amd64" and @culture="neutral" and @context="allUsers"]/settings [ScopeAddress]. Will return 2
2020-07-27 18:15:47, Error                 SP     Error WRITE, 0x0000065E while gathering/applying object: State, Microsoft-Windows-SharedAccess[@version="10.0.18362.778" and @arch="amd64" and @culture="neutral" and @context="allUsers"]/settings [ScopeAddressBackup]. Will return 2
2020-07-27 18:15:47, Error                 SP     Error WRITE, 0x0000065E while gathering/applying object: State, Microsoft-Windows-SharedAccess[@version="10.0.18362.778" and @arch="amd64" and @culture="neutral" and @context="allUsers"]/settings [SharedAutoDial]. Will return 2
2020-07-27 18:15:50, Error                 SP     Error WRITE, 0x0000065E while gathering/applying object: State, Microsoft-Windows-ErrorReportingCore[@version="10.0.18362.959" and @arch="amd64" and @culture="neutral" and @context="allUsers"]/settings. Will return 2
2020-07-27 18:15:50, Error                 SP     Error WRITE, 0x0000065E while gathering/applying object: State, Microsoft-Windows-ErrorReportingCore[@version="10.0.18362.959" and @arch="amd64" and @culture="neutral" and @context="allUsers"]/settings. Will return 2
2020-07-27 18:15:50, Error                 SP     Error WRITE, 0x0000065E while gathering/applying object: State, Microsoft-Windows-ErrorReportingCore[@version="10.0.18362.959" and @arch="amd64" and @culture="neutral" and @context="allUsers"]/settings [DefaultConsent]. Will return 2
2020-07-27 18:15:50, Error                 SP     Error WRITE, 0x0000065E while gathering/applying object: State, Microsoft-Windows-ErrorReportingCore[@version="10.0.18362.959" and @arch="amd64" and @culture="neutral" and @context="allUsers"]/settings [DisableWER]. Will return 2
2020-07-27 18:15:51, Error      [0x0808fe] MIG    Plugin {0b23c863-4410-4153-8733-a60c9b1990fb}: TableTextServiceMig!RemoveObsoleteCHSHKLMRegkey - fail to open regkey (software\Microsoft\CTF\TIP\{E429B25A-E5D3-4D1F-9BE3-0C608477E3A1}\LanguageProfile\0x00000804) = 2
2020-07-27 18:15:51, Error      [0x0808fe] MIG    Plugin {0b23c863-4410-4153-8733-a60c9b1990fb}: TableTextServiceMig!ApplySuccess() remove HKLM Registries error
2020-07-27 18:16:59, Error                 IBSLIB BCD: BcdCopyObjectEx: Failed to create object. Target: {a5a30fa2-3d06-4e9f-b5f4-a01ff9d1fcba} Flags: 0x1  Status: c00000bb[gle=0x00000002]
2020-07-27 18:16:59, Error                 IBSLIB BCD: Failed to clone store. Status: c00000bb[gle=0x00000002]
2020-07-27 18:16:59, Error                 IBSLIB BCD: BcdExportStore: Failed clone BCD to \??\C:\$WINDOWS.~BT\Sources\Rollback\EFI\Microsoft\Boot\BCD. Status: c00000bb[gle=0x00000002]
2020-07-27 18:16:59, Error                 IBSLIB OSRollbackService::CBootFilesRestoreCheckpoint::Finalize: Failed to backup BCD database from "D:\EFI\Microsoft\Boot\BCD" to "C:\$WINDOWS.~BT\Sources\Rollback\EFI\Microsoft\Boot\BCD".[gle=0x00000032]
2020-07-27 18:16:59, Error      [0x064199] IBSLIB SetCheckpoint(WinPEBootFilesRestoreCheckpoint): threw exception.: class RollbackException: RollbackException: Error(50), CSystemVolumeSelectionCheckpoint: Failed to backup BCD database. void __cdecl OSRollbackService::CBootFilesRestoreCheckpoint::Finalize(const unsigned short *,struct OSRollbackService::ICheckpointParameters *)[gle=0x00000032]
2020-07-27 18:16:59, Error      [0x06418a] IBSLIB RollbackSetCheckpoint(WinPEBootFilesRestoreCheckpoint): threw exception.: class RollbackException: RollbackException: Error(50), CSystemVolumeSelectionCheckpoint: Failed to backup BCD database. void __cdecl OSRollbackService::CCheckpointImpressario::SetCheckpoint(const unsigned short *,struct OSRollbackService::ICheckpointParameters *)
void __cdecl OSRollbackService::CBootFilesRestoreCheckpoint::Finalize(const unsigned short *,struct OSRollbackService::ICheckpointParameters *)[gle=0x00000032]
2020-07-27 18:16:59, Error      [0x06414e] IBSLIB RollbackSetCheckpoint(WinPEBootFilesRestoreCheckpoint) failed. Disabling Rollback.[gle=0x00000032]
2020-07-27 18:16:59, Error                 SP     Error setting OS Switch Rollback checkpoint[gle=0x00000032]
2020-07-27 18:16:59, Error                 IBSLIB BCD: BcdCopyObjectEx: Failed to create object. Target: {a5a30fa2-3d06-4e9f-b5f4-a01ff9d1fcba} Flags: 0x1  Status: c00000bb[gle=0x00000002]
2020-07-27 18:16:59, Error                 IBSLIB BCD: Failed to clone store. Status: c00000bb[gle=0x00000002]
2020-07-27 18:16:59, Error                 IBSLIB BCD: BcdExportStore: Failed clone BCD to \??\C:\$WINDOWS.~BT\Sources\Rollback\EFI\Microsoft\Boot\BCD. Status: c00000bb[gle=0x00000002]
2020-07-27 18:16:59, Error                 IBSLIB OSRollbackService::CBootFilesRestoreCheckpoint::Finalize: Failed to backup BCD database from "D:\EFI\Microsoft\Boot\BCD" to "C:\$WINDOWS.~BT\Sources\Rollback\EFI\Microsoft\Boot\BCD".[gle=0x00000032]
2020-07-27 18:16:59, Error      [0x064199] IBSLIB SetCheckpoint(WinPEBootFilesRestoreCheckpoint): threw exception.: class RollbackException: RollbackException: Error(50), CSystemVolumeSelectionCheckpoint: Failed to backup BCD database. void __cdecl OSRollbackService::CBootFilesRestoreCheckpoint::Finalize(const unsigned short *,struct OSRollbackService::ICheckpointParameters *)[gle=0x00000032]
2020-07-27 18:16:59, Error      [0x06418a] IBSLIB RollbackSetCheckpoint(WinPEBootFilesRestoreCheckpoint): threw exception.: class RollbackException: RollbackException: Error(50), CSystemVolumeSelectionCheckpoint: Failed to backup BCD database. void __cdecl OSRollbackService::CCheckpointImpressario::SetCheckpoint(const unsigned short *,struct OSRollbackService::ICheckpointParameters *)
void __cdecl OSRollbackService::CBootFilesRestoreCheckpoint::Finalize(const unsigned short *,struct OSRollbackService::ICheckpointParameters *)[gle=0x00000032]
2020-07-27 18:16:59, Error      [0x06414e] IBSLIB RollbackSetCheckpoint(WinPEBootFilesRestoreCheckpoint) failed. Disabling Rollback.[gle=0x00000032]
2020-07-27 18:16:59, Error                 SP     Error setting OS Switch Rollback checkpoint[gle=0x00000032]
2020-07-27 18:16:59, Error                 SP     Operation failed: Update Boot Code. Error: 0x80004005[gle=0x000000b7]
2020-07-27 18:16:59, Error                 SP     ExecuteOperations: Failed execution phase Finalize. Error: 0x80004005
2020-07-27 18:16:59, Error                 MOUPG  MoSetupPlatform: Finalize reported failure!
2020-07-27 18:16:59, Error                 MOUPG  MoSetupPlatform: Using action error code: [0x80004005]
2020-07-27 18:16:59, Error                 MOUPG  CDlpActionFinalize::ExecuteSetupPlatformFinalize(1120): Result = 0x80004005
2020-07-27 18:16:59, Error                 MOUPG  CDlpActionFinalize::ExecuteRoutine(510): Result = 0x80004005
2020-07-27 18:17:00, Error                 MOUPG  CDlpActionImpl<class CDlpErrorImpl<class CDlpObjectInternalImpl<class CUnknownImpl<class IMoSetupDlpAction> > > >::Execute(493): Result = 0x80004005
2020-07-27 18:17:00, Error                 MOUPG  CDlpTask::ExecuteAction(3300): Result = 0x80004005
2020-07-27 18:17:00, Error                 MOUPG  CDlpTask::ExecuteActions(3454): Result = 0x80004005
2020-07-27 18:17:00, Error                 MOUPG  CDlpTask::Execute(1631): Result = 0x80004005
2020-07-27 18:17:00, Error                 MOUPG  CSetupManager::ExecuteTask(2630): Result = 0x80004005
2020-07-27 18:17:00, Error                 MOUPG  CSetupManager::ExecuteTask(2593): Result = 0x80004005
2020-07-27 18:17:00, Error                 MOUPG  CSetupManager::ExecuteInstallMode(944): Result = 0x80004005
2020-07-27 18:17:00, Error                 MOUPG  CSetupManager::ExecuteDownlevelMode(410): Result = 0x80004005
2020-07-27 18:17:04, Error                 MOUPG  CSetupManager::Execute(295): Result = 0x80004005
2020-07-27 18:17:04, Error                 MOUPG  CSetupHost::Execute(433): Result = 0x80004005

答案1

我刚刚在 Windows 10 22H2 升级安装时遇到了同样的问题(在几乎正常工作的 Windows 10 22H2 之上)。我设法通过从头开始重新创建 BCD 来解决这个问题:

  1. 备份您计划修改的整个硬盘(例如克隆兹拉、savedisk、dd-only)。

  2. 运行bcdedit并记下哪些分区当前具有与 BCD 相关的文件。

  3. 从 Windows 恢复 cmd,使用它来格式化分区bootmgr(通常是一个单独的小分区)。

    • Boot注意其他磁盘上的可疑文件夹。如果仅删除/重新创建bootmgr还不够,请考虑稍后删除并重新创建它们。
  4. bootrec /fixmbr使用、bcdboot C:\Windows /s S:、重新创建 BCD bootrec /rebuildbcd

  5. 验证bcdedit /export C:\temp\bcd.bin.tmp现在工作正常。

  6. 继续升级 Windows。

相关内容