The windows boot configuration data file does not contain a valid os entry

Get the fix to the 0xc0000098: The Windows Boot Configuration Data file does not contain a valid OS entry boot error message affecting Windows Vista, Windows 7, Windows 8, Windows 8.1 and Windows 10.

About the “0xc0000098” error

The following information on this error has been compiled by NeoSmart Technologies, based on the information gathered and reported by our global network of engineers, developers, and technicians or partner organizations.

Description and Symptoms

The error messages, alerts, warnings, and symptoms below are tied to this error.

Symptom 1: 0xc0000098 error screen on startup

As a part of the system startup procedure, the BOOTMGR bootloader introduced in Windows Vista and subsequently used in Windows 7, Windows 8(.1), and Windows 10 uses a database of entries and configuration options known as the BCD1, which acts as a global store for all boot-related options and settings on newer Windows PCs. However, if the BCD file has no operating system entries, then the following error message will appear:

The 0xc0000098 Error Screen

Windows failed to start. A recent hardware or software change might be the
cause. To fix the problem:

  1. Insert your Windows installation disc and restart your computer.
  2. Choose your language settings, and then click "Next."
  3. Click "Repair your computer."
  
If you do not have this disc, contact your system administrator or computer
manufacturer for assistance.

  File: \Boot\BCD
  
  Status: 0xc0000098
  
  Info: The Windows Boot Configuration Data file does not contain a valid
        OS entry.

On newer Windows systems, the error screen looks a little different:

VirtualBox_W10_new_15_07_2016_12_54_38

Recovery

Your PC/Device needs to be repaired

The Boot Configuration Data file doesn't contain valid information for an operating system.

File: \Boot\BCD
Error code: 0xc0000098

You'll need to use recovery tools. If you don't have any installation media(like a disc or USB device), contact your PC administrator or PC/Device manufacturer.

A device driver that’s incompatible with your Windows system can cause this error too. In this kind of example, the error text can mention a specific file at the File row:

Windows failed to start. A recent hardware or software change might be the
cause. To fix the problem:

  1. Insert your Windows installation disc and restart your computer.
  2. Choose your language settings, and then click "Next."
  3. Click "Repair your computer."
  
If you do not have this disc, contact your system administrator or computer
manufacturer for assistance.

  File: \Windows\System32\Drivers\aswVmm.sys
  
  Status: 0xc0000098
  
  Info: Windows failed to load because a critical system driver
        is missing, or corrupt.

Causes of this Error

This error has been known to occur as a result of one or more of the following:

Cause 1: BCD has no OS entries

One of the most common causes of this error is the BCD that has no entries in it. That could happen because of disk write errors, power outages, boot sector viruses, or errors made while configuring the BCD manually.

Cause 2: An incompatible hard drive driver is installed

Another possible cause of this error is a device driver that is incompatible with the current hard drive. That could occur after a system update, or a service pack installation.

Fixing “0xc0000098” on Windows

Windows Setup CD/DVD Required!
Some of the solutions below require the use of the Microsoft Windows setup CD or DVD. If your PC did not come with a Windows installation disc or if you no longer have your Windows setup media, you can use Easy Recovery Essentials for Windows instead. EasyRE will automatically find and fix many problems, and can also be used to solve this problem with the directions below.

Fix #1: Rebuild BCD via Easy Recovery Essentials

Easy Recovery Essentials’ one-click automated system repair feature incorporates full repair and reconstruction of the BCD to resolve the “0xc0000098” error, even in cases where Windows won’t boot as a result of the error.

