All the software included in the task sequence need to have the option enabled “copy the content in this package to a package share on distribution points”
an easy way to find which packages do not have this enabled is the SQL query below:
2. Login to sql and run the query against the sccm db
Declare @TaskSequenceID char(8); set @TaskSequenceID = '000CB'
select P.PkgID, P.Manufacturer, P.Name, P.Version, P.Language, P.PkgFlags, (128 & P.PkgFlags)
from v_TaskSequenceReferencesInfo as TSR inner join vPackage as P on P.PkgID = TSR.ReferencePackageID
and (128 & P.PkgFlags) <> 128 --the bitmask for the "Copy the content... option in the Package Data Access properties"