Windows 2016/2012R2/2012/2008R2/2008/8.1/8/7 uEFI based systems get error 0xc0000225 on boot after successful restore to blank disk using Veritas System Recovery
Problem
Windows 2016/2012R2/2012/2008R2/2008/8.1/8/7 uEFI based systems get error 0xc0000225 on boot after successful restore to blank disk using the System Recovery Disk (SRD) from Veritas System Recovery. This occurs when the SRD used for restore was created using the Typical option on a Windows 10 1709 system, or when the SRD was created using the Advanced option on any supported VSR operating system when the Windows 10 1709 version of the Windows Assessment and Deployment Kit (ADK) was installed on the computer.
Error Message
Error code: 0xc0000225
Cause
The entries in the Boot Configuration Database (BCD) are missing the partition information for the Windows Boot Loader and Windows Boot Manager.
Solution
This issue has been resolved by Veritas System Recovery 18 Service Pack 1. After applying Service Pack 1, please create a new System Recovery Disk (SRD).
Service Pack 1 (18.0.1) for Veritas System Recovery (VSR) 18
Workaround:
A. Use the Windows 10 version 1703 version of the ADK to create a new SRD using the Advanced option and then run the restore to the target system:
1. Uninstall any existing installation of the Windows 10 ADK on a computer running VSR
2. Install the "Windows ADK for Windows 10, version 1703" from the "Other ADK Downloads" section of the following Microsoft link:
https://docs.microsoft.com/en-us/windows-hardware/get-started/adk-install
When installing the ADK, only "Deployment Tools" and "Windows Preinstallation Environment (Windows PE)" need to be selected
3. Create a new recovery disk using the Create New Recovery Disk wizard in VSR. Select the Advanced option.
4. Once the new SRD is created, boot the destination system with the new recovery disk and perform the restore
OR
B. If restoring to a virtual machine, use the Virtual Conversion task in VSR to convert the recovery point to a virtual hard disk.
OR
C. If restoring to a physical machine, use the following steps to correct the BCD of the restored computer after restoring from the SRD created using Typical option on Windows 10 1709 or with the Advanced option on a computer with the Windows 10 1709 ADK installed :
1. Boot the computer back to the SRD.
2. Open a command shell from Analyze menu
3. Run: DISKPART
4. Run following commands from the DISKPART prompt to assign drive letters to the EFI System Partition and the partition containing the restored Windows operating system volume:
LIST DISK
SEL DISK 0 (this is an example. Replace 0 with disk number for the drive containing OS as found in the LIST DISK output)
LIST VOL
SEL VOL 3 (this is an example. Replace 3 with the volume number in the list corresponding with EFI System Partition. On a default install of Windows 10 this will be listed as the 99 MB FAT32 Hidden partition, but size may vary)
ASSIGN LETTER=E: (this is an example. Any available drive letter may be used in place of e:. If the EFI System Partition already shows a drive letter, note the letter shown and skip this step)
SEL VOL 1 (this is an example. Replace 1 with the volume number corresponding with the restored C: drive. Look at size of listed volumes to determine which is the restored C:)
ASSIGN LETTER=F: (this is an example. Any available drive letter may be used in place of f:. If the Windows OS partititon already shows a drive letter, note the letter shown and skip this step)
EXIT
5. Run the following commands from the command prompt:
BCDEDIT
Note the "identifier" listed for Windows Boot Manager and Windows Boot loader after running the above command. The following examples use {bootmgr} and {default} as the identifiers, respectively. Examples below also use e: and f: as the drive letters as set in diskpart above. Replace these in the commands with the drive letters assigned in diskpart if different
BCDEDIT /SET {bootmgr} device partition=e:
BCDEDIT /SET {default} device partition=f:
BCDEDIT /SET {default} osdevice partition=f:
6. Remove the SRD disk and reboot the computer.
Product Version
System Recovery 16, 18