SlideShare a Scribd company logo
How to use the Command Prompt
to fix issues with your PC's boot
records
TUTORIAL by Ciprian Adrian Rusen published on 02/02/2017
You can use system recovery tools to fix most of your computer
problems. However, there are times when you'll need to address such
issues in a manual way, like, for example, when your Windows
computer won't boot. In these cases, you can use a tool named
Bootrec.exe. It can help you troubleshoot and repair things like the
master boot record (MBR), the boot sector or the Boot Configuration
Data (BCD) store. Here's how it works, in all modern versions of
Windows:
NOTE: This guide covers Windows 10, Windows 7 and Windows 8.1.
Bootrec.exe - The ultimate repair tool for boot
problems in Windows
No matter whether you use Windows 7 or Windows 10, if your
operating system has trouble booting and Startup Repair
(http://www.digitalcitizen.life/fix-problems-
keep-windows-81-loading-start-repair) can't fix the problem,
it's worth trying the Bootrec.exe tool. With this tool you can repair the
Master Boot Record (MBR), write a new boot sector, rebuild the Boot
Configuration Data (BCD) and add missing Windows installations to
the boot configuration data.
DIGITAL CITIZEN
How to use the Command Prompt to fix issues with your PC's boot records | Digital Citizen http://www.digitalcitizen.life/command-prompt-fix-issues-your-boot-records
1 of 12 2/16/2017 3:42 PM
If you need to know what all these mean, here’s an explanation for each
of them:
Master Boot Record (MBR) - the first sector of your system
drive. Its purpose is to tell the computer’s BIOS where to look for
the operating system, so that it can start it.
Boot sector - the region of the disk that contains the code to be
loaded into the RAM memory, that is necessary to load the
operating system. A boot sector must have a specific disk
signature to be seen by BIOS as a boot sector. If this signature is
corrupted, or has been changed, the BIOS will not be able to find
the boot sector and won't be able to load the necessary
instructions for finding and starting the operating system. In
Windows 7 and newever versions of Windows, the boot sector
loads the Windows Boot Manager, accesses the Boot
Configuration Data and uses this information to load the
operating system
Boot Configuration Data (BCD) - The BCD is a database of
boot-time configuration data that is used by the Windows Boot
Manager. The Boot Configuration Data is stored in a data file
that has the same format as the Windows Registry.
How to start the Command Prompt when
Windows won’t load successfully
In order to be able to use Bootrec.exe, you'll have to use Command
Prompt. However, because you already have startup issues, it's obvious
that you won't be able to simply run it from Windows.
You need to use a repair disc or a recovery drive that was created on a
working Windows computer. Here are some guides that will help you
create such discs/drives:
For optimal navigation, this site uses cookies. By continuing your browsing you agree with our use of cookies. OK More Info
How to use the Command Prompt to fix issues with your PC's boot records | Digital Citizen http://www.digitalcitizen.life/command-prompt-fix-issues-your-boot-records
2 of 12 2/16/2017 3:42 PM
What is a system repair disc and how to create one in Windows
(http://www.digitalcitizen.life/what-system-
repair-disc-and-how-create-one-windows) - this guide
applies to all modern versions of Windows. Windows 7 users can
only use this method if they want to have a chance at repairing
the computer. The repair disc can be a CD or DVD with all the
necessary files for troubleshooting your system
How to create a recovery drive in Windows 10
(http://www.digitalcitizen.life/how-create-
recovery-drive-windows-10) - learn how to create a
bootable USB memory stick with recovery tools for Windows 10.
How to create a recovery drive on a USB memory stick in
Windows 8 & 8.1 (http://www.digitalcitizen.life
/how-create-recovery-drive-usb-memory-stick-
windows-8-81) - this guide is useful for Windows 8 users only.
Once you have recovery drive/disc created, boot from it. In order to do
that, plug it in and start your Windows computer or device. Immediately
after it starts, press the boot device selection key on your keyboard. It’s
usually the F12, F11 or the Escape key, but it could be another as well,
depending on the manufacturer of your device’s mainboard. Doing that
will make your computer display a boot priority selection menu. Use the
arrow keys on the keyboard to select the recovery drive. Then, press
Enter and, when asked to press any key to boot from that drive, do so.
For optimal navigation, this site uses cookies. By continuing your browsing you agree with our use of cookies. OK More Info
How to use the Command Prompt to fix issues with your PC's boot records | Digital Citizen http://www.digitalcitizen.life/command-prompt-fix-issues-your-boot-records
3 of 12 2/16/2017 3:42 PM
If you are using Windows 10 or Windows 8.1, once your PC boots from
the USB drive, you will be asked to choose the keyboard layout that you
want to use. When this happens, click or tap on the layout that matches
your keyboard. To navigate between all the available keyboard layouts,
press “See more keyboard layouts”.
For optimal navigation, this site uses cookies. By continuing your browsing you agree with our use of cookies. OK More Info
How to use the Command Prompt to fix issues with your PC's boot records | Digital Citizen http://www.digitalcitizen.life/command-prompt-fix-issues-your-boot-records
4 of 12 2/16/2017 3:42 PM
The list of available keyboard languages is quite long and you may have
to scroll a lot until you find the layout that you want to use. On the next
screen, you should click or tap on Troubleshoot (Reset your PC or see
advanced options).
For optimal navigation, this site uses cookies. By continuing your browsing you agree with our use of cookies. OK More Info
How to use the Command Prompt to fix issues with your PC's boot records | Digital Citizen http://www.digitalcitizen.life/command-prompt-fix-issues-your-boot-records
5 of 12 2/16/2017 3:42 PM
On the Advanced options screen, click or tap on Command Prompt.
If you are using Windows 7, first, select the keyboard input method that
you want to use and click Next.
For optimal navigation, this site uses cookies. By continuing your browsing you agree with our use of cookies. OK More Info
How to use the Command Prompt to fix issues with your PC's boot records | Digital Citizen http://www.digitalcitizen.life/command-prompt-fix-issues-your-boot-records
6 of 12 2/16/2017 3:42 PM
Then, it scans for available Windows installations and lists those that are
found. Select the Windows 7 installation that you want to repair and
click Next.
Then, when the list of available System Recovery Options are shared,
click Command Prompt.
For optimal navigation, this site uses cookies. By continuing your browsing you agree with our use of cookies. OK More Info
How to use the Command Prompt to fix issues with your PC's boot records | Digital Citizen http://www.digitalcitizen.life/command-prompt-fix-issues-your-boot-records
7 of 12 2/16/2017 3:42 PM
Once you've launched the Command Prompt, type the command
bootrec.exe and hit Enter to see the options that are available for this
tool. As you can see in the screenshot below, there are four parameters
available: /FixMbr, /FixBoot, /ScanOs and /RebuildBcd.
For optimal navigation, this site uses cookies. By continuing your browsing you agree with our use of cookies. OK More Info
How to use the Command Prompt to fix issues with your PC's boot records | Digital Citizen http://www.digitalcitizen.life/command-prompt-fix-issues-your-boot-records
8 of 12 2/16/2017 3:42 PM
Let’s see how each of them can help you solve your computer’s boot
problems. Keep in mind though, that even if the Bootrec.exe tool can
handle most boot problems, it does not guarantee success in every
possible situation.
How to repair the Master Boot Record (MBR)
The first parameter of the Bootrec.exe tool is /FixMbr. It allows the
repair of a corrupted or damaged Master Boot Record (MBR). Usually,
you will use this parameter when you are faced with one of these error
messages: “Operating System not found", “Error loading operating
system", “Missing operating system" or “Invalid partition table". To
start the repair process of the MBR, run the command: bootrec.exe
/fixmbr.
How to write a new boot sector
For optimal navigation, this site uses cookies. By continuing your browsing you agree with our use of cookies. OK More Info
How to use the Command Prompt to fix issues with your PC's boot records | Digital Citizen http://www.digitalcitizen.life/command-prompt-fix-issues-your-boot-records
9 of 12 2/16/2017 3:42 PM
The /FixBoot parameter writes a new boot sector to the system
partition. The tool will use a boot sector that is compatible with your
Windows version. Using this parameter is useful in the following
situations:
The boot sector has been replaced with a non-standard Windows
boot sector;
The boot sector is damaged;
An earlier Windows operating system has been installed after
your version of Windows was installed.
To start writing a new boot sector, use this command: bootrec.exe
/fixboot.
How to rebuild the Boot Configuration Data
(BCD)
The Boot Configuration Data (BCD) contains a detailed list of what is
supposed to load at startup. Microsoft indicates that a boot error can
also be caused by missing or damaged files in the BCD. The /rebuildbcd
parameter can be very useful when you must fix some errors by
completely rebuilding the BCD. To completely rebuild the Boot
Configuration Data, run this command: bootrec.exe /rebuildbcd.
How to add missing Windows installations to theFor optimal navigation, this site uses cookies. By continuing your browsing you agree with our use of cookies. OK More Info
How to use the Command Prompt to fix issues with your PC's boot records | Digital Citizen http://www.digitalcitizen.life/command-prompt-fix-issues-your-boot-records
10 of 12 2/16/2017 3:42 PM
Boot Configuration Data
If your computer has multiple operating systems installed but not all of
them are available, use the /ScanOS option. Using this parameter on
Bootrec.exe will launch a scan on all disks for any Windows
installations that are not currently included in the Boot Configuration
Data (BCD). In the screenshot below, you can see how this scan process
might look.
If the bootrec.exe /scanos command returns results, you will be able to
continue the repair process. In the end, you will get the lost Windows
installation back into the secure BCD table, thus making it bootable
again.
First of all, you have to clean the Master Boot Record (MBR) by using
bootrec /fixmbr. Next, type bootsect.exe /nt60 all /force and press
Enter. The /nt60 parameter applies the master boot code that is
compatible with BOOTMGR. The /all argument updates the master boot
code on all partitions. The /force parameter forcibly dismounts the
volume(s) during the boot code update so that the Bootsect.exe tool
does not gain exclusive volume access.
For optimal navigation, this site uses cookies. By continuing your browsing you agree with our use of cookies. OK More Info
How to use the Command Prompt to fix issues with your PC's boot records | Digital Citizen http://www.digitalcitizen.life/command-prompt-fix-issues-your-boot-records
11 of 12 2/16/2017 3:42 PM
Running all these commands will create a new MBR and tell it to use
the correct Windows boot loader in order to load that specific
installation from your drive.
Conclusion
As you can from this guide, Bootrec.exe is a very powerful tool for
troubleshooting and fixing problems with your Windows computer's
boot records. If you know other ways to fix issues with your boot
records, don’t hesitate to share them in a comment.
For optimal navigation, this site uses cookies. By continuing your browsing you agree with our use of cookies. OK More Info
How to use the Command Prompt to fix issues with your PC's boot records | Digital Citizen http://www.digitalcitizen.life/command-prompt-fix-issues-your-boot-records
12 of 12 2/16/2017 3:42 PM

