MSEndpointMgr / ConfigMgr

Microsoft Endpoint Configuration Manager scripts and tools
634 stars 281 forks source link

Task Sequence Failure at Script Step #228

Closed jdecookecs closed 4 years ago

jdecookecs commented 4 years ago

I got everything setup following the steps provided. I verified that the Web Service connects and finds my packages using DAT. I made sure the packages are distributed. I checked my parameters on the script task sequence step. The error I'm getting seems to reference something wrong with the boot disk or partition format but that doesn't really make sense since my task sequence works just fine without the driver automation steps. Any help would be greatly appreciated.

IMG_20200507_085012_2 MDM_TS

NickolajA commented 4 years ago

Please attach the ApplyDriverPackage.log file, otherwise it's hard to know what happened.

jdecookecs commented 4 years ago

I don't think the log is even being created. I think it's failing to run my package at that point in the task sequence. If I place the step after the "Setup Windows and ConfigMgr" step then it actually runs the script, but get errors, so I don't think there is a problem with my package. I'm assuming placing it after that step causing problem since the instructions say to NOT have it run in full OS.

jdecookecs commented 4 years ago

I figured out my problem. I didn't know you had to enable Powershell components in the boot image in order for scripts to work in WinPE. Everything worked correctly. Thanks!!