Cannot Restore VM to ESXi (code 2048)
Situation
A restore plan finishes with the following warning: Could not restore virtual machine(s) to the ESXi host. Some disks are on NVMe host controller: restoring of virtual machines with disks on NVMe controllers is not supported. An attempt to switch to the SCSI controller failed. The list of VMs that were not restored.

Cause
This warning occurs for VMs that have some disks on the NVMe host controller. The restore of VMs with such disks is not supported. An attempt to change the controller type was performed but failed. Such virtual machines are skipped and not restored. You can find the list of VMs that were not restored at the bottom of this warning.
Solution
Since restoring VMs with disks on the NVMe host controller is not supported, you can try to restore VMs as virtual disks and then export them to your ESXi host. To do this, edit the restore plan.
- Open the restore plan that produced this warning.
- Click Edit.
- Follow the restore wizard to the Restore Type step.
- Change the restore type to Restore As a Virtual Disk.
- Follow the wizard to the end, save the configuration, and run the restore plan.
- Once you have the restored VMDK file, copy it to the datastore.
- Log in to vCenter > right-click the cluster or host > select New Virtual Machine.
- Select Create a New Virtual Machine as the creation type, then click Next.
- Type a name for the new virtual machine, select the deployment location, and click Next.
- Configure compute resources, and click Next.
- Configure storage, and click Next.
- Select compatibility, and click Next.
- Select a guest OS, and click Next.
- Customize hardware: click ADD NEW DEVICE, select Existing Hard Disk, select the VMDK file from the datastore, then click Next.
- Review the summary of the job and click Finish.