More Related Content

What's hot

How to format your computer??
How to format your computer??How to format your computer??
How to format your computer??
PleaseHelpMe
 
How to Backup HP Laptop Windows 10 to External Hard Drive
How to Backup HP Laptop Windows 10 to External Hard DriveHow to Backup HP Laptop Windows 10 to External Hard Drive
How to Backup HP Laptop Windows 10 to External Hard Drive
Irene Field
 
How to install windows xp
How to install windows xpHow to install windows xp
How to install windows xp
Glad Norman Limocon
 
Troubleshoot a failed hard drive help desk geek
Troubleshoot a failed hard drive   help desk geekTroubleshoot a failed hard drive   help desk geek
Troubleshoot a failed hard drive help desk geekTrường Tiền
 
Guide to dual booting
Guide to dual bootingGuide to dual booting
Guide to dual bootingMahfud Saja
 
Installing windows 10 and creating a bootable usb
Installing windows 10 and creating a bootable usbInstalling windows 10 and creating a bootable usb
Installing windows 10 and creating a bootable usb
Arsalan Qureshi
 
Flashbios dos para placas-mãe chipset x79
Flashbios dos para placas-mãe chipset x79Flashbios dos para placas-mãe chipset x79
Flashbios dos para placas-mãe chipset x79
arturbonilha mendes
 
