I'm hoping someone can help me here. I am attempting to complete an offline deployment of our Windows 10 build to a tablet device. I have created all of the offline media by copying the entire deployment share to make sure nothing has been missed. I have mounted the .iso to an external drive using rufus to make it bootable.
I am getting the following error after the installation of OS:
Litetouch deployment failed, Return Code = -2147467259 0×80004005
CreateProcess failed. Code(0x80070002)
Command line execution failed (80070002)
Failed to run the action: Set-ExecutionPolicy Bypass.
The system cannot find the file specified. (Error. 80070002; Source: Windows)
The execution of the group (Postinstall) has failed and the execution has been aborted. An action failed
Operation aborted (Error: 80004004; Source: Windows)
Failed to run the last action: Set-ExecutionPolicy Bypass. Execution of task sequence failed.
The system cannot find the file specified. (Error. 00000002; Source: Windows)
Task Sequence Engine failed! Code: enExecutionFail
Task sequence execution failed with error code 80004005
SetNamedSecurityInfo0 failed.
SetObjectOwner failed. 0x80070005
ReqQueryValueExW is unsuccessful for Software\ Microsoft\5MS\ Task Sequence, SMSTSEndProgram
GetTsRegValue0 is unsuccessful. 0x80070002.
Error Task Sequence Manager failed to execute task sequence. Code 0x80004005
The step that is to be completed is as follows:
Type: Run Command Line
Command Line: powershell.exe -command "Set-ExecutionPolicy Bypass"
This says to me that the deployment cannot find powershell.exe but this doesn't really make an awful lot of sense to me. It's not like it cannot find a script or a file because as you can see from the command it is not looking for a file but is supposed to be running a command via the PowerShell program.
Any assistance would be greatly recieved.