Hello everybody!
In this video,
I will show you how to...
easily fix startup failure...
or boot loop issue...
in windows 10,
windows 8,
or windows 7,
with blue screen error message says that
Your PC/Device Need to be Repaired,
followed by one of the followings details:
The boot configuration Data file
doesn’t contain valid information data
for an operating system.
File:\BCD
Error code: 0xc0000098
OR
The boot Configuration Data for your PC is missing or contains errors.
File:\Boot\BCD
Error code: 0xc000000f
Before starting,
we must point out that
there are several problems lead to start-up failure
rather than BCD issue with different solutions,
so you must know which problem this video will
help you to fix by knowing the error messages
and codes associated with the BCD issue:
Examples of other blue screen error codes that are
related to BCD or Boot Configuration Data issues:
0xc000014c,
0xc00000bb,
0xc0000034.
Example of other error messages that related to BCD:
Your device ran into a problem and needs to restart,
The Windows Boot Configuration Data file does not contain a valid OS entry in Windows 7,
or The Boot Configuration Data file is missing some required information for an operating system in Windows 8.
Also you have to know that in GPT disk computers, the path to BCD will be:
File:\EFI\Microsoft\Boot\BCD
If you have another error message like
Inaccessible Boot Device, or others
you can watch how to fix it in another
video from links in video description.
Video Contents:
Video Contents: 1- How to boot into recovery mode with or without CD.
Video Contents: 1- How to boot into recovery mode with or without CD. 2- How to check health status of disks.
Video Contents: 1- How to boot into recovery mode with or without CD. 2- How to check health status of disks. 3- How to Repair boot issues in all windows versions with both MBR and GPT systems.
Video Contents: 1- How to boot into recovery mode with or without CD. 2- How to check health status of disks. 3- How to Repair boot issues in all windows versions with both MBR and GPT systems. 4- Extra methods.
Video Contents: 1- How to boot into recovery mode with or without CD. 2- How to check health status of disks. 3- How to Repair boot issues in all windows versions with both MBR and GPT systems. 4- Extra methods. 5- Important notes.
1- How to Enter into the advanced recovery options:
Windows 7
There is a video in video description
or from notification card will show you
how to create a windows installation media using your android mobile.
2. How to check health status of disks.
2.a. Open Command Prompt.
When booting without installation media,
you will asked to choose the user profile.
If you have more than one profile,
select the one with admin access then change the keyboard layout to US.
If you have a password for the selected profile, type it and click on Continue button,
if there is no password, click on Continue button directly.
2.b Type Notepad.exe and hit enter.
2.c. Click on File and select Open option.
2.d. Click on This PC icon to show all disks and partitions.
If you are able to see all your partitions with size,
free and used volume,
then the disks and partitions are supposed to be healthy.
2.e. If the partitions details are not shown like this,
execute the following command to fix that: CHKDSK C: /F /R /X
execute the following command to fix that: CHKDSK C: /F /R /X Replace C: with the letter of windows partition in your computer.
If you still unable to see partition details,
try to disconnect the HDD or SSD disk and reconnect it again.
You have to be familiar with laptop disassembly, otherwise don’t try that.
3. Main solution for all windows versions and both GPT and MPR Systems
3.1.a. Open Command Prompt.
3.1.b. Type BCDEDIT and hit Enter to show the BCD or boot configuration data.
There is a difference between GPT & MPR systems as shown,
but it will not affect the results when using this method.
3.1.c. Determine in which partition you have windows installed from OSdevice Line.
In my case, the D is the windows partition, but in your computer it may be another letter.
3.d. Type Bcdboot D:\Windows
3.d. Type Bcdboot D:\Windows Replace D: with the letter of windows partition in your computer.
As you can see, the boot files successfully created.
3.2.a. let’s see what will happen when selecting a wrong letter for windows.
3.2.b. I will Type Bcdboot C:\Windows
It returns the following error message: "Failure when attempting to copy boot files."
3.3.a. Now, Close the CMD.
3.3.b Click on Continue option to boot into windows 10 operating system.
3.3.c. Disconnect the USB flash card or the DVD from your laptop if booting from one of them.
You may get a blue screen error saying that:
Your PC couldn’t start properly
After multiple tries, the operating system on your PC failed to start, so it needs to be repaired.
Error code: 0xc0000001
3.3.d. Just press Enter key from keyboard to continue.
The first boot may take longer time than usual, so be patient.
BCDBoot tool can fix boot issues in Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista, Windows Server 2016 Technical Preview, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 R2, or Windows Server 2008.
As you can see, the windows started without issue.
Also all files and installed apps will not be lost after applying this method.
4. EXTRA METHODS
4.1- How to determine the type of disk scheme whether is a GPT or an MPR ?
4.1.a Open Command Prompt.
4.1.b. Type Diskpart and hit Enter to open disk manager.
4.1.c. Type list disk and hit Enter.
4.1.d. If you have asterisk "*" under GPT column next to the Disk number 0,
then your disk scheme is GPT.
If there is no asterisk, then you have an MPR disk scheme.
4.2 Determine the boot partition
4.2. How to know whether the boot partition is available and configured properly or not.
4.2.a. Type Sel Disk 0 to select disk number zero.
Because there is only one disk in both systems shown, I will choose disk number zero.
But if you have more than one disk installed in your computer,
choose the disk that contains the Windows system you want to repair based on the Disk size.
4.2.b. Type list vol to show available volumes
You can know which volume is the boot partition and which one is windows partition as followings:
The boot partition usually has a size of 500 MB or less,
The boot partition usually has a size of 500 MB or less, has a FAT32 file format in GPT disks or NTFS in MPR disk, most often its label is System or reserved in MPR or has a hidden lapel in GPT disk. Windows partition usually has a size of 20 Gigabyte or more and it takes the C or D letters.
has a FAT32 file format in GPT disks or NTFS in MPR disk,
most often its label is System or Reserved in MPR
or has a Hidden lapel in GPT disk.
Windows partition usually has a size of 20 Gigabyte or more and it takes the C or D letters.
In my case the boot partition is volume number 1 with NTFS format in the MPR-based system, and volume number 3 with FAT32 format in the GPT-based system.
Also it has the C letter in MPR, while in GPT it has no letter assigned to it.
4.3 Assigin a letter to Windows Partition:
4.3 In rare cases, windows partition loss the assigned letter and will appear with empty entry under the ltr column.
In this case, you have to assign the letter that you have seen from BCD edit data or assign the C or D letters if not assigned to other partitions as followings:
4.3.a Select the windows partition using this command: Sel vol 1
4.3.b Assign the c letter using this command: Assign Letter C:
4.3.c You can check if the letter is set in BCD data or not using BCDedit Command.
4.4 Differences between GPT and MPR systems
4.4. Now, let’s see the differences between GPT and MPR systems which will help you to know whether the error source is from the BCD or from the windows boot loader files.
4.4.a. To show BCD data, type Exit to close diskpart.
4.4.b. Type BCDEdit and hit Enter to show the BCD or boot configuration data.
In BIOS boot or MPR-based system, the boot manager called Bootmgr and its path is: System Drive\Bootmgr. OR System Drive\BOOT\Bootmgr.
In GPT or UEFI-based system, the boot manager called Bootmgfw.efi and its path is: \EFI\Microsoft\Boot\bootmgfw.efi.
The boot manager is stored in separated partition called System Reserved Partition for both GPT and MPR disks. This partition or volume usually have a FAT32 format.
Also the windows loader called winload.exe in MPR-based system or winload.efi file in GPT or UEFI-based system,
however, the Windows NT OS Kernel is called ntoskrnl.exe in both GPT and MPR.
The path for both winload and kernel files is same which is: SystemRoot\system32 folder.
5. Rebuild BCD in MPR-based systems. (Also it may work for GPT systems)
5.a. Open command prompt
5.b. Type Bootrec /rebuildbcd and hit Enter
5.c. Type Bootrec /Fixmpr and hit Enter
5.d. Type Bootrec /Fixboot and hit Enter
5.e If you received Access is Denied error message, execute the following command to fix that: bootsect/nt60 sys or bootsect.exe /nt60 all /force
5.f Execute bootrec /fixboot command again to fix windows boot issue:
5.g Close command prompt
5.h Click on Continue button to restart your computer into Windows operating system.
6- Rebuild BCD manually in MPR-based systems.
6.a Open command prompt
6.b Type Bootrec /rebuildbcd and hit Enter
6.c Make a backup copy for old BCD file using the following command: bcdedit /export C:\BCDbackaup
You can replace the C with another letter to save the BCD backup to another partition without problem.
6.d Type the following command to remove the hidden, system attributes and read-only properties from the BCD file: Attrib C:\boot\bcd -h -s -r Replace C with the letter of your boot partition and not Windows partition.
If you received an error message saying that path not found -c:\boot,
that means you have selected a wrong boot partition or your disk table is GPT and not MPR.
Back to step number 4.1 to see how to know whether you have a GPT or MPR disk and to step number 4.2 to learn how to detect the boot partition.
6.e Rename or delete the old BCD file using one of the following commands but not both: ren c:\boot\bcd bcd.old to reanme it ins place OR del c:\boot\bcd to delete it.
6.f Type Bootrec /rebuildbcd and hit Enter
6.g Type Yes or Y and hit Enter to add the windows installation configuration to boot list.
6.h Close command prompt.
6.i Click on Continue button to restart your computer into Windows operating system.
4.7- Enable or disable options in Startup Settings:
4.7.a. Open Advanced recovery options
4.7.b. Click on Start-up Settings option
4.7.c. Click on Restart option
4.7.d. Try one of the followings options by pressing on corresponding f key from keyboard:
4.7.e. Disable Automatics Restart After Failure
4.7.f. Disable early-launch Anti-Malware protection
4.7.g. You can also Disable Drivers Signature Enforcement option to see if the problem is related to the newly installed driver,
but you should avoid manual installation of drivers in the future unless you enable this option again,
because if you install an incompatible driver it could damage your operating system or cause other problems.
4.8. Rebuild BCD manually in GPT or UEFI systems.
4.8.a. Type "Diskpart" into the command prompt and hit enter:
4.8.b. Type "List disk" command to show available disks.
4.8.c. Select Your boot drive using this command: Sel disk 0
4.8.d. Show available partitions using this command: List vol
4.8.e. Select the Boot Partition using this command: Sel vol 3
4.8.f. Assign the V letter to The Boot partition using this command: assign letter=V:
4.8.g. Close Diskpart using this command: Exit
4.8.h. Open v partition using this command: V:
4.8.i. Format the boot partition using this command: format V: /FS:FAT32
4.8.j. Type "Y" and hit enter to confirm if you asked for that:
4.8.k. If you have a windows 10 with build number older than 1709, add the following command lines one by one: MD \EFI\Microsoft\Boot cd /d V:\EFI\Microsoft\Boot\ bootrec /FixBoot bcdboot c:\Windows /l en-us /s V: /f All
4.8.l. If you have a windows 10 build 1709 or newer, use the following command line only to complete boot-Fixing process. bcdboot C:\windows /s V: /f UEFI
4.8.m. If you have a windows 10 build 1709 or newer, use the following command line only to complete boot-Fixing process. bcdboot C:\windows /s V: /f UEFI Windows Build Number
4.8.n. If you have a windows 10 build 1709 or newer, use the following command line only to complete boot-Fixing process. bcdboot C:\windows /s V: /f UEFI
4.8.o. Close command prompt.
4.8.p. Restart your laptop to see if the issue was fixed or not.
4.9. USING OTHER TOOLS TO FIX SYSTEM AND DISK ISSUES:
4.9.A. Check and fix disk errors using DISK Checker Tool.
Type the shown command and hit Enter. CHKDSK C: /F /R /X
Type the shown command and hit Enter. CHKDSK C: /F /R /X Replace C: with the letter of your windows partition.
B. Use DISM tool to check and fix system errors:
1. First, you have to determine the letters of both Windows partition and Windows Installation DVD or USB.
2. Type BCDedit and hit enter.
In my case, the C: is assigned for Windows partition.
3. Type Diskpart and hit Enter.
4. Type List vol and hit Enter.
In my case, the E: is assigned for Windows installation DVD.
5. Now, type Exit and hit Enter to close Diskpart.
6. Type the following command and hit Enter. DISM /Online /Cleanup-Image /RestoreHealth
7. If you are booting from USB or DVD, you will receive error message saying that DISM DOES NOT SUPPORT SERVICING WINDOWS PE WITH THE /ONLINE OPTION.
To fix that execute the following command instead: DISM /Image:C:\ /Cleanup-Image /RestoreHealth
To fix that execute the following command instead: DISM /Image:C:\ /Cleanup-Image /RestoreHealth Replace C: with the letter of your windows partition.
8. Also, you can add the Windows Installation Media as the source for the repair files as following: DISM /Image:C:\ /Cleanup-Image /RestoreHealth /Source:WIM:E:\Sources\install.wim:1 /LimitAccess
9. To fix scratch disk errors in previous 2 commands, type MD C:\Scratch to create a scratch folder inside windows partition if it has enough free space,
then add the following entry after previous DISM commands lines as shown: DISM /Image:C:\ /Cleanup-Image /RestoreHealth /ScratchDir:C:\Scratch DISM /Image:C:\ /Cleanup-Image /RestoreHealth /Source:WIM:E:\Sources\install.wim:1 /ScratchDir:C:\Scratch
C- USE SYSTEM FILES CHECKER (SFC) TO CHECK AND FIX SYSTEM ERRORS:
1. Type SFC /ScanNow and hit Enter.
2. You may need to recreate Boot Configuration Data again before restarting computer using the following command. Bcdboot C:\Windows
IMPORTANT NOTES:
IMPORTANT NOTES: - Sometimes the issue may appear after BIOS update or after changing BIOS settings.
IMPORTANT NOTES: If you think the error is related to BIOS settings, watch how to fix that from the links in video description.
IMPORTANT NOTES: - You have to read the video description and comments to see if there are any additions or modifications to any method.
IMPORTANT NOTES: - If you get one or more new error message after applying any solution, it may indicate that there is hardware source for your issue.
IMPORTANT NOTES: - If you need help, don’t hesitate to add your question in a comment and we will do our best to help you.
IMPORTANT NOTES: - If you liked the video, please leave a comment and subscribe to encourage us publishing more similar videos.