Here’s a handy tip if you get the following errors in your OSD build

CreateProcess failed. Code(0x80070002)

Command line execution failed (80070002)

Failed to execute command line '' . 
The system cannot find the file specified. (Error: 80070002; Source: Windows)

Basically this error is occurring when using a ‘Run Command Line’ step in the Task Sequence.

The command you are attempting to executed needs to start with cmd /c to run successfully.

Advertisements