Fix: 0xc0000098 Error In Windows 8

Have you ever faced error like this:
"Windows Boot Configuration Data does not contain valid OS Entry"



Troubleshoot 0xc0000098 Error


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


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



1. Boot into safe mode with 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 system. Carefully note the volume for Windows 8. The image shown below is just for convenience of users for 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 8.


5. Finally apply the following command :


attributes volume clear readonly
Applying the above command will fix the basic writing problems with the drive associated.


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 chkdsk /r

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