Introduction
Windows 10 users (Build 2004, 19041) may encounter issues when attempting to enter Safe Mode. If the advanced boot menu or UEFI settings do not provide a solution, this article covers the steps necessary to fix the boot record manually.
Understanding the Boot Record
The boot record is a crucial data structure containing information on the location and identification of the operating system and the partition from which it should be loaded. Windows uses the boot record to initiate the boot process.
Identifying the Problem
When entering Safe Mode is not possible, it may indicate that the boot record is either corrupted or inaccessible. In some cases, a system update could overwrite the boot record with incorrect information.
Checking the Boot Record
To confirm the issue, run the 'Bootrec' utility from the Windows Recovery Environment (WinRE) by following these steps:
1. Boot from the Windows installation media or recovery drive.
2. Select your language and keyboard layout preferences, then click "Next."
3. On the "Install now" screen, click "Repair your computer."
4. On the Choose an option screen, click "Troubleshoot."
5. Click on "Advanced options."
6. Finally, click "Command Prompt."
Then, run the following commands:
bootrec /rebuildbcd
bootrec /fixmbr
bootrec /fixboot
Manually Fixing the Boot Record
If the Bootrec utility cannot resolve the issue, it can be helpful to manually update the boot entries in the Boot Configuration Data (BCD) store using the 'bcdedit' command:
1. Launch Command Prompt from the recovery drive or installation media.
2. Type the following command and press Enter:
bcdedit /export C:\BCD_Backup
This step backs up the existing BCD store.
3. Now, create a new boot entry with the following command:
bcdedit /create {bootmgr} /device partition=C:
Adjust the partition letter according to your system configuration.
4. Next, create a new Windows Boot Loader entry:
bcdedit /create /d "Windows 10" /application osloader
This command creates a device entry for the new Windows Boot Loader.
5. Find the GUID for the newly created Windows Boot Loader:
bcdedit /enum
Identify the GUID of the Windows Boot Loader entry created in step 4.
6. Assign the new Windows Boot Loader entry to the boot manager:
bcdedit /set {bootmgr} default {new_windows_loader_guid}
Replace 'new\_windows\_loader\_guid' in step 6 with the actual GUID identified in step 5.
- The boot record contains essential information on the operating system's location and partition for boot loading.
- The 'Bootrec' utility can help resolve issues with the boot record, but it may not always work.
- Using the 'bcdedit' command in the Command Prompt can manually create and update the boot entries within the BCD store.
References
- Microsoft documentation: Boot to Advanced Options Menu in Windows
- Microsoft TechNet article: Using Bootrec.exe to Repair the Boot Record
- Microsoft documentation: BCDEdit Command-Line Options