Hi,
The error message "GetSWDPolicy - Could not find the policy in WMI for the advertisement" indicates that the client is unable to retrieve the task sequence policies from WMI, which prevents the task sequence from starting. This error usually indicates a problem with the Configuration Manager client or the task sequence deployment itself.
To troubleshoot the issue, you can try the following steps:
Verify that the SCCM client is properly installed and configured on the affected computer. Confirm that the task sequence has been deployed correctly and is deployed to the affected computer. Check the SMSTS.log file on the client computer for more detailed error messages and troubleshoot any errors that you find there.
If the issue persists, try enabling the Software Distribution Agent by adding the following Run Command Line step earlier in the task sequence, before any Install Package steps: WMIC /namespace:\root\ccm\policy\machine\requestedconfig path ccm_SoftwareDistributionClientConfig CREATE ComponentName="Enable SWDist", Enabled="true", LockSettings="TRUE", PolicySource="local", PolicyVersion="1.0", SiteSettingsKey="1" /NOINTERACTIVE
References: