Windows 11 Error Code 0xc0000098, windows\system32\winload.efi corrupted or missing

Dimitar Chalakov 0 Reputation points
2026-11-12T17:14:08.41+00:00

After doing a bios update that windows prompted for, I get this issue but only when trying to boot into the recovery environment, otherwise windows itself is working perfectly fine. I have tried to use an Installation Media USB driver, booting into it, however when I try to do the repair function rather than installing windows, it simply boots back into windows without showing the recovery options. I think it might be related to startup mainly, specifically for the recovery environment and I have tried to use the Startup Repair, of which I can't access.

Also, I would prefer not to use the setup file in the Installation Media driver despite it being a potential solution I spotted in a similar thread, as I suspect it will still delete a majority of my files, as I have reinstalled windows, selected to keep files, then it doesn't save them, this was on a different laptop. I will do it if nothing else works though

Update: I tried everything the AI helper said, the reagent stated

REAGENTC.EXE: Operation failed: d

REAGENTC.EXE: An error has occurred

I tried with different USBs and those didnt work

Windows for home | Windows 11 | Performance and system failures
0 comments No comments

1 answer

Sort by: Oldest
  1. AI answer

    2026-11-12T17:17:00.7933333+00:00

    Re-register Windows Recovery Environment from the working Windows installation first; this repairs WinRE’s configuration and boot entry without reinstalling Windows or deleting personal files.

    1. Re-register and test WinRE

    Back up important files and locate the BitLocker recovery key first if Device Encryption or BitLocker is enabled, because some recovery tools may request it.^1^

    1. Open Start, type cmd, right-click Command Prompt, and select Run as administrator.
    2. Run:
    reagentc /info
    reagentc /disable
    reagentc /enable
    reagentc /info
    

    The final output should show:

    • Windows RE status: Enabled
    • A populated Windows RE location

    REAgentC is Windows’ supported tool for configuring WinRE. When no custom image is specified, /enable attempts to use the default Winre.wim under C:\Windows\System32\Recovery.^2^

    1. Schedule a direct WinRE boot and restart:
    reagentc /boottore
    shutdown /r /t 0
    

    /boottore requests that WinRE start on the next reboot.^2^

    If this opens Choose an option, WinRE registration has been repaired. Since Startup Repair was already attempted and is inaccessible, there is no need to repeat it merely as a test.

    Re-registering WinRE repairs its configuration; it does not replace a missing or damaged winre.wim. If /enable reports that the recovery image was not found—or either command returns another error—record the complete command output before changing partitions or rebuilding the BCD.

    2. Distinguish the USB behavior

    You already tried Repair my PC from installation media. What happened immediately before it returned to Windows determines the next action:

    • If the Windows Setup language/keyboard screen never appeared: the computer probably did not start from the USB. Restart into the manufacturer’s one-time UEFI boot menu, explicitly select the USB’s UEFI entry, then choose Next → Repair my PC. Microsoft notes that failure to reach Setup means the boot order may need changing.^1^
    • If Setup appeared and Repair my PC still returned to installed Windows: do not keep repeating that route. Re-create the installation media on another USB if possible and test it again. If the second medium behaves identically, proceed to the in-place repair below rather than altering the EFI or recovery partitions without a confirmed diagnosis.

    Do not use bootrec or erase/rebuild the EFI partition while normal Windows starts correctly. Those operations target the main boot configuration and introduce unnecessary risk in this case.

    3. Data-preserving fallback: in-place repair

    If WinRE cannot be re-enabled because its image is missing or damaged, run an in-place repair from the working Windows desktop:

    1. Back up irreplaceable data.
    2. Sign in to Windows normally.
    3. Insert the Windows 11 installation USB.
    4. Open the USB in File Explorer and run setup.exe.
    5. Select Change what to keep.
    6. Verify that Keep personal files and apps is selected before choosing Install.

    That specific option preserves personal data, installed applications, and settings. It is different from booting from the USB and performing a clean installation, which removes files, applications, and settings.^3^

    If Keep personal files and apps is unavailable, cancel Setup rather than proceeding. Common compatibility details such as edition, language, and installation version then need to be checked before retrying.

    Avoid partition resizing unless this exact condition exists

    Do not delete or resize the recovery partition merely because WinRE fails. Microsoft’s documented resize procedure applies when System Event ID 4502 reports “Windows Recovery Environment servicing failed” with ErrorPhase 2 and the recovery partition follows the OS partition.^4^ Without those conditions, that destructive procedure is not established as applicable.


    References

    1. Windows recovery environment | Microsoft Support
    2. REAgentC command-line options
    3. Reinstall Windows with the installation media | Microsoft Support
    4. KB5028997: Instructions to manually resize your partition to install the WinRE update | Microsoft Support
    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

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.