6

I have builtin SSD which I cannot detach before doing bootrec /fixboot and bootrec /fixmbr

So this commands result in fixing boot sector on builtin SSD not the drive i want.

How to change drive for bootrec /fixboot and bootrec /fixmbr commands?

3

You cannot change drive for bootrec /fixboot and bootrec /fixmbr commands.

There is some Microsoft logic which determines the drive for fixing MBR, boot sectors and boot files.

You can use bootsect.exe for fixing MBR and boot sectors by specifying the exact drive. bootsect fixes the specified drive boot sector and the MBR of the disk where the drive is placed.

bootsect /nt60 f: /mbr

writes a Windows 7/8/10 boot sector to drive f: and updates MBR code for booting Windows 7/8/10.

For fixing boot files you can use bcdboot.exe. It creates or fixes boot files on specified drive.

See for example "Repair Windows BCD" for use of bcdboot command.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.