Open a cmd box as admin and navigate to C:\Program Files\Oracle\Virtualbox\
C:\Program Files\Oracle\VirtualBox>VBoxManage.exe convertfromraw {input.img} {output.vdi} –format=VDI (that’s dash dash)
Remembering the annoying habit with dos pathnames with spaces
From https://www.makeuseof.com/how-convert-img-to-vdi-using-virtualbox/