Deploying software and updates using Configuration Manager
Those entries are task sequence and dependent policy data being pulled and expanded at task sequence start.
Key points supported by the logs and documentation:
- At the beginning of a task sequence, the client downloads the task sequence policy body from the database and stores it in the task sequence environment (
TSEnv.dat).MP_GetPolicylogs this activity. - The task sequence policy includes dependent policies, not just the task sequence itself.
- During steps such as Install Application, the client retrieves application policy from the task sequence environment, decompresses it, and stores policy in WMI under
root\ccm\policy\actualconfig. - Large task sequence policy is a known cause of slow or failed task sequence processing. The expanded client-side policy can exceed 32 MB even when the task sequence object in the database is smaller.
To find the source of the large number of evaluated policies:
- Check
MP_GetPolicyon the management point.- Search by the Deployment ID or Task Sequence ID.
- This shows the request where the task sequence policy body is retrieved.
- Check
SMSTS.logduring task sequence startup.- Look for policy retrieval from the task sequence environment and policy decompression.
- If the delay happens around Install Application, that step is reading application policies from
TSEnv.datand expanding them.
- Review what is deployed to the same collection as the task sequence.
- A documented way to reduce task sequence policy size is to reduce the number of software updates deployed to the same collection.
- Review task sequence size in the Configuration Manager console.
- Add the Size (KB) column to the task sequence list to identify large task sequences.
- Keep each task sequence under 2 MB in the database.
- Reduce policy carried by the task sequence.
- Move functional sections into child task sequences using Run Task Sequence.
- Reference PowerShell scripts from a package instead of embedding script text in Run PowerShell Script steps.
- Review custom task sequence variables, because the task sequence environment has an 8-KB limit and variables also contribute to policy size.
Most likely cause in this scenario:
- The task sequence deployment is carrying a large amount of dependent policy, commonly from application installs, software updates targeted to the same collection, or an oversized task sequence structure. Reset and cleanup temporarily lowers the local policy footprint, but the next policy refresh brings the same content back.
What to focus on first:
-
MP_GetPolicyfor the task sequence deployment request. -
SMSTS.logto see which phase is spending time reading/decompressing policy. - The task sequence Size (KB) value.
- Applications and software updates associated with the task sequence deployment collection.