Share via

Windows 11 23H2 → 25H2 upgrade fails with 0xC1900101-0x40017 during SECOND_BOOT

Mario Kermiet 20 Reputation points
2026-06-17T17:02:23.7833333+00:00

Windows 11 Pro 23H2 cannot be upgraded to Windows 11 25H2.

The upgrade consistently fails with:

0xC1900101-0x40017

"The installation failed in the SECOND_BOOT phase with an error during BOOT operation."

The installation reaches approximately 75%, reboots, attempts to start the new version and then rolls back to Windows 11 23H2.

The same failure occurs:

  • through Windows Update
  • through the official Microsoft 25H2 ISO using setup.exe and "Keep personal files and apps"

Troubleshooting already performed:

  • SFC completed successfully
  • DISM RestoreHealth completed successfully
  • UEFI enabled
  • Secure Boot enabled
  • No unknown devices in Device Manager

Removed for testing:

  • ESET
  • Check Point Endpoint Security VPN
  • Creative Sound Blaster software
  • MSI Center

The error remained unchanged.

Storage configuration:

  • System drive contains EFI, Windows and Recovery partitions on the same SSD
  • Additional SSDs are present but not used for booting
  • No Intel Rapid Storage Technology (RST) installed

Logs reviewed:

  • Panther logs
  • Rollback logs
  • setupact.log
  • setuperr.log
  • WinSetupMon.log
  • diagwrn.xml
  • MigLog.xml

Notable findings:

  • Winsock migration related warnings
  • Monitoring driver installation failures (0x80070005)
  • Multiple migration/rollback warnings
  • No specific third-party driver identified as the cause

Has anyone seen this exact upgrade failure or identified the root cause of 0xC1900101-0x40017 during SECOND_BOOT?Windows 11 Pro 23H2 cannot be upgraded to Windows 11 25H2.

The upgrade consistently fails with:

0xC1900101-0x40017

"The installation failed in the SECOND_BOOT phase with an error during BOOT operation."

The installation reaches approximately 75%, reboots, attempts to start the new version and then rolls back to Windows 11 23H2.

The same failure occurs:

  • through Windows Update
  • through the official Microsoft 25H2 ISO using setup.exe and "Keep personal files and apps"

Troubleshooting already performed:

  • SFC completed successfully
  • DISM RestoreHealth completed successfully
  • UEFI enabled
  • Secure Boot enabled
  • No unknown devices in Device Manager

Removed for testing:

  • ESET
  • Check Point Endpoint Security VPN
  • Creative Sound Blaster software
  • MSI Center

The error remained unchanged.

Storage configuration:

  • System drive contains EFI, Windows and Recovery partitions on the same SSD
  • Additional SSDs are present but not used for booting
  • No Intel Rapid Storage Technology (RST) installed

Logs reviewed:

  • Panther logs
  • Rollback logs
  • setupact.log
  • setuperr.log
  • WinSetupMon.log
  • diagwrn.xml
  • MigLog.xml

Notable findings:

  • Winsock migration related warnings
  • Monitoring driver installation failures (0x80070005)
  • Multiple migration/rollback warnings
  • No specific third-party driver identified as the cause

Has anyone seen this exact upgrade failure or identified the root cause of 0xC1900101-0x40017 during SECOND_BOOT? <PII removed>

Windows for home | Windows 11 | Windows update

Answer accepted by question author

Carl-L 16,585 Reputation points Microsoft External Staff Moderator
2026-06-18T07:14:36.65+00:00

Hello Mario Kermiet,

Welcome to Microsoft Q&A forum.

Before we proceed further, I'd like to do a few simple tests to better understand the situation.

  • Type "PowerShell" in the search bar and select "Run as administrator"
  • Type netsh winsock show catalog > winsock.txt and press Enter.
  • Type pnputil /enum-drivers > drivers.txt and press Enter.
  • Read the files and let me know the if there are any leftover non-Microsoft drivers.

I'm waiting for your reply.

Was this answer helpful?

2 people found this answer helpful.
0 comments No comments

5 additional answers

Sort by: Most helpful
  1. Ramesh 176.8K Reputation points Volunteer Moderator
    2026-06-21T11:57:24.7633333+00:00

    @Mario Kermiet

    Please run the fixlist below.

    • Download fixlist.txt
    • Save Fixlist.txt to the same folder as FRST64English.exe.
    • Close all programs.
    • Launch the Farbar Scanner tool and click "Fix".
    • Restart Windows if prompted.
    • Upload the output log file (FixLog.txt) in your next reply.

    NOTE: The fixlist.txt script was written specifically for this user and for use on that particular machine. It is not recommended to run it on another machine, and don't run the same fixlist.txt more than once.

    The fixlist removes some old drivers, runs a drivers assessment, and refreshes the compatibility assessment.


    Was this answer helpful?


  2. WK123456 9,990 Reputation points
    2026-06-20T22:31:39.7433333+00:00

    I think it's better to diagnose the errors occurring during the upgrade using the SetupDiag tool. Download the latest version of SetupDiag from this site: https://learn.microsoft.com/en-us/windows/deployment/upgrade/setupdiag

    By default, the tool is saved in your Downloads folder.

    Now, open a PowerShell as Administrator again. Enter and run the following commands one by one:

    cd %USERPROFILE%\Downloads

    SetupDiag.exe

    The diagnostic results will be saved in the same folder where the SetupDiag tool is located. Upload the result log to OneDrive, share it, and include the sharing link in your reply. This will allow us to see which errors occurred during the upgrade.

    You can, of course, also examine the log yourself. When SetupDiag indicates that there were multiple failures, the last failure in the log file is typically the fatal error, not the first one.

    Was this answer helpful?


  3. Mario Kermiet 20 Reputation points
    2026-06-20T20:12:39.9966667+00:00

    I removed oem7.inf, oem52.inf and oem53.inf as instructed. The upgrade still fails at 75% with the same error 0xC1900101-0x40017 during SECOND_BOOT. In the new setupact.log I noticed:

    • Failed to copy WinSetupMon.sys (0x80070005)
    • Failed to install monitoring filter driver
    • Winsock migration messages

    Could these entries indicate the actual root cause?

    Was this answer helpful?


  4. WK123456 9,990 Reputation points
    2026-06-20T15:19:57.5633333+00:00

    The In-Place-Upgrade is being blocked by several drivers. Please run the following commands one by one in a PowerShell (run as administrator):

    pnputil /delete-driver oem7.inf -f

    pnputil /delete-driver oem52.inf -f

    pnputil /delete-driver oem53.inf -f

    By referring to your list of drivers you can see which drivers are being deleted.

    Restart your computer after deleting the drivers and try the upgrade again.

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.