You are welcome. That looks like a big success so far. Disk Management is showing the Recovery partitions appropriately in both its upper (disk 0 partition 4) & lower pane. DiskPart shows the letter is gone. You are free to use G: elsewhere. Hopefully, the mishap will not recur. I'm unsure what caused it in the first place. I do know, in these later versions of Windows, a letter gets automatically put onto the Recovery partition when you boot into the recovery environment. Also, the letters may scramble & be different there. But it all should be back to normal when rebooted back to Windows. Matbe it was that Attrib value at fault. It wanted Windows to keep the letter on Recovery.
I think your BCD needs a lot of work. I'm inclined to suggest we generate a new one altogether. You've got a {bootmgr} section in there, but it is malformed & unused. There are other unused sections. Instead, from fiirmware (fwbootmgr), there is a jump to this thing...
Firmware Application (101fffff)
identifier {c4337ee6-11b0-11ec-ab4f-806e6f6e6963}
device partition=\Device\HarddiskVolume2
path \EFI\MICROSOFT\BOOT\BOOTMGFW.EFI
description Windows Boot Manager
That Device & Path belong in your {bootmgr}, & the firmware should be going there. But yours does appear to get the job done. If you hold Shift & click "Restart", does Windows reboot to the recovery environment at the "Choose an Option" screen? And does it have the full panoply of options, including Troubleshoot & Advanced Options buttons? I don't know, maybe we should let it be, but I'm inclined to want to regenerate your BCD. Here is what mine looks like...
(a) {bootmgr} is on top in the Firmware Boot Manager.
(b) There are no duplicate, malformed or unused sections.
Microsoft Windows [Version 10.0.19043.1288]
(c) Microsoft Corporation. All rights reserved.
C:\Windows\system32>bcdedit /enum all
Firmware Boot Manager
identifier {fwbootmgr}
displayorder {bootmgr}
{140ab3f9-3491-11e7-a4a0-952787f57a8e}
{140ab3fa-3491-11e7-a4a0-952787f57a8e}
timeout 1
Windows Boot Manager
identifier {bootmgr}
device partition=\Device\HarddiskVolume1
path \EFI\Microsoft\Boot\bootmgfw.efi
description Windows Boot Manager
locale en-US
inherit {globalsettings}
default {current}
resumeobject {140ab3fc-3491-11e7-a4a0-952787f57a8e}
displayorder {current}
toolsdisplayorder {memdiag}
timeout 30
Firmware Application (101fffff)
identifier {140ab3f9-3491-11e7-a4a0-952787f57a8e}
description Onboard NIC(IPV4)
Firmware Application (101fffff)
identifier {140ab3fa-3491-11e7-a4a0-952787f57a8e}
description Onboard NIC(IPV6)
Windows Boot Loader
identifier {current}
device partition=C:
path \Windows\system32\winload.efi
description Windows 10
locale en-US
inherit {bootloadersettings}
recoverysequence {140ab3fe-3491-11e7-a4a0-952787f57a8e}
displaymessageoverride CommandPrompt
recoveryenabled Yes
isolatedcontext Yes
allowedinmemorysettings 0x15000075
osdevice partition=C:
systemroot \Windows
resumeobject {140ab3fc-3491-11e7-a4a0-952787f57a8e}
nx OptIn
bootmenupolicy Standard
Windows Boot Loader
identifier {140ab3fe-3491-11e7-a4a0-952787f57a8e}
device ramdisk=[\Device\HarddiskVolume4]\Recovery\WindowsRE\Winre.wim,{140ab3ff-3491-11e7-a4a0-952787f57a8e}
path \windows\system32\winload.efi
description Windows Recovery Environment
locale en-us
inherit {bootloadersettings}
displaymessage Recovery
osdevice ramdisk=[\Device\HarddiskVolume4]\Recovery\WindowsRE\Winre.wim,{140ab3ff-3491-11e7-a4a0-952787f57a8e}
systemroot \windows
nx OptIn
bootmenupolicy Standard
winpe Yes
Resume from Hibernate
identifier {140ab3fc-3491-11e7-a4a0-952787f57a8e}
device partition=C:
path \Windows\system32\winresume.efi
description Windows Resume Application
locale en-US
inherit {resumeloadersettings}
recoverysequence {140ab3fe-3491-11e7-a4a0-952787f57a8e}
recoveryenabled Yes
isolatedcontext Yes
allowedinmemorysettings 0x15000075
filedevice partition=C:
filepath \hiberfil.sys
bootmenupolicy Standard
debugoptionenabled No
Windows Memory Tester
identifier {memdiag}
device partition=\Device\HarddiskVolume1
path \EFI\Microsoft\Boot\memtest.efi
description Windows Memory Diagnostic
locale en-US
inherit {globalsettings}
badmemoryaccess Yes
EMS Settings
identifier {emssettings}
bootems No
Debugger Settings
identifier {dbgsettings}
debugtype Local
RAM Defects
identifier {badmemory}
Global Settings
identifier {globalsettings}
inherit {dbgsettings}
{emssettings}
{badmemory}
Boot Loader Settings
identifier {bootloadersettings}
inherit {globalsettings}
{hypervisorsettings}
Hypervisor Settings
identifier {hypervisorsettings}
hypervisordebugtype Serial
hypervisordebugport 1
hypervisorbaudrate 115200
Resume Loader Settings
identifier {resumeloadersettings}
inherit {globalsettings}
Device options
identifier {140ab3ff-3491-11e7-a4a0-952787f57a8e}
description Windows Recovery
ramdisksdidevice partition=\Device\HarddiskVolume4
ramdisksdipath \Recovery\WindowsRE\boot.sdi
C:\Windows\system32>