You have successfully exported a Windows 2012 protected server with a UEFI/Secure Boot configuration. On booting up, you keep getting BSOD with error message "Critical Process Died" and the only option is to reset the VM. You have confirmed all volumes are correctly set with the right attributes using DiskPart. You have tried to rebuild BCD, verified disks are GPT and contain recovery and EFI partitions but the VM does not boot successfully.
You may want to restore the registry on the VM. Corrupt registry may cause a machine not to boot properly.
There is a difference when restoring the registry from in Windows 2012 compared to older Operating Systems. The folder C:\Windows\System32\Config\Regback holds a backup to C:\Windows\System32\Config on later operating system versions.