Windows 11 23H2 installation fails

Anonymous
2023-11-09T20:12:14+00:00

I have been trying, unsuccessfully, to update my Lenovo Thinkpad T490 to Windows 11. Last resort before going to some kind of paid solution is to throw this out to the community. Here's a summary of what I have tried already.

Windows has been not-so-gently nagging me to upgrade from Windows 10 to Windows 11 for at least 18 months and assures me that my computer can run it. There is about 32 GB free space on the hard drive. Drivers are up to date.

When I use the Update function from the Settings the update downloads and I am prompted to reboot. During the reboot, I can see the screen indicating the progress of the installation, but in the end the system is still in Windows 10. The message below is displayed in the Windows Update screen "There were some problems installing updates, but we’ll try again later. If you keep seeing this and want to search the web or contact support for information, this may help: (0x8007001f)"

When I use the Windows 11 Installation Assistant the update also downloads successfully, but the computer still boots back into Windows 10. The only difference is that the message in the Windows Update page in settings now references the code 0xc00000f0.

Similarly, if I use the media creation tool to create a .ISO file, the update downloads, but the installation still fails.

I have also tried updating from a clean reboot, removing the laptop from the docking station to ensure that no external devices (other than Logitech wireless mouse and keyboard) are connected, and uninstalled the McAfee antivirus program that my ISP provides.

I have also tried all of the suggested fixes and scans from this YouTube video: https://www.youtube.com/watch?v=1Pz52tUWNPU.

I'm out of ideas. If anyone can suggest further steps, I'd love to hear them.

Windows for home | Windows 11 | Windows update

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
Answer accepted by question author
Ramesh 181.6K Reputation points Volunteer Moderator
2023-11-25T19:06:44+00:00

There are a lot of unwanted/invalid profiles. Download and run del_unwanted_profiles.reg. Click Yes to confirm.