How to install windows 8
How to install windows 8How to install windows 8
How to install windows 8
Itech Fever
 
Mac boot camp install-setup
Mac boot camp install-setupMac boot camp install-setup
Mac boot camp install-setupShrawan Kumar
 
Installing Operating System
Installing Operating System Installing Operating System
Installing Operating System
Perla Pelicano Corpez
 
How to create windows 10 bootable usb drive from iso using Command Prompt
How to create windows 10 bootable usb drive from iso using Command PromptHow to create windows 10 bootable usb drive from iso using Command Prompt
How to create windows 10 bootable usb drive from iso using Command Prompt
Viney Dhiman
 
Samsung ssd data_migration_user_manual_eng_v.3.1
Samsung ssd data_migration_user_manual_eng_v.3.1Samsung ssd data_migration_user_manual_eng_v.3.1
Samsung ssd data_migration_user_manual_eng_v.3.1
cchan14
 
How to install windows 7
How  to install windows 7How  to install windows 7
How to install windows 7cmark11
 
Pc hardware course work
Pc hardware course workPc hardware course work
Pc hardware course work
Ismail Mukiibi
 
Windows xp and windows 7 installaton
Windows xp and windows 7 installatonWindows xp and windows 7 installaton
Windows xp and windows 7 installaton
Siddharth Jain
 
Windows xp install
Windows xp installWindows xp install
Windows xp install
Veronica Alejandro
 
How to install Windows 7
How to install Windows 7 How to install Windows 7
How to install Windows 7
zhairine143
 
Top 10 PC Maintenance Tasks That You Need To Remember
Top 10 PC Maintenance Tasks That You Need To RememberTop 10 PC Maintenance Tasks That You Need To Remember
Top 10 PC Maintenance Tasks That You Need To Remember
sherireid89
 
Ghost Framework For Computer Backup
Ghost Framework For Computer BackupGhost Framework For Computer Backup
Ghost Framework For Computer Backup
ceinueng
 

What's hot (20)

How to format your computer??
How to format your computer??How to format your computer??
How to format your computer??
 
How to Backup HP Laptop Windows 10 to External Hard Drive
How to Backup HP Laptop Windows 10 to External Hard DriveHow to Backup HP Laptop Windows 10 to External Hard Drive
How to Backup HP Laptop Windows 10 to External Hard Drive
 
How to install windows xp
How to install windows xpHow to install windows xp
How to install windows xp
 
Troubleshoot a failed hard drive help desk geek
Troubleshoot a failed hard drive   help desk geekTroubleshoot a failed hard drive   help desk geek
Troubleshoot a failed hard drive help desk geek
 
Guide to dual booting
Guide to dual bootingGuide to dual booting
Guide to dual booting
 
Installing windows 10 and creating a bootable usb
Installing windows 10 and creating a bootable usbInstalling windows 10 and creating a bootable usb
Installing windows 10 and creating a bootable usb
 
Flashbios dos para placas-mãe chipset x79
Flashbios dos para placas-mãe chipset x79Flashbios dos para placas-mãe chipset x79
Flashbios dos para placas-mãe chipset x79
 
How to install windows 8
How to install windows 8How to install windows 8
How to install windows 8
 
Mac boot camp install-setup
Mac boot camp install-setupMac boot camp install-setup
Mac boot camp install-setup
 
Bootable Usb
Bootable UsbBootable Usb
Bootable Usb
 
Installing Operating System
Installing Operating System Installing Operating System
Installing Operating System
 
How to create windows 10 bootable usb drive from iso using Command Prompt
How to create windows 10 bootable usb drive from iso using Command PromptHow to create windows 10 bootable usb drive from iso using Command Prompt
How to create windows 10 bootable usb drive from iso using Command Prompt
 
Samsung ssd data_migration_user_manual_eng_v.3.1
Samsung ssd data_migration_user_manual_eng_v.3.1Samsung ssd data_migration_user_manual_eng_v.3.1
Samsung ssd data_migration_user_manual_eng_v.3.1
 
How to install windows 7
How  to install windows 7How  to install windows 7
How to install windows 7
 
Pc hardware course work
Pc hardware course workPc hardware course work
Pc hardware course work
 
Windows xp and windows 7 installaton
Windows xp and windows 7 installatonWindows xp and windows 7 installaton
Windows xp and windows 7 installaton
 
Windows xp install
Windows xp installWindows xp install
Windows xp install
 
How to install Windows 7
How to install Windows 7 How to install Windows 7
How to install Windows 7
 
Top 10 PC Maintenance Tasks That You Need To Remember
Top 10 PC Maintenance Tasks That You Need To RememberTop 10 PC Maintenance Tasks That You Need To Remember
Top 10 PC Maintenance Tasks That You Need To Remember
 
Ghost Framework For Computer Backup
Ghost Framework For Computer BackupGhost Framework For Computer Backup
Ghost Framework For Computer Backup
 

Similar to How to use the command prompt to fix issues with your pc's boot records digital citizen

How to fix a required drive partition is missing
How to fix a required drive partition is missingHow to fix a required drive partition is missing
How to fix a required drive partition is missing
Zoey Chen
 
Fix 0xc000000e error for windows 7, 8
Fix 0xc000000e error for windows 7, 8Fix 0xc000000e error for windows 7, 8
Fix 0xc000000e error for windows 7, 8
scarlet christer
 
Download Myboot disk
Download Myboot diskDownload Myboot disk
Download Myboot disk
Roach
 
Troubleshoot a failed hard drive help desk geek
Troubleshoot a failed hard drive   help desk geekTroubleshoot a failed hard drive   help desk geek
Troubleshoot a failed hard drive help desk geekTrường Tiền
 
Configuring startup and troubleshooting startup issues
Configuring startup and troubleshooting startup issuesConfiguring startup and troubleshooting startup issues
Configuring startup and troubleshooting startup issueselboob2025
 
IT Essentials (Version 7.0) - ITE Chapter 11 Exam Answers
IT Essentials (Version 7.0) - ITE Chapter 11 Exam AnswersIT Essentials (Version 7.0) - ITE Chapter 11 Exam Answers
IT Essentials (Version 7.0) - ITE Chapter 11 Exam Answers
ITExamAnswers.net
 
Computer basics
Computer basicsComputer basics
Computer basics
SARAVANAN ARUMUGAM
 
COC. 1 COMPUTER SYSTEM SPECIFICATIONS-BIOS.pptx
COC. 1 COMPUTER SYSTEM SPECIFICATIONS-BIOS.pptxCOC. 1 COMPUTER SYSTEM SPECIFICATIONS-BIOS.pptx
COC. 1 COMPUTER SYSTEM SPECIFICATIONS-BIOS.pptx
MaryGraceManaegHered
 
Optimize and speed up windows 7
Optimize and speed up windows 7Optimize and speed up windows 7
Optimize and speed up windows 7
Power Admin LLC
 
6_2020_03_05!06_46_22_PM.pptx
6_2020_03_05!06_46_22_PM.pptx6_2020_03_05!06_46_22_PM.pptx
6_2020_03_05!06_46_22_PM.pptx
JohnKingjohnkingmond
 
Dual Booting Win7 and ubuntu
Dual Booting Win7 and ubuntuDual Booting Win7 and ubuntu
Dual Booting Win7 and ubuntu
Ravi Malik
 
TLE ICT CSS 10 Cot lesson plan1
TLE ICT CSS 10 Cot lesson plan1TLE ICT CSS 10 Cot lesson plan1
TLE ICT CSS 10 Cot lesson plan1
Leonel Rivas
 
Window xp
Window xpWindow xp
Windows7 installation guide
Windows7 installation guide Windows7 installation guide
Windows7 installation guide
Nadeem Chaudhary
 
CSS LO6 - PREPARING AND INSTALLING OPERATING SYSTEM
CSS LO6 - PREPARING AND INSTALLING OPERATING SYSTEMCSS LO6 - PREPARING AND INSTALLING OPERATING SYSTEM
CSS LO6 - PREPARING AND INSTALLING OPERATING SYSTEM
Marvin Bronoso
 
Operating system
Operating systemOperating system
Operating system
sathish sak
 
trg1.pptx
trg1.pptxtrg1.pptx
trg1.pptx
SusmitaPal29
 
windows 7 installation.pptx
windows 7 installation.pptxwindows 7 installation.pptx
windows 7 installation.pptx
TerrenceRamirez1
 
Cmd usb
Cmd usbCmd usb
Cmd usb
tvedakumar
 
To pass ite chapter 5 exam
To pass ite chapter 5 examTo pass ite chapter 5 exam
To pass ite chapter 5 exam
Ahmed Abdullah
 

