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

Boopathi S 3,806 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 Security | Intune | Configuration Manager | Other
Microsoft System Center | Other
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. XinGuo-MSFT 22,231 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

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.