(As you've already backed up the key to "Profilebad.hive", go ahead and run the above registry fix without any hesitation.)

Re-run the Windows setup now.

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments

77 additional answers

Sort by: Most helpful
  1. Anonymous
    2023-11-23T21:44:52+00:00

    The attached text file shows output of wmic useraccount getname, SID.

    Also successfully ran

    reg delete "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\S-1-5-21-3500363459-521735857-517695297-1017" /f.

    Will await further comment before trying Windows 11 update.

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2023-11-23T20:48:11+00:00

    The screen shot link was not seen in the prior post.

    Post a new: wmic useraccount get name,SID

    Run:

    HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\S-1-5-21-3500363459-521735857-517695297-1017" /f

    2023-11-23 11:19:59, Info [0x0803b8] MIG Processing profile: C:\Users\ninjauser

    2023-11-23 11:19:59, Warning MIG LookupAccountSidW failed. Error: 0x00000534[gle=0x00000534]

    2023-11-23 11:19:59, Warning [0x0803ba] MIG Found valid profile but can't get user credentials. User SID: S-1-5-21-3500363459-521735857-517695297-1017. Error: 0x00000534[gle=0x000000cb]

    2023-11-23 11:19:59, Warning MIG Duplicate profile detected for user S-1-5-21-3500363459-521735857-517695297-1017(C:\Users\ninjauser) vs. S-1-5-21-3500363459-521735857-517695297-1002(C:\Users\ninjauser).

    2023-11-23 11:19:59, Info MIG AdjustPrivilege: Privilege SeCreateSymbolicLinkPrivilege will be Disabled

    2023-11-23 11:19:59, Info MIG Privilege has been disabled

    2023-11-23 11:19:59, Info MIG AdjustPrivilege: Privilege SeDebugPrivilege will be Disabled

    2023-11-23 11:19:59, Info MIG Privilege has been disabled

    2023-11-23 11:19:59, Info MIG AdjustPrivilege: Privilege SeTakeOwnershipPrivilege will be Disabled

    2023-11-23 11:19:59, Info MIG Privilege has been disabled

    2023-11-23 11:19:59, Info MIG AdjustPrivilege: Privilege SeSecurityPrivilege will be Disabled

    2023-11-23 11:19:59, Info MIG Privilege has been disabled

    2023-11-23 11:19:59, Error MigPlatformStartupOnline caught exception: Win32Exception: Duplicate profile detected for S-1-5-21-3500363459-521735857-517695297-1017. 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 *)

    2023-11-23 11:19:59, Info Leaving MigPlatformStartupOnline method

    2023-11-23 11:19:59, Info Leaving MigStartupOnline method

    2023-11-23 11:19:59, Error SP pSPDoMainGather: Engine initialization failed with error: 0x00000004

    2023-11-23 11:19:59, Info SP SPExecuteGather: End run. Result: 0x00000004

    2023-11-23 11:19:59, Error SP CGatherData: Migration phase failed. Status: 4

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2023-11-23T16:51:14+00:00

    I ran reg delete "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\S-1-5-21-3500363459-521735857-517695297-1015" /f, which completed successfully.

    Attempted Windows 11 update as previously: from ISO file on USB stick, clean boot environment, no internet and Bitlocker turned off. Installation failed.

    Here are the V2 logs and Update failure info.

    With regard to the many duplicate users, here is a screenshot of my C:/users folder. There are 34 folders titled "ninjauser.LAPTOP-77BR5948.x." Do we need all of these and is there are way to determine and delete the non-essential profiles?

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2023-11-23T08:34:22+00:00

    @Ramesh Srinivasan

    The collected logs reported migration problems (user profiles).

    Any thoughts on a faster method to troubleshoot?

    Win32Exception: Duplicate profile detected for S-1-5-21-3500363459-521735857-517695297-1015. Abandoning.: The specified user does not have a valid profile.

    reg delete "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\S-1-5-21-3500363459-521735857-517695297-1015" /f

    2023-11-21 15:51:00, Info [0x0803b8] MIG Processing profile: C:\Users\ninjauser

    2023-11-21 15:51:00, Warning MIG LookupAccountSidW failed. Error: 0x00000534[gle=0x00000534]

    2023-11-21 15:51:00, Warning [0x0803ba] MIG Found valid profile but can't get user credentials. User SID: S-1-5-21-3500363459-521735857-517695297-1039. Error: 0x00000534[gle=0x000000cb]

    2023-11-21 15:51:00, Warning MIG Duplicate profile detected for user S-1-5-21-3500363459-521735857-517695297-1039(C:\Users\ninjauser) vs. S-1-5-21-3500363459-521735857-517695297-1032(C:\Users\ninjauser).

    2023-11-21 15:51:00, Info MIG Duplicate profile detected for S-1-5-21-3500363459-521735857-517695297-1039. Continuing due to environment variable override.

    2023-11-21 15:51:00, Info [0x0803b8] MIG Processing profile: C:\Users\ninjauser

    2023-11-21 15:51:00, Warning MIG LookupAccountSidW failed. Error: 0x00000534[gle=0x00000534]

    2023-11-21 15:51:00, Warning [0x0803ba] MIG Found valid profile but can't get user credentials. User SID: S-1-5-21-3500363459-521735857-517695297-1037. Error: 0x00000534[gle=0x000000cb]

    2023-11-21 15:51:00, Warning MIG Duplicate profile detected for user S-1-5-21-3500363459-521735857-517695297-1037(C:\Users\ninjauser) vs. S-1-5-21-3500363459-521735857-517695297-1032(C:\Users\ninjauser).

    2023-11-21 15:51:00, Info MIG Duplicate profile detected for S-1-5-21-3500363459-521735857-517695297-1037. Continuing due to environment variable override.

    2023-11-21 15:51:00, Info [0x0803b8] MIG Processing profile: C:\Users\ninjauser

    2023-11-21 15:51:00, Warning MIG LookupAccountSidW failed. Error: 0x00000534[gle=0x00000534]

    2023-11-21 15:51:00, Warning [0x0803ba] MIG Found valid profile but can't get user credentials. User SID: S-1-5-21-3500363459-521735857-517695297-1035. Error: 0x00000534[gle=0x000000cb]

    2023-11-21 15:51:00, Warning MIG Duplicate profile detected for user S-1-5-21-3500363459-521735857-517695297-1035(C:\Users\ninjauser) vs. S-1-5-21-3500363459-521735857-517695297-1032(C:\Users\ninjauser).

    2023-11-21 15:51:00, Info MIG Duplicate profile detected for S-1-5-21-3500363459-521735857-517695297-1035. Continuing due to environment variable override.

    2023-11-21 15:51:00, Info [0x0803b8] MIG Processing profile: C:\Users\ninjauser

    2023-11-21 15:51:00, Warning MIG LookupAccountSidW failed. Error: 0x00000534[gle=0x00000534]

    2023-11-21 15:51:00, Warning [0x0803ba] MIG Found valid profile but can't get user credentials. User SID: S-1-5-21-3500363459-521735857-517695297-1032. Error: 0x00000534[gle=0x000000cb]

    2023-11-21 15:51:00, Warning MIG Duplicate profile detected for user S-1-5-21-3500363459-521735857-517695297-1032(C:\Users\ninjauser) vs. S-1-5-21-3500363459-521735857-517695297-1021(C:\Users\ninjauser).

    2023-11-21 15:51:00, Info MIG Duplicate profile detected for S-1-5-21-3500363459-521735857-517695297-1032. Continuing due to environment variable override.

    Was this answer helpful?

    0 comments No comments