Question BCD corrupted, cannot repair in Advanced Recovery Mode ?

Page 4 - Seeking answers? Join the Tom's Hardware community: where nearly two million members share solutions and discuss the latest tech.
So i did the last command. Still failure to copy. Here’s an image of what came up (i used the /v at the end)
What windows version is installed on your pc?
What windows installation media are you booting from?

Installed windows version and windows installation media has to be for same windows version.
So if you have windows 10 installed, you have to boot from windows 10 installation media (windows 7 installation media is not good here).
 

Kyroix 74

Prominent
Jul 24, 2020
180
2
585
0
What windows version is installed on your pc?
What windows installation media are you booting from?

Installed windows version and windows installation media has to be for same windows version.
So if you have windows 10 installed, you have to boot from windows 10 installation media (windows 7 installation media is not good here).
  1. I don’t know the exact. It’s Windows 10, but model number or whatever? I wouldn’t know unless there’s a way to know.
  2. I am booting from Windows 10 Installation Media
 

Kyroix 74

Prominent
Jul 24, 2020
180
2
585
0
What windows version is installed on your pc?
What windows installation media are you booting from?

Installed windows version and windows installation media has to be for same windows version.
So if you have windows 10 installed, you have to boot from windows 10 installation media (windows 7 installation media is not good here).
Also when i do bootrec /scanos it says i have 0 windows installations, don’t know how to make that 1
 
Copy those missing files from USB flash drive to windows partition and retry bcdboot.

copy e:\efi\microsoft\boot\resources\bootres.dll c:\windows\boot\
copy e:\efi\boot\bootx64.efi c:\windows\boot\efi\bootmgfw.efi
diskpart
select disk 0
select partition 1
assign letter=h
exit
bcdboot c:\windows /s h: /f uefi /v
And show screenshot.
 
Reactions: Kyroix 74

Kyroix 74

Prominent
Jul 24, 2020
180
2
585
0
Copy those missing files from USB flash drive to windows partition and retry bcdboot.

copy e:\efi\microsoft\boot\resources\bootres.dll c:\windows\boot\
copy e:\efi\boot\bootx64.efi c:\windows\boot\efi\bootmgfw.efi
diskpart
select disk 0
select partition 1
assign letter=h
exit
bcdboot c:\windows /s h: /f uefi /v
And show screenshot.
The first and third line worked. Copied one file on each. The C:\ Commands didn’t work.
Couldn’t assign H to the partition. Virtual disk service error: the specified drive letter is nit free to be assigned.

The bcdboot command still says failed to copy boot files
 
Repeat copy process

1.
copy e:\efi\microsoft\boot\resources\bootres.dll c:\windows\boot\
copy e:\efi\boot\bootx64.efi c:\windows\boot\efi\bootmgfw.efi


2. if drive letter H is not assigned to bootloader partition, then assign it, else skip step #2.
diskpart
select disk 0
select partition 1
assign letter=h
exit


3.
bcdboot c:\windows /s h: /f uefi /v

Show the screenshot.
 

Kyroix 74

Prominent
Jul 24, 2020
180
2
585
0
Repeat copy process

1.
copy e:\efi\microsoft\boot\resources\bootres.dll c:\windows\boot\
copy e:\efi\boot\bootx64.efi c:\windows\boot\efi\bootmgfw.efi


2. if drive letter H is not assigned to bootloader partition, then assign it, else skip step #2.
diskpart
select disk 0
select partition 1
assign letter=h
exit


3.
bcdboot c:\windows /s h: /f uefi /v

Show the screenshot.
https://ibb.co/7StnNzL. 1. Commands (the copy commands worked. The C:\Windows\boot ones didn’t.

https://ibb.co/KxNkRPg 2. (I think the partition is already assigned with H. An error comes up but it’s probably because it’s already assigned. Did the step anyway tho)

https://ibb.co/d5BfjMB 3. (Here’s the bcdboot command. This is what comes up)
 
1. Commands (the copy commands worked. The C:\Windows\boot ones didn’t.
You didn't copy properly.

This is single line (not 2 lines).
copy e:\efi\microsoft\boot\resources\bootres.dll c:\windows\boot\

Same here - this is single line (not 2 lines).
copy e:\efi\boot\bootx64.efi c:\windows\boot\efi\bootmgfw.efi

Repeat properly instructions in post #89 and show screenshot.
 

Kyroix 74

Prominent
Jul 24, 2020
180
2
585
0
You didn't copy properly.

This is single line (not 2 lines).
copy e:\efi\microsoft\boot\resources\bootres.dll c:\windows\boot\

Same here - this is single line (not 2 lines).
copy e:\efi\boot\bootx64.efi c:\windows\boot\efi\bootmgfw.efi

Repeat properly instructions in post #89 and show screenshot.
ohhh ok
 
https://ibb.co/dgSzL4D Still comes up with fail
Did you reboot the pc before doing this command?
If yes, then drive letter H: has to be assigned again.

1. Execute following copy command (single line)
copy e:\efi\microsoft\boot\resources\bootres.dll c:\windows\boot\resources

2. if drive letter H is not assigned to bootloader partition, then assign it, else skip step #2.
diskpart
select disk 0
select partition 1
assign letter=h
exit


3.
bcdboot c:\windows /s h: /f uefi /v

Show the screenshot.
 

Kyroix 74

Prominent
Jul 24, 2020
180
2
585
0
Did you reboot the pc before doing this command?
If yes, then drive letter H: has to be assigned again.

1. Execute following copy command (single line)
copy e:\efi\microsoft\boot\resources\bootres.dll c:\windows\boot\resources

2. if drive letter H is not assigned to bootloader partition, then assign it, else skip step #2.
diskpart
select disk 0
select partition 1
assign letter=h
exit


3.
bcdboot c:\windows /s h: /f uefi /v

Show the screenshot.
I did not reboot it. I’ll do these commands and show you a picture.
 

Kyroix 74

Prominent
Jul 24, 2020
180
2
585
0
Did you reboot the pc before doing this command?
If yes, then drive letter H: has to be assigned again.

1. Execute following copy command (single line)
copy e:\efi\microsoft\boot\resources\bootres.dll c:\windows\boot\resources

2. if drive letter H is not assigned to bootloader partition, then assign it, else skip step #2.
diskpart
select disk 0
select partition 1
assign letter=h
exit


3.
bcdboot c:\windows /s h: /f uefi /v

Show the screenshot.
https://ibb.co/BCV6bv3 Fail to copy. Again.
First command works. I tried to assign the letter H again and it says The specified drive letter is not free to be assigned. So i must have already assigned it. It’s always the bcdboot command that doesn’t want to copy the boot files.
 

ASK THE COMMUNITY