What is the directory of the bcd file?

Abstract: Locates the BCD file in the EFI System Partition or C:\Boot\BCD to troubleshoot Windows boot failures.

Created: 2026-09-11 by
The Boot Configuration Data (BCD) file is not stored in a single standard directory on your hard drive like typical documents. Instead, it resides within a hidden system partition called the EFI System Partition (ESP) or, on older systems, in the root of the C: drive. Understanding this location is critical for troubleshooting boot failures and repairing Windows startup issues.

Understanding the BCD Store Structure

To locate the BCD file, you must first understand that modern Windows installations use a UEFI firmware interface rather than the legacy BIOS. In this architecture, the boot configuration is stored in a binary store known as the BCD store. This store is physically located on the EFI System Partition (ESP), which is a small FAT32-formatted partition created during the initial Windows installation. On systems using the traditional BIOS/MBR setup, the BCD data might be found directly in the \Boot\BCD path on the active system drive, typically C:\. However, even in these cases, the file is marked as hidden and read-only to prevent accidental modification. For the vast majority of users running Windows 10 or Windows 11 on UEFI hardware, the file is strictly contained within the ESP.

Locating the File via Command Prompt

The most reliable way to find the exact drive letter assigned to the ESP is by using the DiskPart utility. This tool allows you to view all partitions on your disk without needing third-party software. Follow these steps to identify the correct volume.
  1. Open the Start menu, type cmd, right-click "Command Prompt," and select "Run as administrator."
  2. Type diskpart and press Enter to launch the disk management tool.
  3. Enter list vol to display all volumes on your system.
  4. Look for a volume with a size between 100 MB and 500 MB that is formatted as FAT32. This is usually the EFI System Partition.
Once you have identified the volume number of the ESP, you can assign it a temporary drive letter to access its contents. Type select vol X (replacing X with the volume number) followed by assign letter=S. Now, open File Explorer and navigate to S:\EFI\Microsoft\Boot\. Inside this folder, you will find the BCD file. After verifying its presence, remember to remove the drive letter by returning to the command prompt and typing remove letter=S to maintain security. For more complex boot repair scenarios involving corrupted stores, see our guide on BCD won't let repair boot Windows & can't boot Linux distro.

Accessing the BCD File in Legacy Systems

If you are working with an older computer that uses MBR partitioning and BIOS firmware, the location differs slightly. In this scenario, the BCD file is typically located at C:\Boot\BCD. Because this file is hidden by default, you need to enable the viewing of hidden items in File Explorer. Navigate to the View tab in File Explorer and check the box for "Hidden items." Then, go to the root of your C: drive and enter the Boot folder. You should see the BCD file there. It is important to note that modifying this file manually using a text editor is dangerous and often impossible because it is a binary file managed by the bcdedit command-line tool.

Why the Location Matters

Knowing where the BCD file lives helps when diagnosing why Windows fails to start. If the file is missing or corrupted from the ESP, the system will display errors like "No Boot Device Found" or "Boot Manager Missing." In such cases, simply copying a backup file may not suffice; you often need to rebuild the store using commands like bcdboot c:\windows. Additionally, if you are dual-booting with Linux, the BCD file's location is crucial for configuring the GRUB bootloader or ensuring that Windows appears correctly in the boot menu. Misidentifying the partition can lead to overwriting critical boot data. For users needing to adjust how their system initializes hardware before loading the OS, understanding the boot chain is essential, much like knowing how to boot into UEFI firmware via command line.

Best Practices for Backup

Before making any changes to the BCD store, always create a backup. Open an elevated Command Prompt and run the command bcdedit /export C:\BCD_Backup. This creates a copy of the current store on your C: drive. If something goes wrong during a repair, you can restore it using bcdedit /import C:\BCD_Backup. Never attempt to edit the file in the ESP directly unless you are following a specific Microsoft support procedure, as incorrect edits can render the system unbootable.

Frequently Asked Questions

Can I delete the BCD file to fix boot issues?

No, deleting the BCD file will prevent Windows from starting. The file contains essential instructions on where the operating system kernel is located and which drivers to load. Deleting it requires a full reinstall or a repair install from installation media.

