The Windows command line is a very useful utility for advanced users. Fixing system files, checking the disk for errors, and many other intensive tasks are made convenient with this. Another task that we carry out with the Command Prompt is to repair the Windows bootup process if it has problems. If when you run the bootrec /fixboot command, you receive an error message Element not found then it could be due to a Damaged BCD or MBR, Inactive system partition or No drive being letter assigned to the EFI Partition.
Jan 09, 2019 A black screen and a Windows 10 PC that won't boot often means that your master boot record is on the fritz. Fix it with Startup Repair and BootRec Commands. If BOOTREC /RebuildBcd.
Today, we will be taking a look at how to fix this issue.
Element Not Found error for Bootrec /Fixboot
The following potential fixes will be carried out to fix this Element Not Found error-
Bootrec No Windows Installations Found
- Assign Drive Letter to EFI Partition.
- Set the System Partition to Active.
- Repair BCD.
If you tend to create a System Restore point, you can try to undo any modifications on your computer, by performing System Restore.
1] Assign Drive Letter to EFI Partition
Start by pressing WINKEY + X button combo or right-click on the Start button and click on Command Prompt (Admin) or just search for cmd in the Search box, right click on the Command Prompt icon and click on Run as Administrator.
Now, type in the following command-
This will start the Diskpart Utility. It is a command line based utility just like the Command Prompt but will get a UAC Prompt once you invoke it. You have to click on Yes for the UAC Prompt.
Then, type in,
This will list all the partitions created on your computer. This will include both types of partitions that are visible to a normal user in the File Explorer and also the ones created by default by Windows 10 that help it to store the boot files and other important system files.
Now you will get a list of the partitions that are made on your computer.
Select the partition that you wish to assign a letter to. You can identify it by the fact its File System (Fs) will be set to FAT32.
Now, type in the following command to select the desired volume-
Now, to assign a letter to the volume you just selected, type in the following command-
Replace <LETTER> with the letter that you want to allocate to that partition. This will assign a letter to the volume you just selected.
2] Set the System Partition to Active
You will need to make a bootable Windows 10 USB drive and then boot your computer using it.
When you come to the Welcome Screen to click on Next, and then click on Repair your computer on the bottom left portion of the window. Then click on Troubleshoot > Advanced Options > Command Prompt.
Now, once you have got the Command Prompt window open, execute the following commands one by one in the sequence that they are given-
This will start the Diskpart Utility. It is a command line based utility just like the Command Prompt but will get a UAC Prompt once you invoke it. You have to click on Yes for the UAC Prompt. Then, type in-
Now select your primary disk by typing in-
Now, list all the partitions on the selected disk by typing in the following command,
This will list all the partitions created on your computer. This will include both types of partitions that are visible to a normal user in the File Explorer and also the ones created by default by Windows 10 that help it to store the boot files and other important system files.
Now you will get a list of the partitions that are made on your computer.
Type in-
to select that partition which is usually around 100 MB in size.
Then type-
Rebuild Bcd Windows 10 Gpt
to mark it active.
Finally, type exit to exit the diskpart utility.
3] Repair BCD
To repair BCD, you will need to make a bootable Windows 10 USB drive and then boot your computer using it.
When you come to the Welcome Screen to click on Next, and then click on Repair your computer on the bottom left portion of the window. Then click on Troubleshoot > Advanced Options > Command Prompt.
Now, once you have got the Command Prompt window open, execute the following commands one by one in the sequence that they are given-
After that enter the following to rename the BCD file-
Finally, type in the following but replace b: with the letter for your bootable drive that is attached-
Wait until the process is done and then restart your computer for the changes to take effect.
This should fix your issues.
Related Posts: