I have windows machines with 2 harddisks C and D.
C is your normal windows10 HDD, the pc boots from this hdd and the user works from here.
The D drive is our recovery drive. it is a fully functional WINPE boot hdd tha will format c and put a clean image back.
The batchfile that changes the boot sector runs without problems when i execute it manually on the PC.
But when i execute it via Radia it returns with an error.
the command that does not work is bcdboot