SCCM - OSD task sequence fails with error 0x80091007

After imaging a few computers recently, two of them failed at the point in the task sequence where it was going to apply the operating system. The error displayed was 0x80091007 which appears to be a generic error.

Rebooting the computer gives the (somewhat expected) message of ‘Bootmgr is missing’

I checked SMSTS.log on the local computer that had the error and the following information was shown…

1-3

The solution:

Changing the memory on the computer fixed the issue.