Easy Recovery Essentials is guaranteed to fix the “0xc0000098” error automatically using its built-in Automated Repair option. EasyRE is currently available for Windows XP, Vista, 7, 8, Windows 10, and Windows 11 and can be downloaded and created on any PC.

  1. Download Easy Recovery Essentials. Make sure to note your Windows version (XP, Vista, 7, 8, 10, or Windows 11) before you download EasyRE. This guide can help you identify what version of Windows you have installed.
  2. Burn the image. Follow these instructions on how to burn the bootable ISO image very carefully, as making a bootable CD can be tricky! Alternatively, these instructions explain how to create a bootable EasyRE recovery USB stick/drive.
  3. Boot up your PC from the Easy Recovery Essentials CD or USB you created.
  4. Once EasyRE is running, choose the “Automated Repair” option and click Continue.

    EasyRE Home

    Choose “Automated Repair” in Easy Recovery Essentials

  5. After EasyRE scans your computer’s drives, identify and select the drive letter for your Windows installation from the list, and then click on the Automated Repair button to begin.

    EasyRE displays a list of found Windows operating systems

    Choose the drive associated with the Windows installation you’re trying to repair.

  6. Easy Recovery Essentials will start analyzing the selected drive for problems. EasyRE will test for and attempt to automatically correct errors with the disk, partition, bootsector, filesystem, bootloader, and registry. No intervention is required, as EasyRE’s repair is fully automated:

    EasyRE: Automated Repair

    Easy Recovery Essentials searches for errors and makes corrections to the selected Windows installation.

  7. Once the process is complete, EasyRE will report its findings. Click on the Restart button to reboot your PC and test the changes.
  8. The “0xc0000098” error should now be fixed as your PC begins to load:
    EasyRE: Automated Repair

You can download Easy Recovery Essentials from here.

Fix #2: Run Startup Repair

On Windows Vista, Windows 7, Windows 8 and Windows 8.1, Startup Repair can be used to scan the system for damaged or missing system files to replace the BCD file if it has no entries.

Windows Setup CD/DVD Required!
Some of the solutions below require the use of the Microsoft Windows setup CD or DVD. If your PC did not come with a Windows installation disc or if you no longer have your Windows setup media, you can use Easy Recovery Essentials for Windows instead. EasyRE will automatically find and fix many problems, and can also be used to solve this problem with the directions below.

Startup Repair is an automated diagnosis and repair tool that is available from the Windows setup disc and can be used to find and repair some common problems. More information about how Startup Repair operates and what it does can be found in our knowledgebase. The following steps will initiate Startup Repair from the Windows setup disc:

Unable to boot into the Windows setup CD?
See our guide on setting up a PC to boot from the CD or DVD for troubleshooting and more detailed instructions.

  1. Insert your Windows installation DVD into your PC’s CD-ROM drive,
  2. Fully power down your PC, and make sure it has fully shut off,
  3. Power up your PC,
  4. Press any key when you see “Press any key to boot from CD or DVD..”
  5. Click the link titled “Repair your computer” in the bottom-lefthand corner, after first selecting your language and keyboard options.
  6. Wait for Startup Repair to scan your PC for Windows installations, then select your install from the list it shows:
  7. Choose “Startup Repair” from the list of available recovery options to begin:
  8. Startup Repair will begin scanning your installation for known issues and will attempt a repair, if possible.

Here is an example of what the PC’s startup repair should look like once the BCD file is properly restored:

Missing BCD file restored by Startup Repair

Empty BCD file restored by Startup Repair

Fix #3: Rebuild the BCD manually

Since the boot error is often caused by an empty BCD file, rebuilding it is often a good solution.

Here are the steps to rebuild the BCD:

  1. Boot from the Windows install disc
  2. Click on Repair your computer after selecting proper language, time and keyboard input.
  3. Select the Windows installation drive, which is usually C:\, and click Next
  4. Choose Command Prompt when the System Recovery Options box appears
  5. Write the following command and press Enter afterwards:
    bootrec /rebuildbcd
  6. If the program finds a Windows installation and asks whether it should add it to the boot list, press Y

Here is an example screenshot of what the PC’s console output should look like once Bootrec is done rebuilding the BCD.

Bootrec utility results screen

Bootrec utility results screen

Fix #4: Run sfc utility

On Windows Vista and Windows 7, it is possible to use the built-in Windows SFC(system file checker) tool to automatically scan a computer’s system files and repair them if necessary.

Here are the steps to run SFC:

  1. Boot from your Windows install disc
  2. Click on Repair your computer after selecting proper language, time and keyboard input.
  3. Select the Windows installation drive, which is usually C:\, and click Next
  4. Choose Command Prompt when the System Recovery Options box appears
  5. Write the following command and press Enter afterwards:
    sfc /scannow /offbootdir=D:\ /offwindir=D:\Windows\

    Replace D: with the letter of the driver where Windows is installed, and D:\Windows with the Windows folder location.

