I met the similar problem. (I upgraded my PC from win10 1909 to win 10 2004. After two days of experiments, the upgrade was finally successful)
I use SetupDiag.exe(About
SetupDiag)to collect log files(It seems to have a more detailed error messages)
run SetupDiag.exe after the win10 update failed, you will find it generate a zip file "Logs.zip". Unzip it, there will be a file called setupact.log.
At the end of the file:
2020-06-10 02:25:01, Warning SP User profile suffix mismatch: upgrade asked for "krysl", actual suffix is: "krysl.000"
2020-06-10 02:25:01, Info SP Conflicting profile folder content (C:\Users\krysl):
2020-06-10 02:25:01, Info SP C:\Users\krysl [NTUSER.DAT]
2020-06-10 02:25:01, Info SP C:\Users\krysl [ntuser.dat.LOG1]
2020-06-10 02:25:01, Info SP C:\Users\krysl [ntuser.dat.LOG2]
2020-06-10 02:25:01, Info SP C:\Users\krysl [NTUSER.DAT{53b39e88-18c4-11ea-a811-000d3aa4692b}.TM.blf]
2020-06-10 02:25:01, Info SP C:\Users\krysl [NTUSER.DAT{53b39e88-18c4-11ea-a811-000d3aa4692b}.TMContainer00000000000000000001.regtrans-ms]
2020-06-10 02:25:01, Info SP C:\Users\krysl [NTUSER.DAT{53b39e88-18c4-11ea-a811-000d3aa4692b}.TMContainer00000000000000000002.regtrans-ms]
2020-06-10 02:25:01, Info SP C:\Users\krysl\AppData
(ignore about 100 lines)
2020-06-10 02:25:01, Info SP C:\Users\krysl\SendTo
2020-06-10 02:25:01, Info MIG VERBOSEENUM: Will not enumerate reparse point C:\Users\krysl\SendTo
2020-06-10 02:25:01, Info MIG VERBOSEENUM: Will not enumerate reparse point C:\Users\krysl\SendTo
2020-06-10 02:25:01, Info SP C:\Users\krysl\Templates
2020-06-10 02:25:01, Info MIG VERBOSEENUM: Will not enumerate reparse point C:\Users\krysl\Templates
2020-06-10 02:25:01, Info MIG VERBOSEENUM: Will not enumerate reparse point C:\Users\krysl\Templates
2020-06-10 02:25:01, Info SP C:\Users\krysl\「开始」菜单
2020-06-10 02:25:01, Info MIG VERBOSEENUM: Will not enumerate reparse point C:\Users\krysl\「开始」菜单
2020-06-10 02:25:01, Info MIG VERBOSEENUM: Will not enumerate reparse point C:\Users\krysl\「开始」菜单
2020-06-10 02:25:01, Error SP User profile suffix mismatch, upgrade cannot continue.[gle=0x00000012]
2020-06-10 02:25:01, Info Entering MigCloseCurrentStore method
2020-06-10 02:25:01, Info [0x0801dc] MIG Closing catalog file
2020-06-10 02:25:01, Info [0x0801dd] MIG Deleting catalog file at C:$WINDOWS.~BT\Work\MachineSpecific\Temp\tmpF608.tmp
2020-06-10 02:25:02, Info [0x0803e6] MIG Removing mapping for HKLM\ELAM
2020-06-10 02:25:02, Info [0x0803e7] MIG Successfully unmapped HKLM\ELAM
2020-06-10 02:25:02, Info [0x0803e6] MIG Removing mapping for HKLM\SYSTEM\CurrentControlSet
2020-06-10 02:25:02, Info [0x0803e7] MIG Successfully unmapped HKLM\SYSTEM\CurrentControlSet
2020-06-10 02:25:02, Info [0x0803e5] MIG Not unmapping HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide; it is not mapped
2020-06-10 02:25:02, Info [0x0803e6] MIG Removing mapping for HKLM\SOFTWARE\Wow6432Node\Classes
2020-06-10 02:25:02, Info [0x0803e7] MIG Successfully unmapped HKLM\SOFTWARE\Wow6432Node\Classes
2020-06-10 02:25:02, Info [0x0803e5] MIG Not unmapping HKLM\SOFTWARE\WowAA32Node\Classes; it is not mapped
2020-06-10 02:25:02, Info [0x0803e6] MIG Removing mapping for HKR
2020-06-10 02:25:02, Info [0x0803e7] MIG Successfully unmapped HKR
2020-06-10 02:25:02, Info [0x0803e6] MIG Removing mapping for HKU.DEFAULT
2020-06-10 02:25:02, Info [0x0803e7] MIG Successfully unmapped HKU.DEFAULT
2020-06-10 02:25:02, Info [0x0803e6] MIG Removing mapping for HKLM\SYSTEM
2020-06-10 02:25:02, Info [0x0803e7] MIG Successfully unmapped HKLM\SYSTEM
2020-06-10 02:25:02, Info [0x0803e6] MIG Removing mapping for HKLM\COMPONENTS
2020-06-10 02:25:02, Info [0x0803e7] MIG Successfully unmapped HKLM\COMPONENTS
2020-06-10 02:25:02, Info [0x0803e6] MIG Removing mapping for HKLM\SOFTWARE
2020-06-10 02:25:02, Info [0x0803e7] MIG Successfully unmapped HKLM\SOFTWARE
2020-06-10 02:25:02, Info [0x0803e6] MIG Removing mapping for HKLM\SECURITY
2020-06-10 02:25:02, Info [0x0803e7] MIG Successfully unmapped HKLM\SECURITY
2020-06-10 02:25:02, Info [0x0803e6] MIG Removing mapping for HKLM\SAM
2020-06-10 02:25:02, Info [0x0803e7] MIG Successfully unmapped HKLM\SAM
2020-06-10 02:25:02, Info [0x080487] MIG Destroying OS analysis service
2020-06-10 02:25:02, Info [0x080488] MIG Destroyed OS analysis service
2020-06-10 02:25:02, Info Leaving MigCloseCurrentStore method
2020-06-10 02:25:02, Info Entering MigShutdown method
2020-06-10 02:25:02, Info MIG COutOfProcPluginFactory::FreeSurrogateHost: Shutdown in progress.
2020-06-10 02:25:02, Info MIG MigHost: Exiting process.
2020-06-10 02:25:02, Info [0x0803e6] MIG Removing mapping for HKLM\ELAM
2020-06-10 02:25:02, Info [0x0803e7] MIG Successfully unmapped HKLM\ELAM
2020-06-10 02:25:02, Info [0x0803e6] MIG Removing mapping for HKLM
2020-06-10 02:25:02, Info [0x0803e7] MIG Successfully unmapped HKLM
2020-06-10 02:25:02, Info [0x0803e6] MIG Removing mapping for HKU
2020-06-10 02:25:02, Info [0x0803e7] MIG Successfully unmapped HKU
2020-06-10 02:25:02, Info MIG AdjustPrivilege: Privilege SeTakeOwnershipPrivilege will be Disabled
2020-06-10 02:25:02, Info MIG Privilege has been disabled
2020-06-10 02:25:02, Info MIG AdjustPrivilege: Privilege SeSecurityPrivilege will be Disabled
2020-06-10 02:25:02, Info MIG Privilege has been disabled
2020-06-10 02:25:02, Info [0x080487] MIG Destroying OS analysis service
2020-06-10 02:25:02, Info [0x080488] MIG Destroyed OS analysis service
2020-06-10 02:25:02, Info Leaving MigShutdown method
2020-06-10 02:25:02, Error SP pSPExecuteApply: Migration phase caught exception: Win32Exception: User profile suffix mismatch, upgrade cannot continue: 指定的配置文件预期用于与指定设备的类型不同的设备。 [0x000007E7] enum MIGSTATUS __cdecl pSPExecuteApply(enum SetupPlatform::SP_MIG_SCOPE,class UnBCL::String *,int,int,int,class UnBCL::ArrayList<class UnBCL::String *> *,class UnBCL::String *,class UnBCL::String *,class UnBCL::ArrayList<class UnBCL::DictionaryEntry<class UnBCL::String *,class UnBCL::String *> *> *,class UnBCL::String *,int,int,class UnBCL::String *,class UnBCL::String *,class UnBCL::String *,class UnBCL::String *,class UnBCL::String *,class UnBCL::String *,class UnBCL::ArrayList<class CWIMBootData *> *,class UnBCL::String *,int *,class CSPTelemetryData *,struct ISPMigProgress *,long *)
2020-06-10 02:25:02, Info SP SPExecuteFirstBootApply: End run. Result: 0x00000004
2020-06-10 02:25:02, Error SP Apply (first boot apply, online phase): Migration phase failed. Result: 4, specific error: 0x800707E7[gle=0x00000002]
2020-06-10 02:25:02, Info SP SetupPlatform: Global progress: 71, Phase progress: 93
2020-06-10 02:25:02, Info SP SETUPPLATFORMEXE: Sending progress message: Phase: First Boot, Operation: Migrate data, Percentage: 93%
2020-06-10 02:25:02, Info SP SETUPPLATFORMCOMM: Progress message received: Phase: First Boot, Operation: Migrate data, Percentage: 93%
2020-06-10 02:25:02, Error SP Operation failed: First boot apply. Error: 0x800707E7[gle=0x000000b7]
2020-06-10 02:25:02, Error SP Operation execution failed: 13. hr = 0x800707E7
2020-06-10 02:25:02, Error SP ExecuteOperations: Failed execution phase Post First Boot. Error: 0x800707E7
2020-06-10 02:25:02, Error SP Operation execution failed.
2020-06-10 02:25:02, Error SP CSetupPlatformPrivate::Execute: Failed to deserialize/execute post-FirstBoot operations. Error: 0x800707E7
2020-06-10 02:25:02, Info Persisting diagnostics data to C:$WINDOWS.~BT\Sources\Diagnostics\diagnostics.dat
2020-06-10 02:25:02, Info Diagnostics data saved successfully
2020-06-10 02:25:02, Info SP Execution phase [Post SysPrep] exiting with HRESULT [0x800707E7]
2020-06-10 02:25:02, Info SP SETUPPLATFORMCOMM: Progress message received: Phase: First Boot, Operation: Migrate data, Percentage: 93%
2020-06-10 02:25:02, Info SP WINDEPLOY error code is 0x80071501. Will not attempt uninstall
2020-06-10 02:25:02, Info CBS Trusted Installer signaled for shutdown, going to exit.
2020-06-10 02:25:02, Info CBS Trusted Installer is shutting down because: SHUTDOWN_REASON_NOTIFICATION:PRESHUTDOWN
2020-06-10 02:25:02, Info CBS Ending the TrustedInstaller main loop.
2020-06-10 02:25:02, Info CBS Starting TrustedInstaller finalization.
2020-06-10 02:25:02, Info CBS Lock: Lock removed: WinlogonNotifyLock, level: 8, total lock:6
2020-06-10 02:25:02, Info CBS Ending TrustedInstaller finalization.
The first error occurs after C:\Users\krysl\「开始」菜单
I found that is a broken junction, it links to a folder that does not exist:
C:\Users\krysl>dir /A | grep JUNCTION
2019/05/04 周六 01:27 <JUNCTION> Application Data [C:\Users\XXXX\AppData\Roaming]
2019/05/04 周六 01:27 <JUNCTION> Cookies [C:\Users\XXXX\AppData\Local\Microsoft\Windows\INetCookies]
2019/05/04 周六 01:27 <JUNCTION> Local Settings [C:\Users\XXXX\AppData\Local]
2019/05/04 周六 01:27 <JUNCTION> My Documents [C:\Users\XXXX\Documents]
2019/05/04 周六 01:27 <JUNCTION> NetHood [C:\Users\XXXX\AppData\Roaming\Microsoft\Windows\Network Shortcuts]
2019/05/04 周六 01:27 <JUNCTION> PrintHood [C:\Users\XXXX\AppData\Roaming\Microsoft\Windows\Printer Shortcuts]
2019/05/04 周六 01:27 <JUNCTION> Recent [C:\Users\XXXX\AppData\Roaming\Microsoft\Windows\Recent]
2019/05/04 周六 01:27 <JUNCTION> SendTo [C:\Users\XXXX\AppData\Roaming\Microsoft\Windows\SendTo]
2019/05/04 周六 01:27 <JUNCTION> Start Menu [C:\Users\XXXX\AppData\Roaming\Microsoft\Windows\Start Menu]
2019/05/04 周六 01:27 <JUNCTION> Templates [C:\Users\XXXX\AppData\Roaming\Microsoft\Windows\Templates]
2018/10/05 周五 14:11 <JUNCTION> 「开始」菜单 [C:\Users\XXXX\AppData\Roaming\Microsoft\Windows\Start Menu]
XXXX in C:\Users\XXXX is the account nameI used before. years agoI changed my account name from "XXXX" to "krysl" using the method similar to the one mentioned in this article "How
to Change Your Account Name on Windows 10".
I use command line (find -type l -print0 | xargs -0 -IR ls -l R | grep XXXX) to find out all the broken junction, and fix them. (I should have written a script to automatically perform all those operations, but I wasted an hour and found no suitable
solution. Maybe someone can do this)
Fortunately, the number is not much.
Do the following for each broken junction:
rmdir "C:\Users\krysl\「开始」菜单"
mklink /j "C:\Users\krysl\「开始」菜单"
"C:\Users\krysl\AppData\Roaming\Microsoft\Windows\Start Menu"
After completing these, still can't upgrade win10 successfully.
I fix almost all "C:\Users\XXXX" to "C:\Users\krysl" in the Windows Registry. (I installed RegistryWorkshop to batch replace the values, because I can find hundreds of search results matching “Users\XXXX”.)
Then, I was able to successfully upgrade win10. (It is strongly recommended to use "Backup and Restore (Windows 7)" to back up the entire system before using these operations to avoid serious unrecoverable errors.)