Sometime default Startup repair and restore windows option not support us. The Recovery Environment (Windows RE). If this does or if you have to manually troubleshoot additional issues, use the Bootrec.exe tool.
Troubleshoot startup issues:
In this bug fixing article we have few important utility / tools, and help us to resolve windows booting issues. This type of tools help us for Boot issue. These tools help us to solve operating system bugs/ problems.
CHKDSK /r Check Hard disk or system errors
For windows computer system CHKDSK (check disk) is a system command. This is run in DOS and Microsoft Windows operating systems. This command verifies the file system reliability of volume. Try to fix logical file system errors. In Linux/Unix systems have similar command fsck.
How to run the Bootrec.exe tool ?
- To run the Bootrec.exe tool, first start the Windows RE:
- Insert OS DVD i.e Windows Vista or Windows 7 and then start the computer.
- Press a key when you are prompted.
- Select a language, a time, a currency, a keyboard, or an input method, and then click next.
- Click Repair your computer.
- Select the operating system that you want to repair, and then click next.
- In the System Recovery Options dialog box, click Command Prompt.
- Type Bootrec.exe, and then press Enter
BOOTREC/FIXBOOT for windows boot fix and repair
bootrec /FixBoot command of DOS will write a new boot sector in partition. If your system is Windows 7, FixBoot will write a Windows 7-compatible boot sector. The bootrec /ScanOs will scan the hard drives to check the installations. ScanOs common will do print installations that are not currently available in the BCD.
Bootrec /rebuildbcd for rebuild BCD
Main role of this command to scans all disks of Windows OS installations. And provide a choice of which entries to add in to the BCD store.
Commands to save bcd records before processing the BOOTREC/REBUILDBCD
bcdedit /export C:\BCD_Backup
attrib bcd -s -h –r
ren c:\boot\bcd bcd.old
BCDBOOT – Create or repair a system partition.
BCDEDIT – Manage Boot Configuration Data
Bootrec /fixmbr to write an MBR into the system partition
Bootrec /fixmbr is the first parameter of the Bootrec.exe tool/command is for to /FixMbr. It allows the repair of a corrupted or damaged Master Boot Record (MBR)
Bootrec /fixboot for Windows OS repair
Bootrec/fixboot to Writes a new boot sector onto the system partition.
Steps to run all BOOTREC (Windows RE) commands
|Dos Command Syntax
|System File Checker (SFC) is a utility in Microsoft Windows that allows users to scan for and restore corruptions in Windows system files.
|Write an MBR in to the OS system partition.
|Writes a new boot sector onto the system partition of Operating System.
|Check and Scans all disks for Windows installations and display entries not currently in the BCD store.
|Check and Scans all disks for Windows OS installations and provide a choice of which entries to add to the BCD store.
SFC /SCANNOW – System File checker
SFC (System File Checker) a predefined utility in Microsoft Windows. System File Checker (SFC) command line allows users to scan for and restore corrupt Windows system files. Interrupted power cut. Driver installation Windows system files may get corrupt and distracted from its functionality.