I created a wim image that we are planning to deploy to some of our computers, but when I image a computer with it from a flash drive it continually reports that the `BOOTMGR` is missing (and no, it's not booting off the flash drive).

I'm able to resolve this by running Windows Startup Repair, but I would rather just add whatever command is resolving the issue to a script that runs after the image. I've already tried running `fixmbr`, `fixboot`, `rebuildbcd` and `nt60`, but none of those resolve the issue.

Basically, I would like to know what exactly is being done when I run Windows Startup Repair.