Monday, February 4, 2013

Bootrec.exe tool for rebuilding BCD

When Windows Vista or Windows 7 does not start , you must try one of the following options:

To run the Bootrec.exe tool, you must start Windows REPAIR. To do this, follow these steps:
  1. Put the Windows Vista or Windows 7 installation disc in the disc drive, and then start the computer.
  2. Press a key when you are prompted.
  3. Select a language, a time, a currency, a keyboard or an input method, and then click Next.
  4. Click Repair your computer.
  5. Click the operating system that you want to repair, and then click Next.
  6. In the System Recovery Options dialog box, click Command Prompt.
  7. Type Bootrec.exe, and then press ENTER.
Note To start the computer from the Windows Vista or Windows 7 DVD, the computer must be configured to start from the DVD drive which can be done from your cmos setup. In latest laptops booting option can be changed by pressing  either f2 or f9 key as soon as you press the power button.

Bootrec.exe options

The Bootrec.exe tool supports the following options. Use the option that is appropriate for your situation.
Note Use the Bootrec.exe tool to troubleshoot "Bootmgr Is Missing" issue. If rebuilding the BCD does not resolve the startup issue, you can export and delete the BCD, and then run this option again. By doing this, you make sure that the BCD is completely rebuilt.
To do this, type the following commands at the Windows RE command prompt:
  • bcdedit /export C:\BCD_Backup
  • c:
  • cd boot
  • attrib bcd -s -h -r
  • ren c:\boot\bcd bcd.old
  • bootrec /RebuildBcd

/FixMbr

The /FixMbr option must be used if you want to resolve MBR corruption issues.

/FixBoot

The /FixBoot option writes a new boot sector to the system partition by using a boot sector that is compatible with Windows Vista or Windows 7. Use this option if the boot sector is damaged.

/ScanOs

The /ScanOs option scans all disks for installations that are compatible with Windows Vista or Windows 7. Additionally, this option displays the entries that are currently not in the BCD store. Use this option when there are Windows Vista or Windows 7 installations that the Boot Manager menu does not list.

/RebuildBcd

The /RebuildBcd  option must be used if you want to completely rebuild the BCD.


No comments:

Post a Comment