Here is an example of what the PC’s console output should look like once the sfc.exe scan is complete and missing files are successfully restored:

System files restored by the SFC utility

System files restored by the SFC utility

Fix #5: Check your disk with CHKDSK utility

If the hard drive has its file integrity compromised, it is possible to use built-in Windows CHKDSK utility to scan the disk and fix the file system errors.

Here are the steps to run CHKDSK:

  1. Boot from your Windows install disc
  2. Click on Repair your computer after selecting proper language, time and keyboard input.
  3. Select the Windows installation drive, which is usually C:\, and click Next
  4. Choose Command Prompt when the System Recovery Options box appears
  5. Write the following command and press Enter afterwards:
    chkdsk C: /f

    Replace C: with the letter of the driver where Windows is installed.

Here is an example of what the PC’s console output should look like once the chkdsk.exe is complete:

Chkdsk utility results screen

Chkdsk utility results screen

More Information

Linked Entries

  • bootcfg
  • bootrec
  • chkdsk
  • sfc
  • Fix MBR

Support Links

  • Easy Recovery Essentials for Windows – our repair and recovery disk.

    It’s an easy-to-use and automated diagnostics disk. It’s available for Windows 8, Windows 7 and Windows Vista. It’s also available for Windows XP and Windows Server.

    Read more at Windows Recovery Disks.

  • The NeoSmart Support Forums, member-to-member technical support and troubleshooting.
  • Get a discounted price on replacement setup and installation discs: Windows Vista, Windows 7, Windows 8, Windows 10.

Applicable Systems

This Windows-related knowledgebase article applies to the following operating systems:

  • Windows Vista (all editions)
  • Windows 7 (all editions)
  • Windows 8 (all editions)
  • Windows 8.1 (all editions)
  • Windows 10 (all editions)

Propose an edit


  1. BCD is an abbreviation of Boot Configuration Database. ↩

Fix The Windows Boot Configuration Data File does not Contain a Valid OS Entry

All the latest versions of windows operating system comes with boot configuration options
which contains operating system entries. If the operating system entries goes missing for some reason then this error will appear.

‘ The Windows Boot Configuration data file does not contain a valid OS entry »

What happens during this error is that it prevents your computer from booting. Most often this issue is caused due to the corruption of BCD registry. Although this error looks complex, it comes with several solutions in which one of them might surely work for you. 

In this article, I will be covering about Fixing The Windows Boot Configuration Data File does not Contain a Valid OS Entry. From this post, you will learn how to eliminate this error from the scratch.

Let’s get started,

1. Perform Startup Repair

Windows operating system comes with a recovery tool known as the Startup repair which repairs corrupted system files. Meaning if the BCD files face issues with OS entries, startup repair essentially replaces files with new ones. 

To perform Startup repair,

  1. Insert the installation media
  2. Restart the PC
  3. Boot from the installation media
  4. Choose your language
  5. Select troubleshoot
  6. Select Automatic Repair

This process will repair your operating system.

2. Run SFC Scan

Another method to repair the system files is using SFC scan. System File Checker (SFC) scans the computer for corrupted system files. And if possible it repairs them too. 

To run SFC Scan,

  1. Insert the installation media
  2. Restart the PC
  3. Boot from the installation media
  4. Choose your language
  5. Press Shift + F10
  6. Type and press Enter after the command

                        » SFC/Scannow »

3. Run CHKDSK

Sometimes the hard disk drive on which the operating system is installed could face problems such as file system errors and bad sectors. Running Check Disk Utility (CHKDSK) not only fixes disk errors, it also repairs BCD files. Hence, in order to fix this you need to run CHKDSK.

To run CHKDSK,

  1. Insert the installation media
  2. Restart the PC
  3. Boot from the installation media
  4. Choose your language
  5. Press Shift + F10
  6. Type and press Enter after the command

                    CHKDSK x : / f / r  (x stands for the respective drive)

4. Rebuild BCD

As you all know the boot configuration data file does not contain a valid OS entry is as a result of corrupted BCD files. Therefore, to fix this problem you need to rebuild BCD. 

