Content Validation Issue on Distribution Points

Hi all,

I am currently running SCCM 2012 R2 CU2 with Single Primary Site Server and Several remote Distribution Points serving Windows Updates, Software and Images.

This has been bothering me for a while now and I can not figure it out. Two of my distribution points are not completing their content validation. They begin the process as scheduled but about 2-5 packages in, they get hung up on an old package that does not exist anymore and then start the process over, validating the same 2 packages over and over. I have ran a few scripts to check WMI for this package and it is definitely not there. It is not present in the Content Library either.
Simple query for to check WMI for the package on the DP:

gwmi -Namespace rootsccmdp -Query select * from SMS_PackagesInContLib where PackageID = XXX001AE
Here is a snip of the smsdpmon.log
****
Report status message 0x8000094F to MP SMS_Distribution_Point_Monitoring 11/9/2014 3:54:02 AM 3604 (0x0E14)
Status message has been successfully sent to MP from remote DP SMS_Distribution_Point_Monitoring 11/9/2014 3:54:02 AM 3604 (0x0E14)
Start to evaluate package XXX001AE version 0 SMS_Distribution_Point_Monitoring 11/9/2014 3:54:02 AM 3604 (0x0E14)
Report status message 0x4000094C to MP SMS_Distribution_Point_Monitoring 11/9/2014 3:54:02 AM 3604 (0x0E14)
Status message has been successfully sent to MP from remote DP SMS_Distribution_Point_Monitoring 11/9/2014 3:54:02 AM 3604 (0x0E14)
Failed to evaluate package XXX001AE, Error code 080070002 SMS_Distribution_Point_Monitoring 11/9/2014 3:54:02 AM 3604 (0x0E14)
Report state message 0x8000094F to MP SMS_Distribution_Point_Monitoring 11/9/2014 3:54:02 AM 3604 (0x0E14)
Report Body: SPS001AE["Display=vdepman.sdale.org"]MSWNET:["SMS_SITE=SPS"]vdepman.sdale.org
SMS_Distribution_Point_Monitoring 11/9/2014 3:54:02 AM 3604 (0x0E14)
Report status message 0x8000094F to MP SMS_Distribution_Point_Monitoring 11/9/2014 3:54:02 AM 3604 (0x0E14)
Status message has been successfully sent to MP from remote DP SMS_Distribution_Point_Monitoring 11/9/2014 3:54:02 AM 3604 (0x0E14)
Report status message 0x8000095A to MP SMS_Distribution_Point_Monitoring 11/9/2014 3:54:02 AM 3604 (0x0E14)
Status message has been successfully sent to MP from remote DP SMS_Distribution_Point_Monitoring 11/9/2014 3:54:02 AM 3604 (0x0E14)



Anyone have any idea why it is still trying to validate this old package?

Thanks

November 9th, 2014 4:06pm

Try to remove the package from the DP by using this cmdlet Remove-CMContentDistribution   http://technet.microsoft.com/en-us/library/dn472920(v=sc.20).aspx. Or you can try this Skript:gwmi -Namespace root\sccmdp -Query "select * from SMS_PackagesInContLib where PackageID = 'XXX001AE'" | Remove-WmiObject
Free Windows Admin Tool Kit Click here and download it now
November 10th, 2014 9:17am

Hi,

Found a document which seemed helpful for our question, please refer to the link below.

Configuration Manager DP Configuration Status and Content Validation

http://wmug.co.uk/wmug/b/peter_egerton/archive/2014/03/19/configuration-manager-dp-configuration-status-and-content-validation

Note: Microsoft provides third-party contact information to help you find technical support. This contact information may change without notice. Microsoft does not guarantee the accuracy of this third-party contact information.

November 10th, 2014 9:29am

Thanks for the replies,

Here is some extra information on what I have tried.

I have run the Bart Serneels script which did seem to clean some things up on the other servers. Did NOT fix the issue on these ones however.

I have also ran these two scripts that compare the content on the DP itself.

This one Compares Content Librrary with WMI and deletes the package INI if needed.

cls

$WMIPkgList = Get-WmiObject -Namespace Root\SCCMDP -Class SMS_PackagesInContLib | Select -ExpandProperty PackageID | Sort-Object

$ContentLib = (Get-ItemProperty HKLM:SOFTWARE\Microsoft\SMS\DP).ContentLibraryPath

$PkgLibPath = ($ContentLib) + '\PkgLib'

$PkgLibList = (Get-ChildItem $PkgLibPath | Select -ExpandProperty Name | Sort-Object)

$PkgLibList = ($PKgLibList | ForEach-Object {$_.replace('.INI',"")})

$PksinWMIButNotContentLib = Compare-Object -ReferenceObject $PKgLibList -DifferenceObject $WMIPkgList -PassThru | Where-Object { $_.SideIndicator -eq "=>" }

$PksinContentLibButNotWMI = Compare-Object -ReferenceObject $PKgLibList -DifferenceObject $WMIPkgList -PassThru | Where-Object { $_.SideIndicator -eq "<=" }

##Write-Host Items in WMI but not the Content Library
##Write-Host ========================================
##$PksinWMIButNotContentLib

Write-Host Items in Content Library but not WMI
Write-Host ====================================
$PksinContentLibButNotWMI

Write-Host Delete .INIs in PkgLib not in WMI

Foreach ($PkgLIB in $PksinContentLibButNotWMI){
Remove-Item -Path "$PkgLibPath\$PkgLIB.INI" -Confirm
}

This one Compares WMI to the Content Library and delete the package from WMI.

cls

$WMIPkgList = Get-WmiObject -Namespace Root\SCCMDP -Class SMS_PackagesInContLib | Select -ExpandProperty PackageID | Sort-Object

$ContentLib = (Get-ItemProperty HKLM:SOFTWARE\Microsoft\SMS\DP).ContentLibraryPath

$PkgLibPath = ($ContentLib) + '\PkgLib'

$PkgLibList = (Get-ChildItem $PkgLibPath | Select -ExpandProperty Name | Sort-Object)

$PkgLibList = ($PKgLibList | ForEach-Object {$_.replace('.INI',"")})

$PksinWMIButNotContentLib = Compare-Object -ReferenceObject $PKgLibList -DifferenceObject $WMIPkgList -PassThru | Where-Object { $_.SideIndicator -eq "=>" }

$PksinContentLibButNotWMI = Compare-Object -ReferenceObject $PKgLibList -DifferenceObject $WMIPkgList -PassThru | Where-Object { $_.SideIndicator -eq "<=" }

#Items in WMI but not the Content Library
#========================================
$PksinWMIButNotContentLib

#Items in WMI but not the Content Library
#========================================

$PksinWMIButNotContentLib
Foreach ($Pkg in $PksinWMIButNotContentLib){
    Get-WmiObject -Namespace Root\SCCMDP -Class SMS_PackagesInContLib -Filter "PackageID = '$Pkg'" | Remove-WmiObject -Confirm
}

Neither of them return any information about left over packages.

If I must, I may uninstall the DP role on these servers and reinstall it, one of them in also my "Application Catalog Server". Will re-installing the DP on this server cause any major issues?

Thanks

Free Windows Admin Tool Kit Click here and download it now
November 10th, 2014 6:37pm

Yes, I know this is an old post, but Im trying to clean them up. Did you solve this problem, if so what was the solution?

Since no one has answer this post, I recommend opening  a support case with Microsoft Customer Support Services (CSS) as they can work with you to solve this problem.

July 4th, 2015 12:35pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics