[SOLVED] Windows 10 to 11 upgrade fails with error 0x8007001f

psebes

Member
Joined
Mar 26, 2023
Posts
8
Hello,

I have been trying to upgrade my Windows 10 Pro system to Windows 11 with no success. I have tried many things including disabling non-Windows services with msconfig, unplugging all peripherals, creating a new admin user and try the update with that, etc. The errors in setuperr.log are these:

  • 2023-03-26 12:22:30, Error [0x08085f] MIG MigHost: CMigPluginSurrogate::LoadAndRegisterServerInThreadContext: LoadLibraryExW(C:\$WINDOWS.~BT\Sources\ReplacementManifests\Microsoft-Windows-RasServer-MigPlugin\RasMigPlugin.dll, LOAD_WITH_ALTERED_SEARCH_PATH) failed gle=0x7f.[gle=0x0000007f]
  • 2023-03-26 12:22:30, Error [0x080863] MIG MigHost: CMigPluginSurrogate::COMGenericThreadingHostThreadProc: LoadAndRegisterServerInThreadContext() failed hr=0x8007007f.[gle=0x0000007f]
I have run out of ideas. I have followed the Windows Update Forum Posting Instructions and I have attached all the logs. I appreciate your help in advance.

Thank you
 

Attachments

Hi and welcome to Sysnative,

Download and run SetupDiag from Microsoft
  • Download
    60e45c659164d-SetupDiag.png
    SetupDiag to your desktop.
  • Right-click on SetupDiag.exe and select Run as administrator.
  • When completed the following files are created: "Logs.zip, SetupDiag.exe.config and SetupDiagResults.log"
  • Attach SetupDiagResults.log and Logs.zip to your next reply.
 
Please provide the following logs as well as the logs of FRST.

C:\$Windows.~BT\Sources\Panther\Setuperr.log
C:\$Windows.~BT\Sources\Panther\Setupact.log

Download the
577bf0efb8088-FRST.png
Farbar Recovery Scan Tool and save it to your Desktop:

Download the 64 bit version: - Farbar Recovery Scan Tool Link
  • Note: Your antivirus program may report FRST incorrectly as an infection. If so, disable the real-time protection when downloading and running FRST.
  • Right-click to run the tool as administrator. When the tool opens click Yes to disclaimer.
  • Note: Ensure that the List BCD check box is checked at the bottom of the form within the Optional Scan area.
    637796067a7b1-list-bcd.png
  • Press the Scan button.
  • Please wait for the tool to finish. It will produce two logfiles called FRST.txt and Addition.txt in the same directory the tool is run from (which should be the desktop)
  • Post the logfiles FRST.txt and Addition.txt as attachment in your next reply.
 
Rich (BB code):
2023-03-26 12:28:44, Error                                MigPlatformStartupOnline caught exception: Win32Exception: Duplicate profile detected for S-1-5-21-2901473977-3209516937-1378240908-1002. Abandoning.: The specified user does not have a valid profile. [0x000004E5] class Mig::CUserContext *__cdecl Mig::COnlineWinNTPlatform::AddUserContext(class Mig::CRegistryDataStore *,class UnBCL::String *,class UnBCL::String *,class UnBCL::String *,class UnBCL::String *,class UnBCL::String *,class UnBCL::Array<class UnBCL::String *> *,int,struct _FILETIME,int,int,int,class UnBCL::String *,class UnBCL::String *)

In the FRST log I noticed the following accounts: (backup-admin & testadmin)? have you previously had problems with some accounts on this system?

Open an elevated command prompt, run the following command and attach ProfileList.txt to your next post.
Code:
reg query "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList" /s > "%userprofile%\desktop\ProfileList.txt"
 
I didn't have issues with the accounts. I created testadmin to try a new admin account to do the upgrade with but it resulted in the same error. I don't remember why I have backup-admin.
 

Attachments

Rich (BB code):
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\S-1-5-21-2901473977-3209516937-1378240908-1001
    ProfileImagePath    REG_EXPAND_SZ    C:\Users\Home-HP

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\S-1-5-21-2901473977-3209516937-1378240908-1002
    ProfileImagePath    REG_EXPAND_SZ    C:\Users\Home-HP

Rich (BB code):
Home HP (S-1-5-21-2901473977-3209516937-1378240908-1001 - Administrator - Enabled) => C:\Users\Home-HP

It seems the Home-HP account is the issue, could you please provide an export of the following key as well.
Code:
reg query "HKEY_USERS" > "%userprofile%\desktop\ProfileList.txt"
 
I think so too, I would suggest to make a backup of this system first, and then perform the following. This script will remove the duplicate account and force a restart.

Download the
577bf0efb8088-FRST.png
Farbar Recovery Scan Tool and save it to your Desktop:

Download the 64 bit version: - Farbar Recovery Scan Tool Link

Warning: This script was written specifically for this system. Do not run this script on another system.

  • Download the attachment fixlist.txt and save it to your desktop.
  • Right-click on FRST.exe and select "Run as administrator".
  • Press the Fix button.
  • If for some reason the tool needs a restart, please make sure you let the system restart normally.
  • When finished, a log called Fixlog.txt will appear in the same directory the tool is run from.
  • Post the logfile Fixlog.txt as attachment in your next reply.

After the reboot attempt to update and let me know the result.
 

Attachments

After deleting the duplicate account I was able to run the update without issues. Thanks again for your help, I really appreciate it.

Regards
 
Hi,

You're welcome. Glad to hear the upgrade was succesful this time... (y)
I'll mark this thread as solved.
 

Has Sysnative Forums helped you? Please consider donating to help us support the site!

Back
Top