Is the BCD file visible in normal File Explorer mode?

No, the BCD file is hidden by default due to its system-critical nature. You must enable "Hidden items" in the View settings or use the Command Prompt to access it safely. Even then, you typically need administrative privileges to view its properties.

What happens if the BCD file is corrupted?

A corrupted BCD file results in boot failure, often showing error codes like 0xc000000f or 0xc0000225. You will likely be unable to access Safe Mode or Advanced Startup options. Repairing it usually involves using the Windows Installation Media to run automatic repairs or manually rebuilding the store.

Does moving my C: partition affect the BCD location?

Moving the C: partition does not move the BCD file itself, as the BCD resides on the separate EFI System Partition. However, changing the drive letter of the system partition can break references within the BCD store. If you move partitions, you may need to update the BCD entries using bcdedit to reflect new paths. See how to move C partition to another disk for detailed steps.

Can I edit the BCD file with Notepad?

No, the BCD file is a binary database, not a plain text file. Opening it in Notepad will result in garbled characters and will not allow you to make meaningful changes. You must use the bcdedit command-line utility or the Graphical User Interface tools provided by Windows to modify boot settings.

Latest News

How to Display Output of xterm Command in Terminal Screen using Cron

Resolve the inability to display xterm output in a terminal screen from cron by redirecting logs or using wall instead of insecure X11 workarounds.

Read More
Expose Local Server on VPS Preserving Real Client IPs (OS Level)

Resolve VPS logging showing only gateway IPs by configuring reverse proxies to forward real client addresses via X-Forwarded-For headers.

Read More
How to Clear Recent Files History in Linux without Deleting Actual Files?

Clear recent files history in Linux by deleting ~/.local/share/recently-used.xbel without removing the actual files.

Read More
Best HDD Copy Strategy: Manually Syncing and Rewriting Scratch

Resolve data drift between two 4TB hard drives by using rsync with the --delete flag to manually sync and rewrite scratch data for an exact mirror.

Read More
Understanding Bash Prompt Abbreviations: An Overview

Resolve repetitive typing errors by creating and persisting Bash aliases in the .bashrc file for improved command-line efficiency.

Read More
Free Tools and Methods to Log Real-Time Performance Details in Task Manager

Log real-time CPU and memory metrics to CSV files using Windows Performance Monitor Data Collector Sets to troubleshoot system slowness.

Read More
Contact Qatar Airways Customer Service: Phone Number, Help Center, and More

Resolve urgent Qatar Airways reservation issues like flight changes and baggage claims using the US phone number +1801-855-5905 or online self-service tools.

Read More
Windows 11: Alt Codes Displaying Wrong Characters - Solutions

Resolve Windows 11 Alt codes showing wrong characters by verifying the US keyboard layout and enabling Num Lock.

Read More
Run Programs with Elevated Privileges: A Comprehensive Guide

Eliminates the need to type sudo for frequent administrative tasks by configuring .bashrc aliases or functions.

Read More
Dynamically Changing Dates in Excel Formulas Using Cells

Eliminate manual date updates in Excel by using cell references to create dynamic formulas that automatically adjust calculations when input dates change.

Read More
Granting Edit Access to a Specific Excel Sheet in an Office 365 User Email ID-Based Login

Excel Online lacks native sheet-level permissions, so users must split workbooks or use worksheet protection to isolate edit access for specific tabs.

Read More
Creating Network Load on Local Wi-Fi from One PC

Generate sustained Wi-Fi bandwidth load from a single PC using a VM SFTP server to test router stability and throughput.

Read More
Changing the Default Editor for Batch Files in Windows 11's File Explorer

Resolve the issue of batch files opening in Notepad by changing the default editor to a preferred application like VS Code.

Read More
Gain WiFi Connection Minutes Before Losing it by Changing MAC Address

Bypass MAC address filtering to restore WiFi connectivity temporarily when a device is blocked by network administrators.

Read More
Photos Folders Turned Black: Troubleshooting Picture Applications on Windows

Resolve black screens in Windows Photos by resetting the app, updating graphics drivers, and repairing system files.

Read More
Troubleshooting High CPU Temperature Values: A Step-by-Step Guide

