{"id":57102,"date":"2023-06-30T11:51:27","date_gmt":"2023-06-30T06:21:27","guid":{"rendered":"http:\/\/198.58.113.91\/blog\/?p=57102"},"modified":"2023-08-05T20:05:15","modified_gmt":"2023-08-05T14:35:15","slug":"boot-configuration-data-store-could-not-be-opened","status":"publish","type":"post","link":"https:\/\/www.winhelponline.com\/blog\/boot-configuration-data-store-could-not-be-opened\/","title":{"rendered":"[Fix] The boot configuration data store could not be opened"},"content":{"rendered":"<p>When you run <code><strong>bcdedit<\/strong><\/code> to view the settings in the boot configuration database (BCD), the following error may occur:<\/p>\n<pre class=\"err\">The boot configuration data store could not be opened.\r\n\r\nThe volume for a file has been externally altered so that the opened file is no longer valid.<\/pre>\n<p><!--more--><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-57103\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2023\/06\/bcdedit_error.png\" alt=\"bcdedit cannot open BCD store - volume externally altered\" width=\"750\" height=\"177\" \/><\/p>\n<p>When you <a href=\"https:\/\/www.winhelponline.com\/blog\/access-windows-recovery-environment\/\">boot into Windows RE<\/a> and run the <code><strong>bootrec \/rebuild<\/strong><\/code> command to rebuild the BCD, the following error appears:<\/p>\n<pre class=\"err\">Cannot create a file when that file already exists.<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-57104\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2023\/06\/bootrec-rebuildbcd-error-file-exists.jpeg\" alt=\"bcdedit cannot open BCD store - volume externally altered - file not found\" width=\"750\" height=\"362\" \/><\/p>\n<p>Also, when Windows Setup is run, it fails to complete the installation if the BCD is inaccessible. You may see the following error or similar errors in the setupact.log.<\/p>\n<pre>Error IBSLIB BCD: File is not system store. File: \\Device\\HarddiskVolume1\\EFI\\Microsoft\\Boot\\BCD Status: 0[gle=0x000000cb]\r\nWarning SP SPGetCurrentOSGuid: BCD Open failed. Error: 0x000003EE\r\n\r\nInfo                  MOUPG  MoSetupPlatform: Opening BCD store...\r\nError                 MOUPG  CDlpActionDiskSpaceReq::CalculateRequiredDiskSpaceInstallReq(2227): Result = 0x800703EE[gle=0x000000cb]<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2023\/06\/0x800703ee.png\" alt=\"0x800703EE - Windows Setup error MCT ISO\" width=\"538\" height=\"205\" class=\"alignnone size-full wp-image-57124\" \/><\/p>\n<pre class=\"err\">\r\nSomething went wrong\r\n\r\nSelect Try again, and if that doesn't work, contact Microsoft support for help.\r\nError code 0x800703EE\r\n<\/pre>\n<p><em>Note: 0x800703EE or ERROR_FILE_INVALID means &#8220;The volume for a file has been externally altered so that the opened file is no longer valid.&#8221;<\/em><\/p>\n<p>Any operation that requires modifying the BCD file may throw an error message. For instance, when enable or disable Windows RE using <a href=\"https:\/\/www.winhelponline.com\/blog\/cant-reset-windows-10-could-not-find-win-re\/\">ReAgentC.exe<\/a> command, the following error may appear:<\/p>\n<pre class=\"err\">REAGENTC.EXE: Unable to update Boot Configuration Data.<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-57119\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2023\/06\/reagent-cant-update-bcd.png\" alt=\"reagentc.exe: unable to update boot configuration data\" width=\"750\" height=\"251\" \/><\/p>\n<p>All of the above errors indicate that the BCD file is locked somehow.<\/p>\n<h2>Cause<\/h2>\n<p>The above issue occurs if the EFI boot partition file system is corrupted. Running the WinRE command &#8220;<code>bootrec \/rebuildbcd<\/code>&#8221; may be unable to overwrite the &#8220;BCD&#8221; file (<code>Y:\\EFI\\Microsoft\\Boot\\BCD<\/code>) in such cases.<\/p>\n<p>Formatting the EFI boot partition and running the <code>bcdboot<\/code> command-line regenerates the BCD (and copies the boot files) should fix the errors.<\/p>\n<h2>Resolution<\/h2>\n<p>To fix the BCD store error, format the EFI boot partition and rebuild the BCD and boot files <a href=\"https:\/\/www.winhelponline.com\/blog\/access-windows-recovery-environment\/\">via Windows RE<\/a>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-full wp-image-6419\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2018\/08\/hand.png\" alt=\"hand point icon\" width=\"49\" height=\"27\" \/>A detailed, step-by-step guide on this subject is posted in the article <a href=\"https:\/\/www.winhelponline.com\/blog\/rebuild-efi-partition-bcd-boot-files\/\">How to Rebuild the EFI Boot Partition, BCD and Boot Files.<\/a><\/p>\n<p>That&#8217;s it. After rebuilding the EFI boot partition, the <strong>bcdedit<\/strong> command should work correctly from admin Command Prompt in Windows as well as WinRE.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-57115\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2023\/06\/bcdedit-output.png\" alt=\"bcdedit output from admin command prompt\" width=\"572\" height=\"669\" \/><\/p>\n<p>I hope that helps!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>When you run bcdedit to view the settings in the boot configuration database (BCD), the following error may occur: The boot configuration data store could not be opened. The volume for a file has been externally altered so that the opened file is no longer valid.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[8,869],"tags":[106,191,680],"class_list":["post-57102","post","type-post","status-publish","format-standard","hentry","category-windows-10","category-windows-11","tag-command-prompt","tag-error-messages","tag-windows-recovery-environment"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":59586,"url":"https:\/\/www.winhelponline.com\/blog\/bcd-0xc0000098-error-boot\/","url_meta":{"origin":57102,"position":0},"title":"[Fix] BCD Error 0xc0000098 During Boot","author":"Ramesh","date":"July 21, 2023","format":false,"excerpt":"When you start your computer, BCD error 0xc0000098 may appear, and pressing F1 may boot the system into Windows. Here's the entire error message: Recovery Your PC\/Device needs to be repaired The Boot Configuration Data file doesn't contain valid information for an operating System File: \\Boot\\BCD Error code: 0xc0000098 You'll\u2026","rel":"","context":"In &quot;Windows 10&quot;","block_context":{"text":"Windows 10","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/windows-10\/"},"img":{"alt_text":"bcd error 0xc0000098","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2023\/07\/0xc0000098-bcd-error.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2023\/07\/0xc0000098-bcd-error.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2023\/07\/0xc0000098-bcd-error.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":64726,"url":"https:\/\/www.winhelponline.com\/blog\/setup-0x800703ee-bcdedit-store-error\/","url_meta":{"origin":57102,"position":1},"title":"Setup Error 0x800703ee and BCD store could not be opened","author":"Ramesh","date":"November 8, 2023","format":false,"excerpt":"Symptoms When you install a Feature update, the error 0x800703ee may occur. The extended error code may be 0x4000D or 0x4001E. The setupact.log file may contain the following entries: Warning [SetupHost.exe] winreGetWinReGuid open store failed: 0xc0000098 Info [SetupHost.exe] winreGetWinReGuid returning 0X3EE Info [SetupHost.exe] ReAgentConfig::ReadBcdAndUpdateEnhancedConfigInfo WinRE disabled, WinRE Guid could not\u2026","rel":"","context":"In &quot;Windows 10&quot;","block_context":{"text":"Windows 10","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/windows-10\/"},"img":{"alt_text":"setup error 0x800703ee","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2023\/11\/0x800703ee-setup-error.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2023\/11\/0x800703ee-setup-error.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2023\/11\/0x800703ee-setup-error.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2023\/11\/0x800703ee-setup-error.png?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":74926,"url":"https:\/\/www.winhelponline.com\/blog\/reagentc-exe-operation-failed-2\/","url_meta":{"origin":57102,"position":2},"title":"REAGENTC.EXE: Operation failed: Error 2 or Error 3bc3","author":"Ramesh","date":"April 24, 2024","format":false,"excerpt":"When you attempt to enable Windows RE by running the reagentc \/enable command, the following error may be shown: REAGENTC.EXE: Operation failed: 2 REAGENTC.EXE: An error has occurred. (or) REAGENTC.EXE: Operation failed: 3bc3 or REAGENTC.EXE: Unable to update Boot Configuration Data. The ReAgent.log may record the following error: Info [ReAgentc.exe]\u2026","rel":"","context":"In &quot;Windows 10&quot;","block_context":{"text":"Windows 10","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/windows-10\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":61178,"url":"https:\/\/www.winhelponline.com\/blog\/0x80070003-0x20008-error-feature-update\/","url_meta":{"origin":57102,"position":3},"title":"0x80070003 &#8211; 0x20008 &#8211; Windows 10\/11 Feature Update Error","author":"Ramesh","date":"September 4, 2023","format":false,"excerpt":"When you attempt to install a Feature Update, the error code 0x80070003 - 0x20008 may appear. The\u00a0Setupact.log file may show the following contents: Info CONX ConX::Compatibility::CSystemAbstraction::HostIsUEFIFirmware: Host is UEFI. Error CONX ConX::Compatibility::CSystemAbstraction::HostIsUEFIDiskLayout: Failed to retrieve system partition NT path. Error CONX CHostIsUEFICompliantChecker failed. [Failed to check whether host has UEFI\u2026","rel":"","context":"In &quot;Windows 10&quot;","block_context":{"text":"Windows 10","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/windows-10\/"},"img":{"alt_text":"efi boot partition - disk management","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2023\/09\/efi-system-partition-diskmgmt.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2023\/09\/efi-system-partition-diskmgmt.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2023\/09\/efi-system-partition-diskmgmt.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2023\/09\/efi-system-partition-diskmgmt.png?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":32027,"url":"https:\/\/www.winhelponline.com\/blog\/rebuild-efi-partition-bcd-boot-files\/","url_meta":{"origin":57102,"position":4},"title":"How to Rebuild the EFI Boot Partition, BCD and Boot Files","author":"Ramesh","date":"January 17, 2023","format":false,"excerpt":"The EFI boot partition is a FAT32 partition that stores the boot files and the boot configuration data (BCD) to load Windows. Sometimes, the boot partition or the BCD may get corrupted, and the boot files remain unserviceable by the Windows Setup process. In that case, rebuilding the EFI partition\u2026","rel":"","context":"In &quot;Windows 10&quot;","block_context":{"text":"Windows 10","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/windows-10\/"},"img":{"alt_text":"EFI partition shows as RAW","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2023\/01\/efi-raw-diskmgmt.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2023\/01\/efi-raw-diskmgmt.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2023\/01\/efi-raw-diskmgmt.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":17815,"url":"https:\/\/www.winhelponline.com\/blog\/cant-reset-windows-10-could-not-find-win-re\/","url_meta":{"origin":57102,"position":5},"title":"Error &#8220;Could not find the Recovery Environment&#8221; When Resetting PC","author":"Ramesh","date":"August 10, 2020","format":false,"excerpt":"When you attempt to use the Reset this PC option to Reset (\"Remove everything\") or Refresh (\"Keep my files\") Windows 10 or 11, the following error may appear: Could not find the recovery environment Insert your Windows installation or recovery media, and restart your PC with the media. This error\u2026","rel":"","context":"In &quot;Windows 10&quot;","block_context":{"text":"Windows 10","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/windows-10\/"},"img":{"alt_text":"We can't create a recovery drive on this PC","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2020\/08\/win-re-fix-recovery-disk.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2020\/08\/win-re-fix-recovery-disk.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2020\/08\/win-re-fix-recovery-disk.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/posts\/57102","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/comments?post=57102"}],"version-history":[{"count":0,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/posts\/57102\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/media?parent=57102"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/categories?post=57102"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/tags?post=57102"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}