Share via


How to troubleshoot this error message: attrib bcd -h -r -s displaying "File not found - bcd"

Question

Monday, May 14, 2018 9:18 AM

For a failed boot/startup these commands were ran using Windwos RE (Windows 10 iso):

command prompt > Administrator: X:\Windows\System32\cmd.exe > X:\Sources>

1) BcdEdit /export G:\BCD_Backup
2) G:
3) Cd boot
4) Attrib bcd -r -h -s
5) Ren G:\Boot\bcd G:\Boot\bcd.old
6) Bootrec /RebuildBCD

G: was the partition/drive displayed using:  bcdedit | find "osdevice"

G: dir

displayed:  $Windows.~BT, boot, drivers, ESD, Intel, Nvidia, Brother, PerfLogs, Program Files, Program Files (x86), Users, Windows, windows.old, etc.

Steps 1 - 3 worked and step 4 attrib bcd -h -r -s displayed "File not found - bcd"

How do you troubleshoot:  File not found?

How do you rebuild the BCD?

https://support.microsoft.com/en-us/help/927392/use-bootrec-exe-in-the-windows-re-to-troubleshoot-startup-issues

All replies (2)

Tuesday, May 15, 2018 8:22 AM

Hi,

Yes, we need to use BCDBoot.exe tool to repair the BCD.

https://superuser.com/questions/497780/how-can-i-rebuild-the-windows-boot-files/499709#499709

Please Note: Since the website is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.

Hope it will be helpful to you

Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact [email protected].


Tuesday, May 15, 2018 8:54 AM

Was the above link for UEFI/GPT or for BIOS/MBR?

Which one is it applicable to?

Please explain.

Please provide references.

What are the commands for each?

What was the meaning of file not found in the above post after it was exported?