BCDEDIT Command Fails?

Steve C

Member
Power User
Messages
275
Location
UK
Over at Ten Forums I'm trying to fix a 1 year old Dell laptop running Windows 8.1 Home which fails to upgrade to Windows 10.


One person reported that when running the command bcdedit /export <file> it fails with the error message "The store export operation has failed. The handle is invalid" Windows 10 installed when this problem was fixed but the solution posted is unclear.


I get the same bcdedit error message. Hopefully Windows 10 might install if I can fix it. What steps can I take to repair my Windows 8.1 boot configuration without screwing up the PC? Note the PC boots fine and bcdedit /enum reports the correct details as shown below.


Windows Boot Manager
--------------------
identifier {bootmgr}
device partition=\Device\HarddiskVolume1
path \EFI\Microsoft\Boot\bootmgfw.efi
description Windows Boot Manager
locale en-GB
inherit {globalsettings}
integrityservices Enable
default {current}
resumeobject {c75b21b1-d062-11e3-a912-b82a729fff82}
displayorder {current}
toolsdisplayorder {memdiag}
timeout 2




Windows Boot Loader
-------------------
identifier {current}
device partition=C:
path \WINDOWS\system32\winload.efi
description Windows 8.1
locale en-GB
inherit {bootloadersettings}
recoverysequence {c75b21b5-d062-11e3-a912-b82a729fff82}
integrityservices Enable
recoveryenabled Yes
isolatedcontext Yes
allowedinmemorysettings 0x15000075
osdevice partition=C:
systemroot \WINDOWS
resumeobject {c75b21b1-d062-11e3-a912-b82a729fff82}
nx OptIn
bootmenupolicy Standard
 

My Computer

System One

  • OS
    Windows 8.1 64 bit
    Computer type
    PC/Desktop
    System Manufacturer/Model
    Home Build
    CPU
    Intel i3570K
    Motherboard
    Gigabyte GA-77X-UD5H
    Memory
    16 GB
    Graphics Card(s)
    Sapphire R9 280X Toxic
    Sound Card
    Realtek on motherboard
    Monitor(s) Displays
    Viewsonic VP2770
    Screen Resolution
    2560 x 1440
    Hard Drives
    Intel 520 180GB SSD
    Seagate 2T HDD
    Seagate external 1T USB HDD
    PSU
    XFX 850W
    Case
    Nanoxia Deep Silence 1
    Cooling
    Noctua NH-D14
    Keyboard
    Microsoft
    Mouse
    Microsoft
    Internet Speed
    50Mbps
    Browser
    Chrome
your system has but one bootable OS.. Windows 8.1

so what are you trying to do ??

The BCD should have NO EFFECT on preforming an upgrade
 

My Computer

System One

  • OS
    Windows 3.1 > Windows 10
    Computer type
    PC/Desktop
    System Manufacturer/Model
    Dell XPS 8700
    CPU
    I7
    Memory
    24 GB
In my original post someone else who had this error was able to install Windows 10 once the error was corrected. So I'm trying to ensure my boot configuration is correct to enable me to overcome the same error and hopefully be able to install Windows 10. I've listed the repair process below based on 'googling' the issue. There are some options - pleas advise the best approach:

1. Boot from Windows 8 CD (presumably in UEFI mode with secure boot off?)
2. Goto command prompt option
3. Run DISKPART and select the EFI volume
4. Assign letter z: to the EFI volume
5. cd /d z:\efi\microsoft\boot
6. attrib z:\efi\microsoft\boot\bcd -h -r -s
7. ren z:\efi\micr bcd.old\microsoft\boot\bcd bcd.old

8. Optional step: bootrec/fixboot (is this needed?)

There are then 2 repair options which is most appropriate?:

9a. bootrec /rebuildbcd

OR

9b. bcdboot c:\windows /l en-gb /s z: /f (for UK)
 
Last edited:

My Computer

System One

  • OS
    Windows 8.1 64 bit
    Computer type
    PC/Desktop
    System Manufacturer/Model
    Home Build
    CPU
    Intel i3570K
    Motherboard
    Gigabyte GA-77X-UD5H
    Memory
    16 GB
    Graphics Card(s)
    Sapphire R9 280X Toxic
    Sound Card
    Realtek on motherboard
    Monitor(s) Displays
    Viewsonic VP2770
    Screen Resolution
    2560 x 1440
    Hard Drives
    Intel 520 180GB SSD
    Seagate 2T HDD
    Seagate external 1T USB HDD
    PSU
    XFX 850W
    Case
    Nanoxia Deep Silence 1
    Cooling
    Noctua NH-D14
    Keyboard
    Microsoft
    Mouse
    Microsoft
    Internet Speed
    50Mbps
    Browser
    Chrome
Back
Top