First post on appdeploy. I only signed up after Sydney Konference.

I noticed a few posts with people reporting that they get the error: "BOOTMGR is missing Press ctrl-alt-del to restart" after they apply a Win 7 image and reboot.

The reason why this happens has been posted elsewhere. In short Windows 7 needs a small system partition in addition to the main (data) partition.

The way I solved this problem was to create a preinstall task to create and assign the two partitions (system and data), and then a mid level postinstall task to get Win7 to recreate the boot files on the system partition before restarting.

In our case, the main image was harvested from D: and so our preinstall task is a diskpart script that creates and formats the 200Meg system partition, makes it active, and assigns it drive letter C:. Then creates and formats the main partition, and assigns it drive letter D:.

Then we deploy our System Image.

Then the mid level postinstall task runs a the bcdboot command based on the following Microsoft technet article to create the boot files in the system partition.

The code for both tasks is below.
DISKPART script for Preinstall task
select disk 0
create partition primary size = 200
select partition 1
format fs=ntfs label="system" quick
assign letter = c
create partition primary
select partition 2
format fs=ntfs label="Windows7" quick
assign letter = d

BAT script for mid level postinstall task
bcdboot d:\windows /s c:

There is also a Kace KB article which shows a different way of working on this problem.

Hope this helps [:)]
0 Comments   [ + ] Show Comments


Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.


go to your bios and verify AHCI/ATA disk mode
Answered 11/09/2011 by: pbeche
Senior Yellow Belt

Please log in to comment
Answer this question or Comment on this question for clarity