exit
, press Enter and remove the DVD/USB from the driveexit
, press Enter and remove the DVD/USB from the drivebootrec /FixMbr
will write a Windows Vista and Windows 7 compatible MBR to the system partition.bootrec /FixBoot
will write a new boot sector to the system partition. If your system is Windows 7, FixBoot will write a Windows 7-compatible boot sector and so on.bootrec /ScanOs
will scan the hard drives for any installations. ScanOs will also print installations that are not currently in the BCD.bootrec /RebuildBcd
will scan for installations on your hard drive and allows you to select which to add to the BCD.bootrec /RebuildBcd
does not fix the error, you can also try to completely rebuild the BCD. TO do so, you need to run these steps:c:
, where c: is where your Windows is installedcd boot
bootrec /ScanOs
command can find 0 Windows installations:ren c:bootmgr bootmgrbackup
, where c:
is where your Windows is installedbootrec /RebuildBcd
bootrec /FixBoot
bootrec /RebuildBcd
or bootrec /FixBoot
, can print this error:diskpart
list disk
select disk 0
, where 0
is the number of your disklist partition
select partition 0
, where 0
is the number of your partition numberactive
exit
bootrec /FixMbr
or bootrec /FixBoot
commands don’t work in Windows 7, try the following steps to restore the boot sector code for your system:D:
below with the letter of your media drive:exit
2
is the number of the FAT32 partition printed by Command Prompt above.exit
to quit the diskpart utility (step 4):x:
with the letter of the partition you chose earlier:x:
with the letter of the FAT32 partition mentioned earlier:exit