Patch Publish Fails - Too Many Locally Published Categories in Shavlik Patch Versions 2.2 through 2.3.0

Version 14

    Ivanti Patch for SCCM versions 2.3.1 and later no longer require a limit of 100 published categories. Please download and install the newest version of Ivanti Patch for Windows Servers here for optimal performance https://go.ivanti.com/Web-Download-Patch-SCCM.html

     

    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()

     

     

    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

     

    Shavlik Patch 2.2 through Shavlik Patch 2.3.0:

     

    1. Select Manage Products

    2. Go to Delete Vendor/Product Categories, select all vendors that you wish to remove:

    3. Select 'Yes' on the confirmation screen.

    4. View progress in the AutoPublish.log

     

    Shavlik Patch 2.1 and earlier:

              

    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.

     

    Affected Product(s)

     

    Shavlik Patch for Microsoft System Center 2.2-2.3.0

    (Shavlik SCUPdates)