I have 2 SSD disks, I installed Windows 7 on the first SSD and then cloned the installation to the second SSD, I am now trying to boot the second disk but it always boots into the first SSD. I have tried to use bcdedit and visualbcd to add a second Windows 7 option named "Seven" and specify the HDD location of that installation, but when I boot the PC and it asks me to boot "Windows 7" or "Seven", I select "Seven" but Windows does not load, the screen just goes black and nothing happens. So, how do I edit the BCD properly so I can boot both Windows 7 installations?
The command does not work because you need to know the location of BCD before using it. I already tried that but it did not work. It added the second Windows to boot manager, but when I boot it I just get a black screen, a second time when I tried to boot it, it showed a message about "C:\Windows\System32\Winload.efi.
It's not as simple as editing the BCD when you use UEFI. With UEFI it records the disk number and partition for the boot files. So if you copy the files to the 2nd drive and edit a bcd, it won't make any difference. It will still boot to the first drive. To change it, you would need to disable the first drive and boot to winre.wim or a windows boot iso. Inside, run admin prompt (shift-f10 if boot iso) navigate to the desired drive and run: bcdboot c:\windows
Ty, will try. Anyway, I found the BCD location: Code: ESP:\EFI\Microsoft\Boot\BCD Then when I use Code: attrib bcd -s -h -r I can edit the BCD