GetSWDPolicy - Could not find the policy in WMI for the advertisement

Boopathi Subramaniam 3,301 Reputation points
2023-05-31T18:14:59.16+00:00

Hello,

I have deployed a task sequence. it is under Retry state in the Software Center.

I see the below in execmgr.log

It starts the installation on next retry.

swd

Please help what is wrong here

Microsoft System Center
Microsoft System Center
A suite of Microsoft systems management products that offer solutions for managing datacenter resources, private clouds, and client devices.
906 questions
Microsoft Configuration Manager
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. XinGuo-MSFT 16,096 Reputation points
    2023-06-01T06:53:31.09+00:00

    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:

    0 comments No comments