Similar to How to use the command prompt to fix issues with your pc's boot records digital citizen (20)

How to fix a required drive partition is missing
How to fix a required drive partition is missingHow to fix a required drive partition is missing
How to fix a required drive partition is missing
 
Fix 0xc000000e error for windows 7, 8
Fix 0xc000000e error for windows 7, 8Fix 0xc000000e error for windows 7, 8
Fix 0xc000000e error for windows 7, 8
 
Download Myboot disk
Download Myboot diskDownload Myboot disk
Download Myboot disk
 
Troubleshoot a failed hard drive help desk geek
Troubleshoot a failed hard drive   help desk geekTroubleshoot a failed hard drive   help desk geek
Troubleshoot a failed hard drive help desk geek
 
Configuring startup and troubleshooting startup issues
Configuring startup and troubleshooting startup issuesConfiguring startup and troubleshooting startup issues
Configuring startup and troubleshooting startup issues
 
IT Essentials (Version 7.0) - ITE Chapter 11 Exam Answers
IT Essentials (Version 7.0) - ITE Chapter 11 Exam AnswersIT Essentials (Version 7.0) - ITE Chapter 11 Exam Answers
IT Essentials (Version 7.0) - ITE Chapter 11 Exam Answers
 
Computer basics
Computer basicsComputer basics
Computer basics
 
COC. 1 COMPUTER SYSTEM SPECIFICATIONS-BIOS.pptx
COC. 1 COMPUTER SYSTEM SPECIFICATIONS-BIOS.pptxCOC. 1 COMPUTER SYSTEM SPECIFICATIONS-BIOS.pptx
COC. 1 COMPUTER SYSTEM SPECIFICATIONS-BIOS.pptx
 
Optimize and speed up windows 7
Optimize and speed up windows 7Optimize and speed up windows 7
Optimize and speed up windows 7
 
6_2020_03_05!06_46_22_PM.pptx
6_2020_03_05!06_46_22_PM.pptx6_2020_03_05!06_46_22_PM.pptx
6_2020_03_05!06_46_22_PM.pptx
 
Dual Booting Win7 and ubuntu
Dual Booting Win7 and ubuntuDual Booting Win7 and ubuntu
Dual Booting Win7 and ubuntu
 
TLE ICT CSS 10 Cot lesson plan1
TLE ICT CSS 10 Cot lesson plan1TLE ICT CSS 10 Cot lesson plan1
TLE ICT CSS 10 Cot lesson plan1
 
Window xp
Window xpWindow xp
Window xp
 
Windows7 installation guide
Windows7 installation guide Windows7 installation guide
Windows7 installation guide
 
CSS LO6 - PREPARING AND INSTALLING OPERATING SYSTEM
CSS LO6 - PREPARING AND INSTALLING OPERATING SYSTEMCSS LO6 - PREPARING AND INSTALLING OPERATING SYSTEM
CSS LO6 - PREPARING AND INSTALLING OPERATING SYSTEM
 
Operating system
Operating systemOperating system
Operating system
 
trg1.pptx
trg1.pptxtrg1.pptx
trg1.pptx
 
windows 7 installation.pptx
windows 7 installation.pptxwindows 7 installation.pptx
windows 7 installation.pptx
 
Cmd usb
Cmd usbCmd usb
Cmd usb
 
To pass ite chapter 5 exam
To pass ite chapter 5 examTo pass ite chapter 5 exam
To pass ite chapter 5 exam
 

Recently uploaded

Understanding Globus Data Transfers with NetSage
Understanding Globus Data Transfers with NetSageUnderstanding Globus Data Transfers with NetSage
Understanding Globus Data Transfers with NetSage
Globus
 
Enterprise Resource Planning System in Telangana
Enterprise Resource Planning System in TelanganaEnterprise Resource Planning System in Telangana
Enterprise Resource Planning System in Telangana
NYGGS Automation Suite
 
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
Globus
 
GlobusWorld 2024 Opening Keynote session
GlobusWorld 2024 Opening Keynote sessionGlobusWorld 2024 Opening Keynote session
GlobusWorld 2024 Opening Keynote session
Globus
 
A Comprehensive Look at Generative AI in Retail App Testing.pdf
A Comprehensive Look at Generative AI in Retail App Testing.pdfA Comprehensive Look at Generative AI in Retail App Testing.pdf
A Comprehensive Look at Generative AI in Retail App Testing.pdf
kalichargn70th171
 
Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus Compute wth IRI Workflows - GlobusWorld 2024Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus
 
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Shahin Sheidaei
 
Vitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume MontevideoVitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume Montevideo
Vitthal Shirke
 
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data AnalysisProviding Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
Globus
 
How to Position Your Globus Data Portal for Success Ten Good Practices
How to Position Your Globus Data Portal for Success Ten Good PracticesHow to Position Your Globus Data Portal for Success Ten Good Practices
How to Position Your Globus Data Portal for Success Ten Good Practices
Globus
 
Into the Box 2024 - Keynote Day 2 Slides.pdf
Into the Box 2024 - Keynote Day 2 Slides.pdfInto the Box 2024 - Keynote Day 2 Slides.pdf
Into the Box 2024 - Keynote Day 2 Slides.pdf
Ortus Solutions, Corp
 
