locked
Outdated Updates Cleanup RRS feed

  • Question

  • Is there a way to have clients automatically delete outdated updates after they've been installed for X months? I understand that it can be scheduled on a per client basis through Disk Cleanup, but we may want to only clean up updates that have been installed after several months.

    http://support2.microsoft.com/kb/2852386

    Wednesday, October 8, 2014 4:00 PM

Answers

  • Deleting the installation and backup files stored in C:\Windows\WinSxS .

    Glad I asked. This really isn't a WSUS question, it's an Operating System question, and the place you'd want to ask is in the appropriate Windows forum.

    However, you'll get mixed answers in any case. Half the peeps will give you a litany of hacks on how to clean it up. The other half will point out that you shouldn't be messing with the WinSxS folder in any circumstances.

    Here are the official statements on this question:

    http://technet.microsoft.com/en-us/library/dn251565.aspx

    https://support.microsoft.com/kb/2795190?wa=wsignin1.0


    Lawrence Garvin, M.S., MCSA, MCITP:EA, MCDBA
    SolarWinds Head Geek
    Microsoft MVP - Software Packaging, Deployment & Servicing (2005-2014)
    My MVP Profile: http://mvp.microsoft.com/en-us/mvp/Lawrence%20R%20Garvin-32101
    http://www.solarwinds.com/gotmicrosoft
    The views expressed on this post are mine and do not necessarily reflect the views of SolarWinds.

    • Marked as answer by Steven_Lee0510 Thursday, October 23, 2014 2:47 AM
    Thursday, October 9, 2014 3:35 PM

All replies

  • Is there a way to have clients automatically delete outdated updates after they've been installed for X months?

    Can you please clarify what you really mean here, because I'm pretty certain you don't mean what you actually wrote.

    Lawrence Garvin, M.S., MCSA, MCITP:EA, MCDBA
    SolarWinds Head Geek
    Microsoft MVP - Software Packaging, Deployment & Servicing (2005-2014)
    My MVP Profile: http://mvp.microsoft.com/en-us/mvp/Lawrence%20R%20Garvin-32101
    http://www.solarwinds.com/gotmicrosoft
    The views expressed on this post are mine and do not necessarily reflect the views of SolarWinds.

    Thursday, October 9, 2014 3:50 AM
  • Deleting the installation and backup files stored in C:\Windows\WinSxS . The task the Disk Cleanup tool does. The difference is that the Disk Cleanup tool will cleanup all updates installed previously. Running that tool on a schedule would prevent rollback. It would need to know when an update was installed and let it sit for X months before deleting them.
    Thursday, October 9, 2014 1:09 PM
  • Deleting the installation and backup files stored in C:\Windows\WinSxS .

    Glad I asked. This really isn't a WSUS question, it's an Operating System question, and the place you'd want to ask is in the appropriate Windows forum.

    However, you'll get mixed answers in any case. Half the peeps will give you a litany of hacks on how to clean it up. The other half will point out that you shouldn't be messing with the WinSxS folder in any circumstances.

    Here are the official statements on this question:

    http://technet.microsoft.com/en-us/library/dn251565.aspx

    https://support.microsoft.com/kb/2795190?wa=wsignin1.0


    Lawrence Garvin, M.S., MCSA, MCITP:EA, MCDBA
    SolarWinds Head Geek
    Microsoft MVP - Software Packaging, Deployment & Servicing (2005-2014)
    My MVP Profile: http://mvp.microsoft.com/en-us/mvp/Lawrence%20R%20Garvin-32101
    http://www.solarwinds.com/gotmicrosoft
    The views expressed on this post are mine and do not necessarily reflect the views of SolarWinds.

    • Marked as answer by Steven_Lee0510 Thursday, October 23, 2014 2:47 AM
    Thursday, October 9, 2014 3:35 PM
  • Thanks. I was hoping that there was a way that WSUS could handle this. Seemed like a reasonable location. Yeah, I definitely want to do it the Disk Cleanup method, but don't want it to be a specific time. Updates are installed monthly, but it may not be realized that a particular update should be rolled back until 2 months later. Thus, a monthly cleanup of all updates would eliminate that possibility.
    Thursday, October 9, 2014 3:58 PM