locked
WSUS Cleanup RRS feed

  • Question

  • I have installed CMCB in my lab. Single server (2012 R2) primary site. I installed the SUP role and started creating a few ADRs for testing. Initially I setup my ADRs to download everything in the last 30 days based on the products I defined. This quickly turn into some 40-50 GB packages. I have since replaced those ADRs and purged the original deployment packages.

    Although the deployment packages have been removed, and the content library has been cleaned up, I still see 40 GB of content in the WSUS folder on my site server. 30 GB in UpdateServicesPackages and 10 GB in WsusContent. I ran the Server Cleanup Wizard from the WSUS console (all boxes checked) but this did not cleanup the WSUS folder.

    It has been my understanding that we should avoid approving/denying updates from the WSUS console, as SCCM is suppose to manage this. But how do I cleanup this folder effectively?

    Thursday, August 25, 2016 3:47 PM

Answers

  • ConfigMgr does not manage update approvals in WSUS -- it simply doesn't use them at all.

    If your WSUSContent folder is 10GB, then you've got updates approved in WSUS -- these were either manually approved or approved via a rule. You need to go back and set these back to not approved.

    Define your "WSUS folder" and "UpdateServicesPackages"? Is one of these the folder you have defined as the source location for your packages? What is the other?


    Jason | http://blog.configmgrftw.com | @jasonsandys

    Friday, August 26, 2016 1:39 PM

All replies

  • Refer the blog, which will explain how to clean the udate and database, there is a script. 

    https://blogs.technet.microsoft.com/enterprisemobility/2012/04/12/software-update-content-cleanup-in-system-center-2012-configuration-manager/

    http://wsus.codeplex.com/releases/view/17612

    https://www.3ait.co.uk/blog/solved-shrink-a-wsus-database-susdb-mdb-to-almost-nothing-2/

    read the complete


    Sharad Singh | My blogs: SharadTech | Twitter: @SinghSharaad | | Please remember to click “Mark as Answer” on the post that helps you.This can be beneficial to other community members reading the thread.


    • Edited by SinghSharad Thursday, August 25, 2016 4:17 PM
    Thursday, August 25, 2016 4:12 PM
  • https://blogs.technet.microsoft.com/enterprisemobility/2012/04/12/software-update-content-cleanup-in-system-center-2012-configuration-manager/



    This is no longer needed as that functionality is now built into the product (ConfigMgr).

    Torsten Meringer | http://www.mssccmfaq.de

    Friday, August 26, 2016 7:10 AM
  • ConfigMgr does not manage update approvals in WSUS -- it simply doesn't use them at all.

    If your WSUSContent folder is 10GB, then you've got updates approved in WSUS -- these were either manually approved or approved via a rule. You need to go back and set these back to not approved.

    Define your "WSUS folder" and "UpdateServicesPackages"? Is one of these the folder you have defined as the source location for your packages? What is the other?


    Jason | http://blog.configmgrftw.com | @jasonsandys

    Friday, August 26, 2016 1:39 PM
  • https://gallery.technet.microsoft.com/Workstation-Patch-9f52a143

    To cleanup the wsus the above script can be used.


    Kamala kannan.c| Please remember to click “Mark as Answer” or Vote as Helpful if its helpful for you. |Disclaimer: This posting is provided with no warranties and confers no rights

    Friday, August 26, 2016 2:50 PM