I am getting this blue screen message on Windows 10 machine. (I cannot boot into safe mode or see any other Windows OS options.)


Your PC/Device needs to be repaired

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

Error code: 0xc0000098

I have created a recovery drive and tried the Reset PC options. I get this information.

Reset this PC - remove everything

Unable to rest this PC. A required drive partition is missing.

Reset this PC - Keep my files

The drive when Windows is locked. Unlock the drive and try again.

I have run chkdsk on the C: partition but all looks fine.

As I upgraded from Windows8 using the online upgrade feature I do not have a Windows 10 disc to reinstall from. Can I use any Windows 10 disk including an OEM version to kickstart the rebuild? Or are there other tools available for fixing the BCD?

  • Run chkdsk on all partitions, it is complaining about the boot partition which is not C. – Moab May 2 '16 at 23:25
  • So how do I run chkdsk on BCD? – ChrisGuest May 3 '16 at 0:05
  • 1
    short story, assign the boot partition a drive letter, then run chkdsk on that drive letter, when done you can remove the drive letter. You should also check the smart data on that hard drive to see if it has failing sectors, which I suspect. – Moab May 3 '16 at 0:21
  • Thanks, I'll try that. This answer explains the process: superuser.com/a/989187/51443 – ChrisGuest May 3 '16 at 0:46

Firstly: you can download the Windows 10 Installation media from the windows website directly. You will need to use a friend's computer to do this. You can then use the media creation tool to create an installation DVD or USB.

Secondly: Windows 10 sometimes shows errors like this on boot if it has recently downloaded a new update and there was not enough space on the C:\ partition to install the update during a system restart. The only option is to reformat the drive and reinstall Windows 10 - the Activation Key will be stored online by Windows, so you will not need this as long as you were using Genuine Windows.

I hope you had a backup of your data... Otherwise there are a number of ways you may be able to recover your files: by removing the drive from the computer and connecting it to another before formatting; by booting into Ubuntu from a USB drive; or by using a Windows Installation Disk to access the files via the "load drivers" button in the "repair" option.

Good luck!

  • Yes, the data is backed up. Oddly I can mount the drive fine and copy it to another without any problem at all. – ChrisGuest May 2 '16 at 13:38
  • Re: Activation Key. Does Microsoft match it to the computer by the MAC address or something? – ChrisGuest May 2 '16 at 13:39
  • I believe it matches it by reference to the motherboard itself. I have had issues before when swapping out fried motherboards and have had to contact Microsoft directly to get the COA to be accepted as Genuine. As long as you have the backup data then reinstalling Windows should not be a problem. If you want guidance with the process then let me know - I have done this with so many machines now it is almost second nature. – Matthew May 3 '16 at 7:57
  • If you can mount the drive fine then this all points to it being an issue with a recent update installation. I think best to bite the bullet and reinstall the OS. Run all Updates before you transfer your backup data tho because there is a chance the problem could be caused by a conflict between an update and a hardware driver. – Matthew May 3 '16 at 8:00

Fix "The drive where Windows is installed is locked"

Usually it is enough to repair boot files to fix problem,

but chkdsk will not harm ;)

And BTW once you activate Windows 10 on a computer you can clean disk and reinstall - OS will be activated automatically on same computer (MS keeps a database of activated Windows 10 per computer)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.