Resolve high CPU temperatures and thermal throttling by monitoring with Speedfan, cleaning dust from cooling components, and replacing degraded thermal paste.

Read More
Make cURL establish TLS connection with CA unknown

Resolve cURL TLS connection failures with unknown or self-signed certificates by using the --insecure flag to bypass CA validation.

Read More
Troubleshooting Incorrect Network Metrics Values in Grafana, Prometheus, InfluxDB, and Telegraf

Fix incorrect network metrics in Grafana, Prometheus, InfluxDB, and Telegraf by verifying interface selection, resolving unit mismatches, and handling counter resets.

Read More
Start Another Terminal Window (cmd.exe) Windows Repair/Troubleshoot

Provides step-by-step instructions to access the Windows Command Prompt via bootable media for advanced system repair and troubleshooting.

Read More
Thinkpad P1 Gen 6: Sudden Thunderbolt 3 Dock USB-C Charging Stopped Working

Resolve sudden Thunderbolt 3 dock USB-C charging and internet failure on ThinkPad P1 Gen 6 by updating firmware, resetting the dock, and adjusting power settings.

Read More
ASUS Windows 11 Laptop: Internet Connection Issue with Hotspot

Resolve ASUS Windows 11 laptop spinning wheel issue when connecting to mobile hotspot by resetting network stack, disabling IPv6, and adjusting power settings.

Read More
Developing iOS Project with Firebase: Logging in and Sending Push Notifications

Integrates Firebase to enable secure user authentication and push notifications in iOS applications.

Read More
Troubleshooting Bash Script with Suspected Issues of Spaces, Dashes, Filenames and Quoting

Resolve Bash script failures caused by word splitting, globbing, and special characters in filenames by applying proper quoting techniques.

Read More
Populating OneDrive Folder for Local Backup without Affecting Remote Files

Prevent OneDrive from deleting remote files during Windows reinstallation by unlinking the account or using symbolic links to isolate local data.

Read More
Force First Frame as Keyframe Without Re-encoding: A Quick Solution

Resolve inaccurate seeking and playback glitches by re-encoding video to ensure the first frame is a valid keyframe.

Read More
Find Information in Database Using WSL (Ubuntu) on Windows-10

Resolve database connection issues from WSL Ubuntu on Windows 10 by configuring client tools and network access to query remote or local servers.

Read More
Configuring a New Router with Different Networks: One Family, One Guest

Resolve IP conflicts and isolate guest traffic by configuring a second router with a distinct subnet via its WAN port.

Read More
Quickly Open Multiple Stock Websites with a Single Command

Solve the problem of manually opening multiple stock research websites by creating a single command to launch them simultaneously on Windows, macOS, or Linux.

Read More
Improved Adobe Acrobat Search Experience: Access Advanced Search with Ease

Access advanced search filters like case sensitivity and regex in Adobe Acrobat by clicking More Options in the Find bar.

Read More
Port Forwarding VM via OpenVPN: A Comprehensive Guide

Configure OpenVPN server and iptables to forward specific ports from VPN clients to a virtual machine's internal IP address.

Read More
Understanding Partitions in the 1980s: A Look Back at MS-DOS and Master Boot Record

Explains how the Master Boot Record and partition table enabled MS-DOS to manage multiple disk volumes on a single physical drive.

Read More
Windows 10 Enterprise: Keyboard Not Detected in Managed Organization with Admin Privileges

Resolve Windows 10 Enterprise keyboard detection failures caused by Group Policy restrictions, driver corruption, or USB enumeration errors.

Read More
Can't Find x86_64 Versions of Applications on MacOS arm64 (M1)

Resolve missing x86_64 app issues on M1 Macs by installing Rosetta 2 and reinstalling apps as universal binaries.

Read More
How to Hide Installation Source for an Android App

Manage Android app installation source visibility by using USB transfers or file managers to reduce browser traces and isolate data via work profiles.

Read More
Connecting Momentus 4200.2 ST9808210A Hard Drive via USB Cable

Resolve inability to access Seagate Momentus 4200.2 ST9808210A hard drive by connecting it via USB using a compatible SATA-to-USB adapter and configuring the disk in Windows.

Read More