How to repair the boot sector or boot configuration database (BCD) of a system that has been imaged but wont boot
Occasional problems with imaging tools and processes could lead to a system that will not boot after it has been reimaged. For example, differences in SATA controller, partition sizes or versions of imaging software could leave you with a system where the boot sector is not correct, or the boot configuration database (BCD) needs to be re-written.
Typically systems with this problem will not boot the operating system but just display a flashing cursor on the screen after the BIOS POST has completed.
Note: These instructions have been written for Windows 7 and do not apply to Windows XP.
Stage 1 - Boot from the Recovery CD
Tip: If you cannot create a Windows 7 Recovery CD, then a bootable USB pen drive containing Windows PE will suffice.
Stage 2 - Set the Active Partition
Stage 3 - Fix the Master Boot Record, Boot sector and Boot Configuration Database (BCD)
You may be able to prevent this situatiuon when deploying an Operating System image by using an option in your disk imaging software to completely recreate the partition table and boot sector (effectively erasing the drive), for example by using the DISKPART CLEAN ALL command. Note that this may remove Virtual PC check or other pre-installed tools.