220-1102 Operating Systems Practice Question
A Windows 10 computer fails to boot and displays the error: 'Bootmgr is missing'. The technician boots from a Windows installation media. Which command should the technician use to repair the boot configuration data (BCD)?
⚠ Common exam trap
Many candidates confuse `bcdedit /rebuildbcd` (which does not exist) with the correct `bootrec /rebuildbcd` command, or they mistakenly choose `bootrec /fixmbr` thinking it fixes all boot issues, when it only repairs the MBR, not the BCD.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
bootrec /rebuildbcd
The 'Bootmgr is missing' error indicates that the Boot Configuration Data (BCD) store is corrupted or missing. Booting from Windows installation media and using `bootrec /rebuildbcd` scans all drives for known Windows installations and prompts the technician to add them to a new BCD store, directly repairing the boot configuration.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
bcdedit /rebuildbcd
Why it's wrong here
bcdedit is a BCD store editor, not a rebuild utility. There is no /rebuildbcd switch for bcdedit, so typing this produces a 'not recognized' error from the tool. Even if a switch existed, bcdedit lacks the disk-scanning logic that bootrec uses to locate Windows installations and recreate the BCD store.
- ✗
bootrec /fixmbr
Why it's wrong here
bootrec /fixmbr rewrites the master boot record code in the first sector of the system disk so the BIOS can locate bootmgr, but it does not inspect or recreate the Boot Configuration Data database. Because the 'Bootmgr is missing' error occurs after bootmgr loads and needs the BCD to locate and start Windows, repairing only the MBR leaves the corrupt BCD in place and the boot failure persists.
- ✓
bootrec /rebuildbcd
Why this is correct
bootrec /rebuildbcd is the correct recovery action because it scans every local disk for Windows installations and then prompts you to add each found installation to a newly built BCD store. Run from the Windows Recovery Environment command prompt, this command regenerates the BCD in the active partition, replacing a missing or corrupted store with a valid one. The answer expects this exact command rather than a similar bcdedit variant.
- ✗
sfc /scannow
Why it's wrong here
sfc /scannow validates and repairs Windows system-file integrity using the component store (WinSxS) and is designed to run while Windows can still load its kernel; in the repair environment, sfc cannot resolve a missing Boot Configuration Data because the BCD is a boot-store database and not a protected system file with catalog hashes. This makes it useless when the failure occurs before the OS session boot phase.
Go deeper
Related to this question
Learn chapter
PXE Boot and Windows Deployment Services
Key term
Windows
Windows is a family of operating systems developed by Microsoft that manages computer hardware and software, providing a graphical user interface for users to interact with their devices.
Key term
Windows 10
Windows 10 is a personal computer operating system developed by Microsoft that combines the familiarity of Windows 7 with the modern features of Windows 8, designed to run on a wide range of devices from desktops to tablets.
About these practice questions
Courseiva writes every 220-1102 question from scratch — 925 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This 220-1102 practice question is part of Courseiva's free CompTIA certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the 220-1102 exam.