Beyond Event Sourcing - Embracing CRUD for Wix Platform - Java.IL
Beyond Event Sourcing - Embracing CRUD for Wix Platform - Java.ILBeyond Event Sourcing - Embracing CRUD for Wix Platform - Java.IL
Beyond Event Sourcing - Embracing CRUD for Wix Platform - Java.IL
Natan Silnitsky
 
First Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User EndpointsFirst Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User Endpoints
Globus
 
Corporate Management | Session 3 of 3 | Tendenci AMS
Corporate Management | Session 3 of 3 | Tendenci AMSCorporate Management | Session 3 of 3 | Tendenci AMS
Corporate Management | Session 3 of 3 | Tendenci AMS
Tendenci - The Open Source AMS (Association Management Software)
 
Graphic Design Crash Course for beginners
Graphic Design Crash Course for beginnersGraphic Design Crash Course for beginners
Graphic Design Crash Course for beginners
e20449
 
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoamOpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
takuyayamamoto1800
 
Large Language Models and the End of Programming
Large Language Models and the End of ProgrammingLarge Language Models and the End of Programming
Large Language Models and the End of Programming
Matt Welsh
 
Globus Compute Introduction - GlobusWorld 2024
Globus Compute Introduction - GlobusWorld 2024Globus Compute Introduction - GlobusWorld 2024
Globus Compute Introduction - GlobusWorld 2024
Globus
 
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
Juraj Vysvader
 
Globus Connect Server Deep Dive - GlobusWorld 2024
Globus Connect Server Deep Dive - GlobusWorld 2024Globus Connect Server Deep Dive - GlobusWorld 2024
Globus Connect Server Deep Dive - GlobusWorld 2024
Globus
 

Recently uploaded (20)

Understanding Globus Data Transfers with NetSage
Understanding Globus Data Transfers with NetSageUnderstanding Globus Data Transfers with NetSage
Understanding Globus Data Transfers with NetSage
 
Enterprise Resource Planning System in Telangana
Enterprise Resource Planning System in TelanganaEnterprise Resource Planning System in Telangana
Enterprise Resource Planning System in Telangana
 
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
 
GlobusWorld 2024 Opening Keynote session
GlobusWorld 2024 Opening Keynote sessionGlobusWorld 2024 Opening Keynote session
GlobusWorld 2024 Opening Keynote session
 
A Comprehensive Look at Generative AI in Retail App Testing.pdf
A Comprehensive Look at Generative AI in Retail App Testing.pdfA Comprehensive Look at Generative AI in Retail App Testing.pdf
A Comprehensive Look at Generative AI in Retail App Testing.pdf
 
Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus Compute wth IRI Workflows - GlobusWorld 2024Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus Compute wth IRI Workflows - GlobusWorld 2024
 
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
 
Vitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume MontevideoVitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume Montevideo
 
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data AnalysisProviding Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
 
How to Position Your Globus Data Portal for Success Ten Good Practices
How to Position Your Globus Data Portal for Success Ten Good PracticesHow to Position Your Globus Data Portal for Success Ten Good Practices
How to Position Your Globus Data Portal for Success Ten Good Practices
 
Into the Box 2024 - Keynote Day 2 Slides.pdf
Into the Box 2024 - Keynote Day 2 Slides.pdfInto the Box 2024 - Keynote Day 2 Slides.pdf
Into the Box 2024 - Keynote Day 2 Slides.pdf
 
Beyond Event Sourcing - Embracing CRUD for Wix Platform - Java.IL
Beyond Event Sourcing - Embracing CRUD for Wix Platform - Java.ILBeyond Event Sourcing - Embracing CRUD for Wix Platform - Java.IL
Beyond Event Sourcing - Embracing CRUD for Wix Platform - Java.IL
 
First Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User EndpointsFirst Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User Endpoints
 
Corporate Management | Session 3 of 3 | Tendenci AMS
Corporate Management | Session 3 of 3 | Tendenci AMSCorporate Management | Session 3 of 3 | Tendenci AMS
Corporate Management | Session 3 of 3 | Tendenci AMS
 
Graphic Design Crash Course for beginners
Graphic Design Crash Course for beginnersGraphic Design Crash Course for beginners
Graphic Design Crash Course for beginners
 
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoamOpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
 
Large Language Models and the End of Programming
Large Language Models and the End of ProgrammingLarge Language Models and the End of Programming
Large Language Models and the End of Programming
 
Globus Compute Introduction - GlobusWorld 2024
Globus Compute Introduction - GlobusWorld 2024Globus Compute Introduction - GlobusWorld 2024
Globus Compute Introduction - GlobusWorld 2024
 
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
 
Globus Connect Server Deep Dive - GlobusWorld 2024
Globus Connect Server Deep Dive - GlobusWorld 2024Globus Connect Server Deep Dive - GlobusWorld 2024
Globus Connect Server Deep Dive - GlobusWorld 2024
 

