You might see content mismatch warnings in SCCM when content validation runs and determines that there is a discrepancy between the expected list of packages in WMI on the distribution point and the packages in the content library. In this scenario, the distribution point status goes into a warning state and the status message returned by the distribution point is listed in the Details pane when you view the status of the distribution point in the Monitoring workspace, Distribution Point Configuration Status node.
To determine which package is causing this mismatch, review the smsdpmon.log file on the distribution point.
Notice the log entries:
CContentDefinition::LibraryPackagesWmi: The package data in WMI is not consistent to PkgLib
CContentDefinition::LibraryPackagesWmi: Package CCA0000A can’t be found in PkgLib
The simplest way to determine the missing package is to view the Content Status in the Monitoring workspace and search for the package ID by using the search field. After you have found the package ID, you can determine the name of the software.
If the package is not on the site, you must remove the package from WMI on the distribution point. The namespace to connect to is rootsccmdp. The class that contains the list of packages expected is SMS_PackagesInContLib. The simplest way to find the package and remove it from WMI is to run a query on the distribution point such as the following, and then delete the object that is returned.
select * from SMS_PackagesInContLib Where PackageID = ‘CCB00002’
Note: Ensure that you replace the CCB00002 with your own package ID
If the package is on the site, you can update the content on the distribution point to clear the Warning state.
If the error still persists you can use this script to remove the offending packages/applications.