And plug an empty USB flash drive (over 8GB) to this PC as well.Ģ.
Download, install and run AOMEI Partition Standard on a working Windows computer. However, if you don’t have one, how can you make it done? Thus, you can switch to the free partition manager-AOMEI Partition Assistant Standard, which helps you to repair damaged MBR without using DVD or CD Instead, you can use this freeware to create a bootable media (USB flash drive) first, boot computer from it and then rebuild MBR in Windows PE environment.ġ.
If your Windows OS is not installed in C drive, please replace c:\ with your drive letter in above commands.Ībove is all about how to fix MBR through Command Line using Windows installation CD or DVD. Ren BCD BCD.backup: back up the old BCD and recreate a new one.īcdboot c:\Windows /l en-us /s g: /f ALL: recreate the BCD.Īt last, remove the DVD and reboot your PC.
Then run the below commands in the Command Prompt window:Ĭd /d g:\EFI\Microsoft\Boot\: replace “g” with the letter you assigned to the EFI partition. When Diskpart successfully assigned the drive letter, you need to type “exit” to close the Diskpart window.ĥ. Type “ assign letter= g” or other unused drive letters.Ĥ. Supposing it is “2”, you need to type the command: “ select volume 2”.ģ. Check out the volume number of EFI partition. Type “ diskpart-> list disk->select disk 0 -> list volume” to check for the EFI partition that was formatted to be FAT32 file system.Ģ.
▸ If the above commands do not work, do as below to restore the boot sector code in Windows 10/8:ġ. Remove the DVD and restart your computer to check if it can boot up successfully. When the Command Prompt loads, execute the following commands in order:Ĥ. Choose “Troubleshoot”> “Advanced options” and then “Command Prompt”.ģ. At the Welcome screen, click “Repair your computer”.Ģ. Boot from Windows installation DVD or CD.
Likewise, you have to boot computer from Windows 8/8.1/10 original installation CD, or created bootable media.ġ. Fix MBR via Command Prompt Windows 8/8.1/10
Remove the CD/DVD from the disk tray, type“Exit” and press “Enter” to restart your PC. Then type command: “ bootsect /nt60 SYS /mbr” and hit on “Enter”.Ĥ. If the drive letter is d:\, type the command: “ exit d: cd boot dir”.ģ. Find out the “CD-ROM” word in the “Type” column.Then check your CD/DVD installation drive letter. Check out the drive letter of your Windows 7 installation CD/DVD by running commands: “ diskpart-> list disk->select disk 0 -> list volume”.Ģ. ▸ If the above commands do not work, do as below to restore the boot sector code in Windows 7:ġ. Then, you can remove the installation DVD from the disk tray and restart your computer to check if the boot MBR is fixed. When Command Prompt launches successfully, type the following command in the given order and hit on “Enter” after each one. At the “System Recovery Options” screen, click on “Command Prompt”.Ħ. Select the operating system and click “Next” and tick “Use recovery tools that can help fix problems starting Windows”.ĥ. Select a language, keyboard layout and click “Next”.Ĥ. At the “Press any key to boot from CD or DVD…”, press any key to boot PC from the inserted DVD.ģ. Boot computer from the Windows 7 installation CD/DVD.Ģ.
If you don’t have one, you can download Windows ISO files from the official Microsoft website and create a bootable USB drive.ġ.
To fix damaged MBR using Command Prompt, you have to use the Windows installation CD/DVD to boot your computer since it is unable to boot from the OS. Fix MBR via Command Prompt Windows 8/8.1/10/11 Since Windows 7 and Windows 8/8.1/10 slightly differ in accessing Command Prompt, we make two respective tutorials for your reference. Thus, how to repair MBR so that you can boot the OS successfully? This part will illustrate how to fix MBR through Command Line step by step in Windows 10/8/7. Now that you might have known the importance of MBR, but what will happen if the MBR is damaged because of a virus infection, drive failure, or an MBR overwrite? Generally, as a result, your computer may fail to boot and prompts one of the following error messages during OS initial: MBR holds significant information that enables your PC to find and identify the OS location and allows Windows to boot up successfully. It is the first 512 bytes of your hard disk. It is created on the very first partition when you install Windows on your computer. The Master Boot Record (MBR) is a boot sector of any hard disk that identifies how and where the operating system is located. Fix MBR from Command Prompt in Windows 10/8/7įree alternative to CMD: fix MBR without Windows CD/DVD