It's a pity you can't detach the d:\drive. That might prove to be a bug-a-boo. Windows might seek to put it into your BCD as a dual boot. It might get confused with the extra recovery & system partitions. Anyway...
I've found something regarding "The parameter is incorrect" that BCDEdit spits out. That error message you got in...
adapters compatibility with w10 1709
...lead me to this...
Windows 10 Troubleshooting: Error upgrading to build 1607, 0x80070057-0x2000A
It says to regenerate the entire BCD. Possibly, I was going to cure it, anyway, bit by bit. But I guess let's try it this way, since we can restore what you've got, if necessary. Yours are GPT disks as seen in the pictures you posted earlier. So, we'll do the GPT option. Also, we need to assign a letter to your system partition for that to work.
But definitely we want to make a backup BCD first. So: MD C:\BU
That will make a folder named BU. Or, do it in File Explorer. Then, the /Export will work. Sorry - I was sure it auto-created the folder for me before - but I see now it does not.
Also definitely we want to be sure you can get to the Command Prompt of external media for recovery, if necessary. Did you see the little exercise I posted above to boot recovery media? Do that first. Then I will show
you how to put a letter on the system partition.
Yes, your boot order is correct now. You've got the Windows Boot Manager (bootmgr) on top.