Topic: BCD : How to get the ID of 'current' entry ? Using bcdedit.  (Read 1113 times)

BCD : How to get the ID of 'current' entry ? Using bcdedit.
« on: September 14, 2019, 08:29:39 AM »

gbrao

  • Chef
  • ***
  • Date Registered: Sep 2011
  • Posts: 258
If a BCD has more than one bootable entry, you can choose one to boot.

After Windows boots up how do I find out which entry was used to boot ?

Is the id {current} valid ?

bcdedit /enum {default} works ok.

bcdedit /enum {current} does not.
Error :
The specified entry type is invalid.
Run "bcdedit /?" for command line assistance.
The parameter is incorrect.


EDIT : the cause -
I had a non-standard BCD store.

I used BCDBoot to create a new BCD store, and all is fine.
I can enum {current}.
« Last Edit: September 15, 2019, 01:49:02 PM by gbrao »

Re: BCD : How to get the ID of 'current' entry ? Using bcdedit.
« Reply #1 on: September 14, 2019, 09:40:35 PM »

cretino

  • Chef
  • ***
  • Date Registered: Jan 2018
  • Posts: 240
hi gbrao

Code: [Select]
/v  :  Command line option that displays entry identifiers in full, rather than using names for well-known identifiers.

Use /v by itself as a command to display entry identifiers in full for the ACTIVE type.

bcdedit /enum {current} /v

https://www.computerhope.com/bcdedit.htm
« Last Edit: September 14, 2019, 09:43:10 PM by cretino »

Re: BCD : How to get the ID of 'current' entry ? Using bcdedit.
« Reply #2 on: September 15, 2019, 03:51:42 AM »

gbrao

  • Chef
  • ***
  • Date Registered: Sep 2011
  • Posts: 258
doesn't work for me.

Re: BCD : How to get the ID of 'current' entry ? Using bcdedit.
« Reply #3 on: September 15, 2019, 07:34:04 AM »

was_JFX

  • Code Baker
  • Grand Chef
  • *****
  • Date Registered: Dec 2010
  • Posts: 1074
{current} is only valid for system store, it should work if you remove "/store C:\boot\bcd".
« Last Edit: September 15, 2019, 07:34:25 AM by JFX »

Re: BCD : How to get the ID of 'current' entry ? Using bcdedit.
« Reply #4 on: September 15, 2019, 11:33:22 AM »

James

  • Grand Chef
  • *****
  • Location: USA
  • Date Registered: Dec 2017
  • Posts: 2272
ila_rendered

Re: BCD : How to get the ID of 'current' entry ? Using bcdedit.
« Reply #5 on: September 15, 2019, 01:47:04 PM »

gbrao

  • Chef
  • ***
  • Date Registered: Sep 2011
  • Posts: 258
Sorry guys, it looks like I had a non-standard BCD store.

I used BCDBoot to create a new BCD store, and all is fine.
I can enum {current}.

Re: BCD : How to get the ID of 'current' entry ? Using bcdedit.
« Reply #6 on: October 26, 2019, 10:27:05 AM »

Pepsilight

  • Apprentice
  • *
  • Date Registered: Oct 2019
  • Posts: 6
my script can a valid boot id with GUID bios + uefi , help me i help you.

i want change de the headline form this

https://i.postimg.cc/pT21NJ6W/Boot-Manager.png

Re: BCD : How to get the ID of 'current' entry ? Using bcdedit.
« Reply #7 on: October 26, 2019, 10:19:50 PM »

cretino

  • Chef
  • ***
  • Date Registered: Jan 2018
  • Posts: 240
hi Pepsilight

Quote
help me i help you.


:dots:

ila_rendered

BOOTMGR.xsl : 10xx  line 236 239 383 386 469 472 592

 

Powered by EzPortal