To Rebuild BCD,

  1. Insert the installation media
  2. Restart the PC
  3. Boot from the installation media
  4. Choose your language
  5. Press Shift + F10
  6. Type the commands (Press Enter after each command)

                    bootrec.exe /Rebuildbcd

                    bootrec.exe /Fixmbr

                    bootrec.exe /Fixboot

Once typed restart the PC.

5. Restore PC

If the above mentioned solutions does not work, as a last resort you can try restoring the PC. Restoring the PC reverts your computer to a working state so that all of the computer problems including the boot configuration data file does not contain a valid OS entry is fixed.

To Restore System,

  1. Insert the installation media
  2. Restart the PC
  3. Boot from the installation media
  4. Choose your language
  5. Select troubleshoot
  6. Select » System Restore »

We all know Boot Configuration Data (BCD) file stores the data about Windows Boot Manager (bootmgr). So the data on this file drives the bootmgr and allows it load the operating system mentioned in BCD file. The BCD file is likely to be located at \Boot\BCD on BIOS and \EFI\Microsoft\Boot\BCD on UEFI systems.

If the data on BCD file is corrupted or is invalid, bootmgr will be unable to process that data and thus your PC cannot boot. Under this scenario, you may see a recovery screen as shown below.

Recovery

Your PC needs to be repaired

Page Contents

The Boot Configuration Data file doesn’t contain valid information for an operating system.

File:\Boot\BCD

Error code: 0xc0000098

FIX The Boot Configuration Data File Doesn't Contain Valid Information For An Operating System Windows 10

Windows 7 users may receive the following message instead, along with same error code:

The Windows Boot Configuration Data does not contain a valid OS entry.

If you’re facing this problem, you either need to repair the BCD file or reinstall the operating system. There are some easiest commands to repair the BCD file or simply re-generate it. So users facing this problem on their Windows 10/8/7, there is no need to worry at all! By following the fixes mentioned below, you’ll be able to suppress the error easily.

FIX: The Boot Configuration Data File Doesn’t Contain Valid Information For An Operating System In Windows 10/8/7

FIX 1 – General Suggestions

1. Boot into Safe Mode. If you successfully able to boot then try rebooting to normal mode.

2. Perform the Startup/Automatic Repair.

3. Perform System Restore if you’ve restore points created before the problem started. You can restore the System Image backup as well.

4. Run chkdsk /r /f c: command (assuming Windows is installed on C:) in the Advanced Recovery Command Prompt.

5. If you don’t enough data on the OS and its a new installation, you can Refresh or perform in-place upgrade.

FIX 2 – Recreate Boot Records

You can recreate boot records and fix the Master Boot Record (MBR) to fix this issue finally. Follow the steps mentioned here to re-generate the boot records:

Steps to fix BCD and MBR in Windows 10/8.1/8/7

FIX The Boot Configuration Data File Doesn't Contain Valid Information For An Operating System Windows 10

After repairing boot records, you should be able to boot normally without any recovery error screen.

That’s it!

Related: The Boot Configuration Data file is missing some required information.

RELATED ARTICLES

Boot Boot Error 0xC0000098 (Windows Boot Configuration Data file does not contain a valid OS entry) is caused by incomplete or corrupt configuration in the BCD registry hive.

Learn how to fix error 0xC0000098 (status 0xC0000098) by recreating BCD from scratch, using Emergency Boot Kit.

Contents
  • 1. Symptoms of the problem
  • 2. Normal boot sequence
  • 3. Defect in the boot sequence which leads to ‘status 0xC0000098’ boot error
  • 4. How to fix status 0xC0000098

1. Symptoms of the problem

When computer is powered up, an error message «Status: 0xc0000098
Info:
The Windows Boot Configuration Data file does not contain a valid OS entry» appears:

Boot Error 0xC0000098 (Windows Boot Configuration Data file does not contain a valid OS entry)

2. Normal boot sequence

The rest of this article refers to Windows 7, but all information below applies to
Windows 10 and Windows 11 as well.

Normally Windows 7 boots as shown below:

