Fix boot error 0xc0000098

0xc0000098 is STATUS_FILE_INVALID. The boot screen usually adds 'Windows failed to load because a critical system driver is missing or corrupt' and names the file. Write that file name down, run Startup Repair from Windows installation media, then run chkdsk on the Windows drive. If the same file is named again, repair or replace it with an offline sfc scan.

Checked November 10, 2026 against the manufacturer's own pages.

The short version

What to install and where it comes from. Every link goes to the manufacturer or Microsoft, never to a copy.

Code0xc0000098
Official nameSTATUS_FILE_INVALID: The volume for a file has been externally altered such that the opened file is no longer valid.
Typical screen textFile: a .sys driver path, Info: Windows failed to load because a critical system driver is missing or corrupt.
Cause Microsoft describesA boot binary that is damaged or comes from a different version of Windows
Windows versionsWindows 11, Windows 10 and Windows Server
Microsoft Learn: NTSTATUS values (0xC0000098 STATUS_FILE_INVALID)learn.microsoft.comMicrosoft Learn: Windows boot error 0xc0000098learn.microsoft.comMicrosoft Learn: Windows startup issues troubleshootinglearn.microsoft.com

Official files only, nothing bundled

Step by step

  1. Photograph the File line

    The Windows Boot Manager screen shows a File path ending in .sys next to Status: 0xc0000098. The file name tells you which driver to look at, so keep it before you press any key.

  2. Run Startup Repair

    Start the PC from a Windows 11 USB created on a working computer. Select Next, Repair your computer, Troubleshoot, Advanced options, Startup Repair, then restart and see if the screen changes.

  3. Check the Windows drive with chkdsk

    From Advanced options open Command Prompt. Run chkdsk followed by the Windows drive letter and /f. Microsoft lists chkdsk as the repair for a corrupt binary file in this error.

  4. Repair system files offline

    In the same Command Prompt run SFC /Scannow /OffBootDir=C:\ /OffWinDir=C:\Windows, changing C to the letter that holds the Windows folder in recovery. This replaces damaged Windows files from the component store.

  5. Remove the last update if a Microsoft driver is named

    If the file belongs to Windows itself and the error began after an update, choose Troubleshoot, Advanced options, Uninstall updates and remove the latest quality update.

  6. Deal with a third-party driver

    If the file belongs to antivirus, disk encryption, RAID or another add-on, use System Restore from Advanced options to return to a point before it was installed or updated. Then get a current version from its maker.

What STATUS_FILE_INVALID points to

The formal NTSTATUS text for 0xc0000098 talks about a volume that was changed from outside so an open file is no longer valid. On a boot screen the wording is simpler: a critical system driver is missing or corrupt. Microsoft’s troubleshooting article for this code shows the message with a File line naming the binary. It gives the cause as a binary that comes from a different version of Windows than the system itself.

That cause explains the usual triggers. An update that only half applied, a restored backup that mixed old and new files, or an add-on driver built for another release can all leave one boot driver that does not fit.

Replacing a single damaged driver by hand

Microsoft’s article describes a manual route for when sfc cannot fix the file. Rename the named file from name.sys to name.sys.old. Search the \Windows\WinSxS folder with dir name.sys /s. Then copy the newest matching version into \Windows\System32\Drivers. If that version still fails, Microsoft suggests trying the previous one. Use takeown if Windows will not let you rename the file. Do this only for Windows’ own drivers and only with copies from the same PC’s WinSxS folder.

When the named file is not part of Windows

Security suites, encryption tools and storage controllers install drivers that load at boot. If one of those is the named file, repairing Windows files will not touch it. System Restore is the cleanest way back, since it removes the driver change with everything else from that point. Afterward, reinstall the product from its maker using a version that supports your Windows 11 or Windows 10 release.

Questions

Which file does 0xc0000098 usually name?

It names whichever boot-start driver failed to load, so it varies from PC to PC. The path is usually under Windows, System32, drivers. Searching that exact file name tells you whether it is part of Windows or an add-on.

Can I copy the file from another computer?

Microsoft's procedure allows that only if the other system runs the same Windows version and, ideally, the same update level. Its own article blames this error on a binary from a different Windows version, so a mismatched copy can cause the very problem.

Does STATUS_FILE_INVALID mean my drive is failing?

Not always. A cut-off update or a bad driver install can leave one file damaged on a healthy drive. If chkdsk finds bad sectors, though, back up your data and test the drive.