How to use the command prompt to fix issues with your pc's boot records digital citizen

  • 1. How to use the Command Prompt to fix issues with your PC's boot records TUTORIAL by Ciprian Adrian Rusen published on 02/02/2017 You can use system recovery tools to fix most of your computer problems. However, there are times when you'll need to address such issues in a manual way, like, for example, when your Windows computer won't boot. In these cases, you can use a tool named Bootrec.exe. It can help you troubleshoot and repair things like the master boot record (MBR), the boot sector or the Boot Configuration Data (BCD) store. Here's how it works, in all modern versions of Windows: NOTE: This guide covers Windows 10, Windows 7 and Windows 8.1. Bootrec.exe - The ultimate repair tool for boot problems in Windows No matter whether you use Windows 7 or Windows 10, if your operating system has trouble booting and Startup Repair (http://www.digitalcitizen.life/fix-problems- keep-windows-81-loading-start-repair) can't fix the problem, it's worth trying the Bootrec.exe tool. With this tool you can repair the Master Boot Record (MBR), write a new boot sector, rebuild the Boot Configuration Data (BCD) and add missing Windows installations to the boot configuration data. DIGITAL CITIZEN How to use the Command Prompt to fix issues with your PC's boot records | Digital Citizen http://www.digitalcitizen.life/command-prompt-fix-issues-your-boot-records 1 of 12 2/16/2017 3:42 PM
  • 2. If you need to know what all these mean, here’s an explanation for each of them: Master Boot Record (MBR) - the first sector of your system drive. Its purpose is to tell the computer’s BIOS where to look for the operating system, so that it can start it. Boot sector - the region of the disk that contains the code to be loaded into the RAM memory, that is necessary to load the operating system. A boot sector must have a specific disk signature to be seen by BIOS as a boot sector. If this signature is corrupted, or has been changed, the BIOS will not be able to find the boot sector and won't be able to load the necessary instructions for finding and starting the operating system. In Windows 7 and newever versions of Windows, the boot sector loads the Windows Boot Manager, accesses the Boot Configuration Data and uses this information to load the operating system Boot Configuration Data (BCD) - The BCD is a database of boot-time configuration data that is used by the Windows Boot Manager. The Boot Configuration Data is stored in a data file that has the same format as the Windows Registry. How to start the Command Prompt when Windows won’t load successfully In order to be able to use Bootrec.exe, you'll have to use Command Prompt. However, because you already have startup issues, it's obvious that you won't be able to simply run it from Windows. You need to use a repair disc or a recovery drive that was created on a working Windows computer. Here are some guides that will help you create such discs/drives: For optimal navigation, this site uses cookies. By continuing your browsing you agree with our use of cookies. OK More Info How to use the Command Prompt to fix issues with your PC's boot records | Digital Citizen http://www.digitalcitizen.life/command-prompt-fix-issues-your-boot-records 2 of 12 2/16/2017 3:42 PM
  • 3. What is a system repair disc and how to create one in Windows (http://www.digitalcitizen.life/what-system- repair-disc-and-how-create-one-windows) - this guide applies to all modern versions of Windows. Windows 7 users can only use this method if they want to have a chance at repairing the computer. The repair disc can be a CD or DVD with all the necessary files for troubleshooting your system How to create a recovery drive in Windows 10 (http://www.digitalcitizen.life/how-create- recovery-drive-windows-10) - learn how to create a bootable USB memory stick with recovery tools for Windows 10. How to create a recovery drive on a USB memory stick in Windows 8 & 8.1 (http://www.digitalcitizen.life /how-create-recovery-drive-usb-memory-stick- windows-8-81) - this guide is useful for Windows 8 users only. Once you have recovery drive/disc created, boot from it. In order to do that, plug it in and start your Windows computer or device. Immediately after it starts, press the boot device selection key on your keyboard. It’s usually the F12, F11 or the Escape key, but it could be another as well, depending on the manufacturer of your device’s mainboard. Doing that will make your computer display a boot priority selection menu. Use the arrow keys on the keyboard to select the recovery drive. Then, press Enter and, when asked to press any key to boot from that drive, do so. For optimal navigation, this site uses cookies. By continuing your browsing you agree with our use of cookies. OK More Info How to use the Command Prompt to fix issues with your PC's boot records | Digital Citizen http://www.digitalcitizen.life/command-prompt-fix-issues-your-boot-records 3 of 12 2/16/2017 3:42 PM
  • 4. If you are using Windows 10 or Windows 8.1, once your PC boots from the USB drive, you will be asked to choose the keyboard layout that you want to use. When this happens, click or tap on the layout that matches your keyboard. To navigate between all the available keyboard layouts, press “See more keyboard layouts”. For optimal navigation, this site uses cookies. By continuing your browsing you agree with our use of cookies. OK More Info How to use the Command Prompt to fix issues with your PC's boot records | Digital Citizen http://www.digitalcitizen.life/command-prompt-fix-issues-your-boot-records 4 of 12 2/16/2017 3:42 PM
  • 5. The list of available keyboard languages is quite long and you may have to scroll a lot until you find the layout that you want to use. On the next screen, you should click or tap on Troubleshoot (Reset your PC or see advanced options). For optimal navigation, this site uses cookies. By continuing your browsing you agree with our use of cookies. OK More Info How to use the Command Prompt to fix issues with your PC's boot records | Digital Citizen http://www.digitalcitizen.life/command-prompt-fix-issues-your-boot-records 5 of 12 2/16/2017 3:42 PM
  • 6. On the Advanced options screen, click or tap on Command Prompt. If you are using Windows 7, first, select the keyboard input method that you want to use and click Next. For optimal navigation, this site uses cookies. By continuing your browsing you agree with our use of cookies. OK More Info How to use the Command Prompt to fix issues with your PC's boot records | Digital Citizen http://www.digitalcitizen.life/command-prompt-fix-issues-your-boot-records 6 of 12 2/16/2017 3:42 PM
  • 7. Then, it scans for available Windows installations and lists those that are found. Select the Windows 7 installation that you want to repair and click Next. Then, when the list of available System Recovery Options are shared, click Command Prompt. For optimal navigation, this site uses cookies. By continuing your browsing you agree with our use of cookies. OK More Info How to use the Command Prompt to fix issues with your PC's boot records | Digital Citizen http://www.digitalcitizen.life/command-prompt-fix-issues-your-boot-records 7 of 12 2/16/2017 3:42 PM
  • 8. Once you've launched the Command Prompt, type the command bootrec.exe and hit Enter to see the options that are available for this tool. As you can see in the screenshot below, there are four parameters available: /FixMbr, /FixBoot, /ScanOs and /RebuildBcd. For optimal navigation, this site uses cookies. By continuing your browsing you agree with our use of cookies. OK More Info How to use the Command Prompt to fix issues with your PC's boot records | Digital Citizen http://www.digitalcitizen.life/command-prompt-fix-issues-your-boot-records 8 of 12 2/16/2017 3:42 PM
  • 9. Let’s see how each of them can help you solve your computer’s boot problems. Keep in mind though, that even if the Bootrec.exe tool can handle most boot problems, it does not guarantee success in every possible situation. How to repair the Master Boot Record (MBR) The first parameter of the Bootrec.exe tool is /FixMbr. It allows the repair of a corrupted or damaged Master Boot Record (MBR). Usually, you will use this parameter when you are faced with one of these error messages: “Operating System not found", “Error loading operating system", “Missing operating system" or “Invalid partition table". To start the repair process of the MBR, run the command: bootrec.exe /fixmbr. How to write a new boot sector For optimal navigation, this site uses cookies. By continuing your browsing you agree with our use of cookies. OK More Info How to use the Command Prompt to fix issues with your PC's boot records | Digital Citizen http://www.digitalcitizen.life/command-prompt-fix-issues-your-boot-records 9 of 12 2/16/2017 3:42 PM
  • 10. The /FixBoot parameter writes a new boot sector to the system partition. The tool will use a boot sector that is compatible with your Windows version. Using this parameter is useful in the following situations: The boot sector has been replaced with a non-standard Windows boot sector; The boot sector is damaged; An earlier Windows operating system has been installed after your version of Windows was installed. To start writing a new boot sector, use this command: bootrec.exe /fixboot. How to rebuild the Boot Configuration Data (BCD) The Boot Configuration Data (BCD) contains a detailed list of what is supposed to load at startup. Microsoft indicates that a boot error can also be caused by missing or damaged files in the BCD. The /rebuildbcd parameter can be very useful when you must fix some errors by completely rebuilding the BCD. To completely rebuild the Boot Configuration Data, run this command: bootrec.exe /rebuildbcd. How to add missing Windows installations to theFor optimal navigation, this site uses cookies. By continuing your browsing you agree with our use of cookies. OK More Info How to use the Command Prompt to fix issues with your PC's boot records | Digital Citizen http://www.digitalcitizen.life/command-prompt-fix-issues-your-boot-records 10 of 12 2/16/2017 3:42 PM
  • 11. Boot Configuration Data If your computer has multiple operating systems installed but not all of them are available, use the /ScanOS option. Using this parameter on Bootrec.exe will launch a scan on all disks for any Windows installations that are not currently included in the Boot Configuration Data (BCD). In the screenshot below, you can see how this scan process might look. If the bootrec.exe /scanos command returns results, you will be able to continue the repair process. In the end, you will get the lost Windows installation back into the secure BCD table, thus making it bootable again. First of all, you have to clean the Master Boot Record (MBR) by using bootrec /fixmbr. Next, type bootsect.exe /nt60 all /force and press Enter. The /nt60 parameter applies the master boot code that is compatible with BOOTMGR. The /all argument updates the master boot code on all partitions. The /force parameter forcibly dismounts the volume(s) during the boot code update so that the Bootsect.exe tool does not gain exclusive volume access. For optimal navigation, this site uses cookies. By continuing your browsing you agree with our use of cookies. OK More Info How to use the Command Prompt to fix issues with your PC's boot records | Digital Citizen http://www.digitalcitizen.life/command-prompt-fix-issues-your-boot-records 11 of 12 2/16/2017 3:42 PM
  • 12. Running all these commands will create a new MBR and tell it to use the correct Windows boot loader in order to load that specific installation from your drive. Conclusion As you can from this guide, Bootrec.exe is a very powerful tool for troubleshooting and fixing problems with your Windows computer's boot records. If you know other ways to fix issues with your boot records, don’t hesitate to share them in a comment. For optimal navigation, this site uses cookies. By continuing your browsing you agree with our use of cookies. OK More Info How to use the Command Prompt to fix issues with your PC's boot records | Digital Citizen http://www.digitalcitizen.life/command-prompt-fix-issues-your-boot-records 12 of 12 2/16/2017 3:42 PM