Sunday, 5 January 2020

windows - bcdedit.exe refuses to open system store

Looks like my BCD is somehow broken but I can't figure out what is wrong. The system boots just fine but it prevents windows from installing updates:


MoSetupPlatform: Opening BCD store...
CDlpActionDiskSpaceReq::CalculateRequiredDiskSpaceInstallReq(1752): Result = 0x8007001F

I'm running Windows 10 on a MacBook (bootcamp), it uses EFI partition table. When I run bcdedit /enum in elevated prompt I get


The boot configuration data store could not be opened.
A device attached to the system is not functioning.

When I try to open store directly, it opens just fine:


B:\>bcdedit.exe /store B:\EFI\Microsoft\Boot\BCD /enum

Windows Boot Manager
--------------------
identifier {bootmgr}
device partition=B:
path \EFI\Microsoft\Boot\bootmgfw.efi
description Windows Boot Manager
locale en-US
inherit {globalsettings}
default {default}
resumeobject {8b3fea76-03c8-11e6-8f47-dc08058a457d}
displayorder {default}
toolsdisplayorder {memdiag}
timeout 30

Windows Boot Loader
-------------------
identifier {default}
device partition=C:
path \WINDOWS\system32\winload.efi
description Windows 10
locale en-US
inherit {bootloadersettings}
recoverysequence {8b3fea78-03c8-11e6-8f47-dc08058a457d}
displaymessageoverride Recovery
recoveryenabled Yes
isolatedcontext Yes
allowedinmemorysettings 0x15000075
osdevice partition=C:
systemroot \WINDOWS
resumeobject {8b3fea76-03c8-11e6-8f47-dc08058a457d}
nx OptIn
bootmenupolicy Standard

Does Windows store actual BCD somewhere else? How does windows know on which partition and path to look for system BCD store?


How do I diagnose what is wrong with my BCD store?


update: forgot that I boot using refind bootloader which likely boots bootmgfw.efi

No comments:

Post a Comment

How can I VLOOKUP in multiple Excel documents?

I am trying to VLOOKUP reference data with around 400 seperate Excel files. Is it possible to do this in a quick way rather than doing it m...