Symptoms
You are unable to publish patches due you too many categories being published in WSUS.
- In the SCUP.log or updatepublisher.log you find the following error:
Error Scup2011.10 Publisher.VerifyPackageRulesAndState VerifyPackageRulesAndState(): Too many locally published categories. Existing: 100, Adding: 1 at Microsoft.UpdateServices.Internal.BaseApi.Publisher.VerifyPackageRulesAndState()
- You run the Shavlik Patch Verify Tool and see this error:
Cause
This issue occurs if too many categories are published in WSUS. You have reached the 100 maximum category limit in WSUS.
When you import a catalog of third-party updates into WSUS, WSUS uses the product name together with the vendor name to create a category. This category is associated with a particular update. During a synchronization operation between a client computer and WSUS, all the locally-published categories are sent to the client computer for evaluation. If too many distinct categories are published, the synchronization process fails.
Solution
Microsoft has released a KB addressing the issue with a resolution: http://support.microsoft.com/kb/945536.
Contact Microsoft support if you cannot get the workaround to work.
Additional Information
You can obtain a list of 3rd party categories you have published in WSUS by running the following from Powershell on the WSUS server:
Copy and paste the following in Powershell. Replace vm-wsus-server.sccm.local with your WSUS server.
$server = Get-WsusServer -name vm-wsus-server.sccm.local -portnumber 8531 -usessl
$prods = Get-WsusProduct -UpdateServer $server
$prods.Product | ?{$_.UpdateSource -eq "Other"} | Format-Table type, title -Autosize
You can output this to a text file by adding: > Category.txt
This file is saved in the logged in user folder.
The output will look something like this:
Company 7-Zip | |
Product 7-Zip |
Product Adobe Acrobat 10
Product Adobe Acrobat 11
Product Adobe Acrobat DC
Product Adobe Air |
Product Adobe Flash Player
Product Adobe Reader 11
Product Adobe Reader 9 |
Product Adobe Shockwave
Company Adobe Systems, Inc.
Company Apple Inc. | |
Product Audacity |
Company Audacity
Each entry for Company and Product will be used against the category count in WSUS.
A future version of Shavlik Patch (due to release early 2016) will include a tool to remove categories from WSUS.
Affected Product(s)
Shavlik Patch for Microsoft System Center
(Shavlik SCUPdates)