Restore the Virtual BIOS or UEFI
The .nvram file stores the BIOS or UEFI customizations of a virtual machine. Usually the only important items in this file are the boot drive setting and the boot order (in the case of multiple virtual disks).
Newer releases of vSphere can change the boot order using extended attribute settings, so boot order no longer must be stored in the .nvram file. However some users want to preserve a virtual machine’s serial port settings in the .nvram file, and possibly other items, so applications should back up and restore this information.
To back up and restore NVRAM: