I'm having an issue regarding a disk imaging process.
To get the machine into it's initial state, I first run a simple DISKPART CLEAN, and then restart the machine.
I then boot the machine into a Win-PE image, and make 3 partitions. One of which is a boot partition
I then apply a .wim image to the boot partition.
Finally I use DISKPART to set the boot partition as the active partition.
When I follow these steps, I get the following error:
remove disks or other media
press any key to restart
If I follow the exact same process a second, third, or fourth time, the machine boots successfully, but I would very much like to get the process to work the first time.
Does anyone have any idea what's going wrong here? I'm quite stumped.