• 135371

    文章

  • 827

    评论

  • 13

    友链

  • 最近新加了换肤功能,大家多来逛逛吧~~~~
  • 喜欢这个网站的朋友可以加一下QQ群,我们一起交流技术。

解决Win10 2004升级失败: 0x800707E7 - 0x3000D 在 MIGRATE_DATA 操作过程中的 FIRST_BOOT 阶段,安装失败,出现错误

2年想跳槽阿里,大咖揭秘大厂面试的那些事儿 >>
 
 
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 username I used before. I changed 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 succeed upgrade win10.  
 
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.)
 
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.)
 

 
 
 
 
 
 

695856371Web网页设计师②群 | 喜欢本站的朋友可以收藏本站,或者加入我们大家一起来交流技术!

1条评论

Loading...
  • shenma1004L

    你好,我跟你的问题一样,但是你这个英文看不太懂,请问一下具体要怎么解决,谢谢



发表评论

电子邮件地址不会被公开。 必填项已用*标注

自定义皮肤 主体内容背景
打开支付宝扫码付款购买视频教程
遇到问题联系客服QQ:419400980
注册梁钟霖个人博客