Tuesday, 21 May 2013

Windows - How to use bootsect command to fix the boot issues?

Hi Everyone,

 

We might have come across operating system boot issues. Usually hal.dll errors in Windows 7, 8, and VistaHere is the windows in-built solution to fix the volume boot record errors. 

Boot Sector restoring program is available in windows which is bootsect command. It is a command line program available from Advanced Startup Options or System Recovery Options. The entire operation may take 10-15 minutes.

Here is how we fix these errors,

1. Open the Advanced Startup Options (Windows 8) or boot to the System Recovery Options menu (Windows 7 & Vista) (Which can be accessed by booting from the OS Installation Disc).

Another Option is to Create a Windows 8 Recovery Drive or How To Create a Windows 7 System Repair Disc (You may expect these topics in the future posts)

2. Go to  Command Prompt from the Advanced Startup Option

3. At the prompt, type the bootsect command as shown below and then press Enter:
bootsect /nt60 sys
The above bootsect command will update the volume boot code on the partition used to boot Windows to BOOTMGR which is compatible with Windows Vista, Windows 7, Windows 8, and later Windows operating systems.

Here nt60 switch applies the boot code for BOOTMGR (Windows Vista, Windows 7, Windows 8, and later Windows operating systems) while the nt52 switch applies the boot code for NTLDR (Other versions of windows).


4. After running the bootsect command as shown in the last step, you should see a result that looks something like this:

C: (\\?\Volume{33a450c8-2331-12e0-6015-706e6f6e6563})

Successfully updated NTFS filesystem bootcode. 
Bootcode was successfully updated on all targeted volumes.

If you get some kind of error, or this option doesn't work after you restart Windows normally again, try running bootsect /nt60 all command instead. 

5. Exit from the Command Prompt window and then remove the Windows disc from your optical drive or the Windows flash drive from its USB port.

6. Select the Restart button from the System Recovery Options window or click Continue from the main Advanced Startup Options screen.

7. And now you have your Windows boot normally.

If you still get any errors, try the command bootsect /nt60 all  given in the step 4.

Thanks for reading my blog !

0 comments:

Post a Comment