Normal boot sequence of Windows 7

  1. BIOS loads 1st sector from HDD (Master Boot Record), verifies 55 AA signature
    and transfers control to Master Boot Record.
  2. Master Boot Record scans partition table for active partition, then it loads 1st sector
    from active partition, verifies 55 AA signature, and transfers control to Boot Sector.
  3. Boot Sector loads 15 additional sectors from the beginning of disk (Volume Boot Record)
    and transfers control to first additional sector of VBR.
  4. Volume Boot Record loads BOOTMGR file from root directory of boot partition into
    the memory and transfers control to it.
  5. BOOTMGR loads Boot\BCD registry hive and displays boot menu. BOOTMGR is able to run memory test
    and set safe mode boot flag per explicit user request. But normally, it loads winload.exe
    when computer boots normally (cold startup) or winresume.exe (when computer resumes from
    hibernation).
  6. Winload.exe opens SYSTEM registry hive, gets list of drivers, loads NTOSKRNL.exe, loads
    drivers (*.SYS files) and transfers control to NTOSKRNL.exe.
  7. Winresume.exe loads memory dump from hiberfil.sys and transfers control to it.

3. Defect in the boot sequence which leads to ‘status 0xC0000098’ boot error

Defect in the boot sequence which is a reason for ‘status 0xC0000098’ error
is shown below:

Reason for status 0xC0000098

  1. BIOS loads 1st sector from HDD (Master Boot Record), verifies 55 AA signature
    and transfers control to Master Boot Record.
  2. Master Boot Record scans partition table for active partition. There is one
    active partition, so Master Boot Record loads 1st sector from active partition (Boot Sector),
    and transfers control to it.
  3. Boot Sector loads 15 additional sectors from the beginning of disk (Volume Boot Record)
    and transfers control to first additional sector of VBR.
  4. Volume Boot Record loads BOOTMGR file from root directory of boot partition into
    the memory and transfers control to it.
  5. BOOTMGR tries to load Boot\BCD registry hive, but BCD is corrupt or misconfigured.
  6. The rest of usual boot events do not happen.

4. How to fix status 0xC0000098

1) Download Emergency Boot Kit and
deploy it to USB thumbdrive according to the instructions,
then set up your BIOS to boot from USB thumbdrive. You need full version of Emergency Boot Kit
to actually write changes to the disk, but it’s recommended to try demo version to make
sure  there are no hardware incompatibilities.

2) Boot into Emergency Boot Kit:

Fix BCD status 0xC0000098 with Emergency Boot Kit - Main Menu

3) Run File Manager from the main menu:

Fix BCD status 0xC0000098 with Emergency Boot Kit - File Manager Started

4) Press Alt+F1 and choose your boot partition from the menu. In Windows 7 and Windows 8 boot
partition has size about 100MB in size and «System Reserved» volume label. In Windows Vista
separate boot partition does not exist, computer boots from system disk where Windows OS
files are installed (use UP and DOWN arrow keys and ENTER to navigate the menu):

Fix BCD status 0xC0000098 with Emergency Boot Kit - Choosing Windows 7 boot partition

5) Now you need to enter either Boot folder (on BIOS-based computers)
or EFI\Microsoft\Boot (on UEFI-based computers). Only one of these
folders exists on any particular computer, so choose whatever exists.
Press TAB to switch input focus to the left panel, then navigate folders using arrow keys UP
and DOWN and ENTER. (This example shows entering Boot folder.)

Fix BCD status 0xC0000098 with Emergency Boot Kit - Entering Boot Folder on the Boot Partition

6) List of files should appear on the left panel. BCD file should be
in the list, BCD.LOG, BCD.LOG1 and
BCD.LOG2 may also appear in the list. Navigate to those files
using arrow keys, then select them INSERT key:

Fix BCD status 0xC0000098 with Emergency Boot Kit - Selection of BCD-related Files For Backup

7) After selection:

Fix BCD status 0xC0000098 with Emergency Boot Kit - BCD-related Files are Ready to be Renamed

8) Press F6. File rename dialog will pop up:

Fix BCD status 0xC0000098 with Emergency Boot Kit - File Rename Dialog

9) Type BCD_OLD.* on keyboard and press ENTER:

Fix BCD status 0xC0000098 with Emergency Boot Kit - About to Rename BCD-related Files for Backup

10) Make sure BCD files were renamed successfully to
BCD_OLD files, then press F10 and ENTER keys to exit
the Emergency Boot Kit File Manager:

