locked
WSUS cleaning tool beyond built in option for \WsusContent folder space recovery RRS feed

  • Question

  • I have a 2019 std server running WSUS. The drive usage is reaching 300 GB at the \WsusContent folder. I have run the server cleanup wizard multiple times but not much space is recovered - not sure this tool performs cleaning on the content folder. Advise? Do you guys run a script or have a free tool to recover space? 

    Thanks, 

    Milty


    milty60


    • Edited by milten Friday, January 24, 2020 3:22 PM typo
    Friday, January 24, 2020 2:38 PM

Answers

  • If you unchecked any updates after going through the steps mentioned in the article above, then try running the steps once again.

    I'm coming to a conclusion though that 300GB might actually be the amount of disk space your updates take.


    Blog: https://thesystemcenterblog.com LinkedIn:

    • Marked as answer by milten Tuesday, January 28, 2020 1:56 PM
    Tuesday, January 28, 2020 1:53 PM

All replies

  • Hi,

    You could give this one a try:

    WSUS Clean - Powershell script
    https://gallery.technet.microsoft.com/scriptcenter/WSUS-Clean-Powershell-102f8fc6

    Best regards,
    Leon


    Blog: https://thesystemcenterblog.com LinkedIn:

    Friday, January 24, 2020 2:59 PM
  • I believe that PS script cleans the DB but I don't think it cleans/frees space on the WsusContent folder. The setup I inherited - Local on the WSUS server - C: drive contains the DB and E: drive contains two folders:

    WSUScontent - 293 GB

    UpdateServicesPackages  - its empty

    Thanks, 

    Bob 


    milty60

    Friday, January 24, 2020 3:27 PM
  • Something here might help:

    What to do when your WSUSContent folder grows too large
    https://docs.microsoft.com/en-gb/archive/blogs/gborger/what-to-do-when-your-wsuscontent-folder-grows-too-large


    Blog: https://thesystemcenterblog.com LinkedIn:

    Friday, January 24, 2020 3:30 PM
  • FYI 

    Found some hits on using a wsusutil.exe with parameter /reset. States first to delete entire contents of \WSUScontent folder - sounds scary to me - then run utility to re-propagate folder. Thoughts? 

    Milty 


    milty60

    Friday, January 24, 2020 4:29 PM
  • That is what is done in what the article in my previous reply:

    "WSUSUtil.exe RESET

    -This command tells WSUS to check each update in the database, and verify that the content is present in the WSUSContent folder. As it finds that the content is not present in the folder, it executes a BITS job to download the content from Microsoft. This process takes quite a bit of time and runs in the background."


    Blog: https://thesystemcenterblog.com LinkedIn:

    Friday, January 24, 2020 4:35 PM
  • I ran the PS script wsusutil reset - no space was recovered in the E:\wsuscontent folder. 

    Thanks, 

    Milty 


    milty60

    Friday, January 24, 2020 8:32 PM
  • Apologies if I was unclear, what I meant was to follow the guide over here:
    https://docs.microsoft.com/en-gb/archive/blogs/gborger/what-to-do-when-your-wsuscontent-folder-grows-too-large

    Make sure you follow the steps closely.


    Blog: https://thesystemcenterblog.com LinkedIn:

    Friday, January 24, 2020 8:38 PM
  • Appreciate the link - I'll check it out and run over the weekend. 

    Thanks, 

    Milty 


    milty60

    Friday, January 24, 2020 8:49 PM
  • Hello, 

    I followed the doc step by step and had high hopes for reducing the content folder. Once the process was done wsusutil reset I was back to the exact size folder I had previously. Any thoughts? 

    Thanks, 

    Milty


    milty60

    Tuesday, January 28, 2020 1:32 PM
  • Did you go through the updates that you currently have?

    Did you disapprove any unneeded updates? Only select the updates for the products you have in your organisation.


    Blog: https://thesystemcenterblog.com LinkedIn:

    Tuesday, January 28, 2020 1:37 PM
  • Hi, 

    Did you go through the updates that you currently have? Not sure what your asking? Are the updates pushed out to the PC's? I that your question? 

    Did you disapprove any unneeded updates? Yes

    Only select the updates for the products you have in your organisation. Done. 

    Thanks, 

    Milty


    milty60

    Tuesday, January 28, 2020 1:45 PM
  • Did you go through the updates that you currently have? Clarification: Did you go trough the update settings, i.e which updates you want to download to your WSUS server.

    Well depending on your update settings, 300GB might be quite a reasonable size, some updates do take quite a lot of disk space.


    Blog: https://thesystemcenterblog.com LinkedIn:

    Tuesday, January 28, 2020 1:48 PM
  • Hello, 

    I did go through the updates I wanted to download and actually unchecked a good number of unneeded updates. But as you said maybe 300 GB is reasonable. 

    Thanks, 

    Milty 


    milty60

    Tuesday, January 28, 2020 1:52 PM
  • If you unchecked any updates after going through the steps mentioned in the article above, then try running the steps once again.

    I'm coming to a conclusion though that 300GB might actually be the amount of disk space your updates take.


    Blog: https://thesystemcenterblog.com LinkedIn:

    • Marked as answer by milten Tuesday, January 28, 2020 1:56 PM
    Tuesday, January 28, 2020 1:53 PM