Jump to content

Recommended Posts

Posted (edited)

I created a new task sequence to try out OSD Background. As this relys on running some powershell scripts I've added them to the task sequence. However they don't work.

 

I have added powershell to my WinPE:

 

image.png

 

This is the first powershell step I get an error:

 

image.png

 

The error I get in SMSTS.LOG is:

 

Failed to resolve the source for SMS PKGID=FS10007B, hr=0x800700a1	RunPowerShellScript	30/11/2017 15:54:28	1352 (0x0548)

 

However the package(s) are distributed correctly.

 

image.png

Edited by Geoff
Posted

I think I've found out why based on this thread on technet.

 

https://social.technet.microsoft.com/Forums/en-US/927f9029-3d5b-4e26-9935-51a409f2183c/run-powershellscript-before-format-and-partition-disk?forum=configmanagerosd

 

Basically because the disk is not formatted there's no where to store the package cache. Thus the script isn't avalible in WinPE.

 

I'm going to try changing it to run directly from a network share. The other option would be to add the script to the WinPE boot image.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...