UEFI to BIOS conversions are failing at sending files step with error "object reference not set to an instance of object" for Windows 8.1 workload

  • 7014696
  • 05-Mar-2014
  • 28-Apr-2016

Environment

NetIQ PlateSpin Migrate 12.x
NetIQ PlateSpin Migrate 11.x

Situation

The default OEM installation of Windows 8.1 (UEFI) creates a recovery partition with insufficient free space, making it impossible to create a Volume Shadow Copy (VSS) for the partition.

Resolution

Remove or expand the recovery partition.

Below steps require alteration of Recovery Partition hence verify the disclaimer in the Additional Notes section prior proceeding with Step 1.

1. Download any partition manager tool that has the ability to remove a recovery partition in the source server.
2. Remove the Recovery partition and recreate a fresh recovery partition on the source server, providing minimum of 50 MB free space (Please consult with Microsoft Support to recreate Recovery Partition)
3. Alternative method: Expansion of the existing Recovery partition size.

Note: Regardless of Step 2 or Step 3 method "Change Boot Configuration" needs to be executed.
 
How to Change Boot Configuration:
 
1. Collect the System Volume: How to find the system volume (Consists of Windows boot and bootmgr):
- Open Windows Registry by executing regedit and navigate to 'HKLM\SYSTEM\Setup\SystemPartition'.
- This will contain a name like \Device\HardDiskVolume1
 
2. Run the below command on the Command Prompt
 'BCDEDIT /set {bootmgr} device partition=<type the value resulted from step 1>'
 
3. Verify the value if updated, using the same command without parameters 'BCDEDIT'.

Additional Information

Additional Disclaimer Sepcific to this KB article:

We would recommend backing up all of the important data as this deals with alteration of partitions. There is a possibility to lose data. This procedure is done considering that it should not lose the Recovery Partition. This process can not be guaranteed to avoid causing any damage. If possible test this procedure in a lab prior to running on any production server.

In-house tested tool: MiniTool Partition Wizard and cab be obtained at
http://www.partitionwizard.com/free-partition-manager.html

Note that none of the changes will take effect until Apply action is selected. Any other tool can be used for achieving the steps below. By default a Windows Server will contain three partitions; -Recovery - 300 MB (Approx)
-EFI System - 100 MB (Approx)
-And a System Volume C: (C: is used as an example to describe the steps below)

1. Open Partition Wizard and Shrink your system volume, C: (Example 101MB at the beginning of the partition). ( To achieve this, Right Click the C: Drive, select, Move/Resize, and the type 101 in box named "UnallocatedSpace Before:" and Select OK)
2. Copy the EFI System partition (100 MB FAT32) to this new Free Space by right clicking, selecting copy, and then selecting the unallocated space. Select OK.
3. Delete the 100MB EFI System Partition after the Recovery Partition. 100MB unallocated space after the Recovery Partition will become visible.
4. Right click on Recovery partition and select Extend. Drag the bar to take up all of the extra free space. This will change the recovery partition to increase 100MB from the current value allowing for enough space of approx 50MB for the VSS shadow copy to operate. Select OK.
5. Select Apply. [Note: You may recieve an error stating that it could not make changes due to C: being in use. Please click restart. When the computer restarts, Partition Wizard complete its correction of partition sizes.
 
Note: This next part is essential, since, windows now does not recognize the partition that was moved before as an EFI System Partition.
6. Open a command prompt with administrator privileges. Select Start Key to type cmd, Right Click to select Run As Administrator.
7. Type diskpart to start windows command line disk manager.
8. Find the disk that Windows is installed on by typing List disk. This will be different on each machine (usually default is disk 0)
9. Select that disk by typing the command "select disk" then the disk number.
10. Determine the EFI partition that was moved earlier. This is the partition that was moved earlier and should be 100MB. Type in the command "list part" to see a list of the partitions on the disk. 
11. Once determined the partition number, type "select partition " and the partition number
12. Next you have to set this partition as an EFI System volume. Type the below command
 "set id = c12a7328-f81f-11d2-ba4b-00a0c93ec93b"
This changes the partition type to an EFI system volume.
13. Restart the server.