UEFI System Unable to Boot After StorageCraft Restore

Reference:
https://support.storagecraft.com/s/article/UEFI-System-Unable-to-Boot-After-StorageCraft-Restore?language=en_US


Restored Windows operating system to a GPT initialized disk on EFI enabled UEFI firmware with StorageCraft® Recovery Environment fails to boot.

Resolution
  1. Create the StorageCraft Recovery Environment for Windows (WinPE) x64 ISO. For instructions here is a link to the documentation.
  2. Below is a list of requirements for the EFI enabled UEFI boot process to complete.
  • Disk must be initialized as GPT
  • Disk must contain an EFI system partition (ESP) on the same disk as the bootable partition
  • The EFI partition must contain a bootloader (BCD)
  • The bootloader must point to the correct path in order to direct the load of Winload.efi
  1. Change your boot order as needed to boot to the WinPE ISO.
  2. Select Tools, then select Boot Configuration Utility (BCU).
  3. In this example, there is a GPT initialized disk, running on a VM, using EFI enabled UEFI firmware. Below the bootable partition is listed as broken:
GPT BCU Broke
  1. Select the bootable partition, then click Auto Repair. When the utility finishes review the log output:
BCD Compatible Windows Installation. Installing File,X:\windows\ShadowProtectPE\BCD-Template,Y:\EFI\Microsoft\Boot\BCD. Installing File,Y:\EFI\Microsoft\Boot\bootmgr.efi,Y:\bootmgr.efi. Installing File,Y:\EFI\Microsoft\Boot\bootmgfw.efi,Y:\EFI\Boot\bootx64.efi. X:\windows\system32\bcdedit.exe /store Y:\EFI\Microsoft\Boot\BCD /set {bootmgr} device partition=\Device\Harddisk0\Partition1 The operation completed successfully. X:\windows\system32\bcdedit.exe /store Y:\EFI\Microsoft\Boot\BCD /set {bootmgr} path \efi\microsoft\boot\bootmgfw.efi The operation completed successfully. X:\windows\system32\bcdedit.exe /store Y:\EFI\Microsoft\Boot\BCD /set {memdiag} device partition=\Device\Harddisk0\Partition1 The operation completed successfully. X:\windows\system32\bcdedit.exe /store Y:\EFI\Microsoft\Boot\BCD /deletevalue {bootmgr} displayorder The operation completed successfully. X:\windows\system32\bcdedit.exe /store Y:\EFI\Microsoft\Boot\BCD /set {default} device partition=C: The operation completed successfully. X:\windows\system32\bcdedit.exe /store Y:\EFI\Microsoft\Boot\BCD /set {default} osdevice partition=C: The operation completed successfully. X:\windows\system32\bcdedit.exe /store Y:\EFI\Microsoft\Boot\BCD /set {default} path \windows\system32\winload.efi The operation completed successfully. X:\windows\system32\bcdedit.exe /store Y:\EFI\Microsoft\Boot\BCD /set {bootmgr} displayorder {default} The operation completed successfully. X:\windows\system32\bcdedit.exe /store Y:\EFI\Microsoft\Boot\BCD /set {bootmgr} default {default} The operation completed successfully. X:\windows\system32\bcdedit.exe /store Y:\EFI\Microsoft\Boot\BCD /set {fwbootmgr} displayorder {bootmgr} /addfirst An error occurred while attempting to reference the specified entry. The system cannot find the file specified.
If auto repair returns 0x44 review the Boot Configuration Utility Throws 0x44 article, or if the output returns installation failed 1005 review the Boot Configuration Utility throws Installation Failed 1005/0x46 article.
  1.  Review the top pane of the BCU. If the partition is marked as bootable, disconnect the WinPE ISO and attempt to restart in to windows:
GPT BCU after auto repair
  1. If the issue is not resolved please continue troubleshooting with Windows Advanced Startup Troubleshooting for UEFI.

Additional Information:

Please bear in mind that a restore to different hardware will still need to be dealt with using the How To: Remove Hidden (Non Present) Devices after an HIR article as a guide.