Issue
When running a provisioning template, the template fails on the Deploy Image action.
This occurs in Windows PE when running imagew.exe.
The error is "68". The full error is "-2147477501".
Error as seen in Windows PE:
The ldprovision.log file on the client (X:\ldprovision\ldprovision.log in WinPE) will show this error:
2008-02-15 21:32:19(692-696) ldProvision:Launching action handler http://DeployImageHandler.exe with parameters
2008-02-15 21:32:26(1500-1988) DeployImageHandler.exe:execute failed with 68
The following error is seen in the Provisioning History in the LDMS console when viewing the history for the device:
Cause
The disk driver has not been fully loaded and/or the hard drive is still locked when the imaging command is run.
Resolution
- Add a Wait action before the Deploy Image action.
- Start with 30 seconds.
- If that is not enough to fix the problem, gradually increase the wait time until the issue is resolved.