bcd repair on gpt formatted hard disk

if you encounter error bcd failure error code 
0xc000000f or 0xc000014c

you need to follow steps as follows

1. use windows penddrive to boot 
2. on windows installation screen press shift + f10
3. in command prompt , 
type  diskpart and press enter
4. type list disk  and press enter
5. check whether hard disk is gpt formatted or not 
if * sign is shown like on photo, then you may follow next instructions on this post if not check another post regarding bcd on mbr/legacy windows 
6. select disk 0 
if you have multiple hard disk select the hard disk which contains windows 
7. now type
list partition
find partition which has system written against it and note its size like in the next image 

8. list volume
find volume of the same size as the partion and one more thing it has written as hidden against it

9. select volume 5 
or whatever your volume is corresponding
10. assign letter k:
or you can use any letter which is not used in the letters in last list volume command
11. exit
12. now type K:
or the letter you choose
13. cd /d k:efi\microsoft\boot
if you encounter directoty not found , 
try one of the following command
cd /d k:\boot
or
cd /d k:\esd\windows\efi\microsoft\boot

13. attrib BCD -s -h -r 
14. bcdboot c:\windows /l en-us /s k: /f ALL
change letter of c if it is not where installed windows change k to ur chosen letter
/l to change locale to us 
if you are not from us or india choose 
ur locale accordingly
/s to copy the bootloader file

15. to check whether entry is created or not
type bcdedit
if you find \EFI\MICROSOFT\BOOT\BOOTMGFW.EFI
in the entry 
your command are successfully worked 
hence you can use your windows again 

note: please use these steps carefully it can delete data if not properly used
thank you for trying my blog

feel free to comment and ask for any problem you get and any suggestions are very welcome......

Comments

Popular Posts