BCDedit.exe error when performing migration of 2008 Server

  • 7009310
  • 07-Sep-2011
  • 21-Oct-2013

Environment

Platespin Protect 10.0.2
Platespin Migrate 9.0.2
Platespin Forge 3.0.2

Situation

When migrating or failing over a Windows 2008 workload the following error is seen on the target:
 
Calling bcdedit.exe /set {default} device partition=C:
Output:An error occurred while attempting to reference the specified entry. The
parameter is incorrect.

Resolution

In order to resolve this issue it is necessary to create a new default Windows boot manager entry.  These steps should be performed on the source if replications will continue, or on the target if using Migrate or failing over:
 
1. Create a folder for BCD backup:
 
mkdir “C:\Admin\BCD Backup”
 
2. Create a backup of the BCD:
 
bcdedit /export “C:\Admin\BCD Backup\”
 
3. Run the following command:
 
bcdedit /default {current}

Cause

The most typical cause of this issue is if the default Windows boot manager entry is missing.