记一次Windows大版本升级出现的毛病
ifTemplate
date
Dec 2, 2021
slug
windows-update-secure-boot
status
Published
tags
Windows
问题解决
summary
type
Post
favorite
category
主要症状
保留文件和应用升级,到重启阶段,弹窗显示Windows 11 安装失败。
弹窗大概长这样(Windows 10/11 均可,大同小异):
以下是setuperr.log最后的部分
2021-11-17 16:17:26, Error [0x0808fe] MIG Plugin {ff9c714f-b864-4f43-ae39-ec07d7385abe}: BthMigLib: BthMig(V:2 T:1): This device is not a personal device, will check to see if authenticated
2021-11-17 16:17:26, Error [0x0808fe] MIG Plugin {ff9c714f-b864-4f43-ae39-ec07d7385abe}: BthMigLib: BthMig(V:2 T:1): This device is not a personal device, will check to see if authenticated
2021-11-17 16:17:26, Error [0x0808fe] MIG Plugin {ff9c714f-b864-4f43-ae39-ec07d7385abe}: BthMigLib: BthMig(V:2 T:1): This device is not a personal device, will check to see if authenticated
2021-11-17 16:17:26, Error [0x0808fe] MIG Plugin {ff9c714f-b864-4f43-ae39-ec07d7385abe}: BthMigLib: BthMig(V:2 T:1): This device is not a personal device, will check to see if authenticated
2021-11-17 16:17:26, Error [0x0808fe] MIG Plugin {ff9c714f-b864-4f43-ae39-ec07d7385abe}: BthMigLib: BthMig(V:2 T:1): This device is not a personal device, will check to see if authenticated
2021-11-17 16:17:26, Error [0x0808fe] MIG Plugin {ff9c714f-b864-4f43-ae39-ec07d7385abe}: BthMigLib: BthMig(V:2 T:1): This device is not a personal device, will check to see if authenticated
2021-11-17 16:17:26, Error [0x0808fe] MIG Plugin {ff9c714f-b864-4f43-ae39-ec07d7385abe}: BthMigLib: BthMig(V:2 T:1): This device is not a personal device, will check to see if authenticated
2021-11-17 16:17:26, Error [0x0808fe] MIG Plugin {ff9c714f-b864-4f43-ae39-ec07d7385abe}: BthMigLib: BthMig(V:2 T:1): This device is not a personal device, will check to see if authenticated
2021-11-17 16:19:15, Error SP Failure while getting the known folder path for CSIDL_PRINTHOOD (S-1-5-80-2652535364-2169709536-2857650723-2622804123-1107741775): Win32Exception: 系统找不到指定的文件。 [0x00000002] class UnBCL::String *__cdecl Mig::CFacadeUser::GetKnownFolderLocation(class UnBCL::String *,int *,class UnBCL::String **)[gle=0x000036b7]
2021-11-17 16:19:15, Error SP Failure while getting the known folder path for CSIDL_PRINTHOOD (S-1-5-21-1278639585-1114773516-2000623892-1012): Win32Exception: 系统找不到指定的文件。 [0x00000002] class UnBCL::String *__cdecl Mig::CFacadeUser::GetKnownFolderLocation(class UnBCL::String *,int *,class UnBCL::String **)[gle=0x000036b7]
2021-11-17 16:19:15, Error SP Failure while getting the known folder path for CSIDL_PRINTHOOD (S-1-5-21-1278639585-1114773516-2000623892-1028): Win32Exception: 系统找不到指定的文件。 [0x00000002] class UnBCL::String *__cdecl Mig::CFacadeUser::GetKnownFolderLocation(class UnBCL::String *,int *,class UnBCL::String **)[gle=0x000036b7]
2021-11-17 16:19:15, Error SP Failure while getting the known folder path for CSIDL_PRINTHOOD (S-1-5-21-1278639585-1114773516-2000623892-1001): Win32Exception: 系统找不到指定的文件。 [0x00000002] class UnBCL::String *__cdecl Mig::CFacadeUser::GetKnownFolderLocation(class UnBCL::String *,int *,class UnBCL::String **)[gle=0x000036b7]
2021-11-17 16:19:15, Error SP Failure while getting the known folder path for CSIDL_PRINTHOOD (S-1-5-21-1278639585-1114773516-2000623892-1024): Win32Exception: 系统找不到指定的文件。 [0x00000002] class UnBCL::String *__cdecl Mig::CFacadeUser::GetKnownFolderLocation(class UnBCL::String *,int *,class UnBCL::String **)[gle=0x000036b7]
2021-11-17 16:19:16, Error SP Failure while getting the known folder path for CSIDL_PRINTHOOD (S-1-5-80-3880718306-3832830129-1677859214-2598158968-1052248003): Win32Exception: 系统找不到指定的文件。 [0x00000002] class UnBCL::String *__cdecl Mig::CFacadeUser::GetKnownFolderLocation(class UnBCL::String *,int *,class UnBCL::String **)[gle=0x000036b7]
2021-11-17 16:19:16, Error SP Failure while getting the known folder path for CSIDL_PRINTHOOD (S-1-5-21-1278639585-1114773516-2000623892-1019): Win32Exception: 系统找不到指定的文件。 [0x00000002] class UnBCL::String *__cdecl Mig::CFacadeUser::GetKnownFolderLocation(class UnBCL::String *,int *,class UnBCL::String **)[gle=0x000036b7]
2021-11-17 16:20:17, Error SP CAddSafeOSBootEntry::ConfigureImageForRAMBoot: Failed to set BCDE_BOOTMGR_TYPE_DISPLAY_ORDER field. Status = -1073741772
2021-11-17 16:20:17, Error SP CAddSafeOSBootEntry::DoExecute: Failed to configure image for RAM boot. Status = -1073741772
2021-11-17 16:20:17, Error SP Operation failed: Add safe OS boot entry. Error: 0xD0000034[gle=0x000000b7]
2021-11-17 16:20:17, Error SP ExecuteOperations: Main operation execution failed. Error: 0xD0000034
2021-11-17 16:20:17, Error SP ExecuteOperations: Failed execution phase Finalize. Error: 0xD0000034
2021-11-17 16:20:17, Error MOUPG MoSetupPlatform: Finalize reported failure![gle=0xd0000034]
2021-11-17 16:20:17, Error MOUPG MoSetupPlatform: Using action error code: [0xD0000034][gle=0xd0000034]
2021-11-17 16:20:17, Error MOUPG CDlpActionFinalize::ExecuteSetupPlatformFinalize(1192): Result = 0xD0000034[gle=0xd0000034]
2021-11-17 16:20:17, Error MOUPG CDlpActionFinalize::ExecuteRoutine(514): Result = 0xD0000034[gle=0xd0000034]
2021-11-17 16:20:20, Error MOUPG CDlpActionImpl<class CDlpErrorImpl<class CDlpObjectInternalImpl<class CUnknownImpl<class IMoSetupDlpAction> > > >::Execute(493): Result = 0xD0000034
2021-11-17 16:20:20, Error MOUPG CDlpTask::ExecuteAction(3300): Result = 0xD0000034
2021-11-17 16:20:20, Error MOUPG CDlpTask::ExecuteActions(3454): Result = 0xD0000034
2021-11-17 16:20:20, Error MOUPG CDlpTask::Execute(1631): Result = 0xD0000034
2021-11-17 16:20:20, Error MOUPG CSetupManager::ExecuteTask(2942): Result = 0xD0000034[gle=0x00003b01]
2021-11-17 16:20:20, Error MOUPG CSetupManager::ExecuteTask(2905): Result = 0xD0000034[gle=0x00003b01]
2021-11-17 16:20:20, Error MOUPG CSetupManager::ExecuteInstallMode(1110): Result = 0xD0000034[gle=0x00003b01]
2021-11-17 16:20:20, Error MOUPG CSetupManager::ExecuteDownlevelMode(569): Result = 0xD0000034[gle=0x00003b01]
2021-11-17 16:20:44, Error MOUPG CSetupManager::Execute(313): Result = 0xD0000034
2021-11-17 16:20:44, Error MOUPG CSetupHost::Execute(454): Result = 0xD0000034
具体情况
重启之前所有任务都已经成功完成,屏幕显示正在等待重启时等待时间过长,最后弹窗“Windows 11 安装失败”。
前提
笔记本之前换过装有系统盘的固态,直接进行的整个磁盘拷贝。
解决方法
很简单,在安装大版本更新之前直接在BIOS里面关闭Secure Boot即可。
在安装成功、正常启动之后,可以再次打开Secure Boot,不受影响。