Fix BCD status 0xC0000098 with Emergency Boot Kit - Exiting the Emergency Boot Kit File Manager

11) Choose Mount & Boot Center in the main menu:

Fix BCD status 0xC0000098 with Emergency Boot Kit - Choosing Mount and Boot Center in the main menu

12) Wait:

Fix BCD status 0xC0000098 with Emergency Boot Kit - Waiting for Emergency Boot Kit Mount and Boot Center to start

13) Enable checkbox (checkboxes) on the intersection of the bootloader and operating system
(operating systems) it should load:

Fix BCD status 0xC0000098 with Emergency Boot Kit - Fixing Boot Error in Emergency Boot Kit Mount and Boot Center

14) Mount & Boot Center should look like below. Press OK to commit changes
(BCD registry hive and corresponding log will be created from scratch at this point):

Fix BCD status 0xC0000098 with Emergency Boot Kit - Saving Updated BCD Registry Changes to the Disk

15) «Status 0xC0000098» boot problem should be fixed now. Choose ‘Reboot’ in the main menu of Emergency Boot Kit:

Fix BCD status 0xC0000098 with Emergency Boot Kit - Status 0xC0000098 problem is fixed, rebooting

Please note: Because BCD (Boot Configuration Data) was recreated from scratch, you may need
to adjust boot timeout, menu order etc from within Windows when it boots successfully.

Download Windows Speedup Tool to fix errors and make PC run faster

This post will show you how to troubleshoot and fix Error 0xc0000098, The Windows Boot Configuration Data does not contain valid OS Entry in Windows 11/10. I have installed Windows 11 in the triple boot with Windows 10 and Ubuntu a couple of weeks ago. Everything was working fine like a charm. But yesterday, when I booted up the laptop. I came across this error and was thus unable to boot.

Then, I checked the installation parameters and found that everything was set correctly. I tried to troubleshoot it with the Repair Disk but with no success. Finally, I fixed it, and the way that worked for me is being shared below so that others can benefit from it.

How to fix 0xc0000098 Boot Error

Basically, you need to perform a chkdsk operation to sort out the issue in such cases. But when I tried this, it didn’t work at all, and I  received the following message:

The type of the file system is NTFS. Cannot lock current drive.

Then I came to know about the integral workaround, which goes like this:

1. Boot into safe mode with an elevated command prompt.

2. Type DISKPART command. It will launch the Disk Partition utility.

3. Now, type the list volume command. It will list the volumes on the system. Carefully note the volume for Windows 11. The image shown below is just for the convenience of users in applying commands.

4. Moving on, type select volume ### where (### represents the drive number in which your Windows is installed. It’ll select the volume in which you are getting the error i.e. the drive for Windows 11.

5. Finally, apply the following command :

attributes volume clear readonly

Applying the above command will fix the basic writing problems with the associated drive.

6. Type exit to leave diskpart utility.

Thus the manual workaround is over. Now its time to check for disk errors, to do that type:

chkdsk /f /r

That’s it. Now Windows will ask you to reboot, and on reboot, it will fix the issue and make way for a normal boot.

Note: The Command applied in step 5 will work only if your system drive is infected and you’re getting errors on it. On a normal system, on which you have not experienced such an error, applying the command of step 5 will yield a bunch of command lists, but will not make the default drive writable.

Related: Your PC needs to be repaired, Error code 0xc0000098

If you have also received this error, please share your problem. Different systems may need a different fix for the same issue due to configuration parameters. The way shared here just worked for me, and I hope it works for your too. If it doesn’t, you might want to check out if running Startup Repair helps you.

Random read: Dual Monitor Tools for Windows.

An Electrical Engineer by profession, Kapil is a Microsoft MVP and a Windows Insider MVP. Please read the entire post & the comments first & create a system restore point before making any changes to your system.

Понравилась статья? Поделить с друзьями:
0 0 голоса
Рейтинг статьи
Подписаться
Уведомить о
guest

0 комментариев
Старые
Новые Популярные
Межтекстовые Отзывы
Посмотреть все комментарии
  • Помехи в микрофоне windows 10
  • Не работает win shift s windows 10 восстановить
  • System windows forms closereason
  • Восстановить metro windows 10
  • Обновление драйвера принтера windows 10