You should always use {ramdiskoptions} when refererring to the object via bcdedit. The guid changes for every bcd store.
So, can you explain one thing:
I copied the contents of the DVD on my hard disk and then I wrote the following commands:
C:\WINDOWS\system32>bcdedit /store "C:\Users\Balubeto\Downloads\DVD\boot\bcd"
Windows Boot Manager
--------------------
identifier {bootmgr}
description Windows Boot Manager
locale en-US
inherit {globalsettings}
default {default}
displayorder {default}
toolsdisplayorder {memdiag}
timeout 30
Windows Boot Loader
-------------------
identifier {default}
device ramdisk=[boot]\sources\boot.wim,{7619dcc8-fafe-11d9-b411-000476eba25f}
path \windows\system32\boot\winload.exe
description Windows Setup
locale en-US
inherit {bootloadersettings}
osdevice ramdisk=[boot]\sources\boot.wim,{7619dcc8-fafe-11d9-b411-000476eba25f}
systemroot \windows
bootmenupolicy Standard
detecthal Yes
winpe Yes
ems No
C:\WINDOWS\system32>bcdedit /store "C:\Users\Balubeto\Downloads\DVD\boot\bcd" /set {default} osdevice ramdisk=[boot]\sources\boot.wim,{ramdiskoptions}
Operazione completata.
C:\WINDOWS\system32>bcdedit /store "C:\Users\Balubeto\Downloads\DVD\boot\bcd" /set {default} device ramdisk=[boot]\sources\boot.wim,{ramdiskoptions}
Operazione completata.
C:\WINDOWS\system32>bcdedit /store "C:\Users\Balubeto\Downloads\DVD\boot\bcd"
Windows Boot Manager
--------------------
identifier {bootmgr}
description Windows Boot Manager
locale en-US
inherit {globalsettings}
default {default}
displayorder {default}
toolsdisplayorder {memdiag}
timeout 30
Windows Boot Loader
-------------------
identifier {default}
device ramdisk=[boot]\sources\boot.wim,{ramdiskoptions}
path \windows\system32\boot\winload.exe
description Windows Setup
locale en-US
inherit {bootloadersettings}
osdevice ramdisk=[boot]\sources\boot.wim,{ramdiskoptions}
systemroot \windows
bootmenupolicy Standard
detecthal Yes
winpe Yes
ems No
C:\WINDOWS\system32>
Why, in the final output, the ramdiskoptions alias is not converted into its alphanumeric code as it is done in the initial output?
Thanks
Bye