question

SenhorDolas-2197 avatar image
0 Votes"
SenhorDolas-2197 asked SenhorDolas-2197 answered

WSUS | Remove superseeded and declined updates

Hi
I have a lot of declined and superseded updates in my WSUS db (over 13K).
I have followed the best recommendations from software-updates-maintenance but the count is not going down for weeks.
I can see updates from back in 2016!!

Does anyone has a good clean up script pls?



thanks, M

mem-cm-general
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

SherryKissinger-ECM avatar image
2 Votes"
SherryKissinger-ECM answered

Several years ago; when there was a almost-global "storm" that affected multiple customers, many MVPs and other experts in CM kind of quickly banded together and made multiple methods for preventative maintenance. Some of this is repeated, some of this might be old now: but start here:
https://www.deploymentresearch.com/fixing-wsus-when-the-best-defense-is-a-good-offense/

What we use internally are multiple things; I'm not going to claim it's the absolutely perfect and right thing to do; but just saying this is what we've ended up with:
https://tcsmug.org/blogs/sherry-kissinger/512-wsus-administration-wsuspool-web-config-settings-enforcement-via-configuration-items

https://tcsmug.org/blogs/jeff-carreon/513-what-s-sup

But, please read the original at deploymentresearch.com; do your own evaluation of what might be best for your environment.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Amandayou-MSFT avatar image
0 Votes"
Amandayou-MSFT answered

Hi,

Haven't heard from you for some time, is Sherry's answer helpful to you? If it is helpful, please accept answer. It will make someone who has the similar issue easily find the answer.

If you have any other issues, please don't hesitate to let us know.

Thanks and have a nice day.

Best regards,
Amanda

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

SenhorDolas-2197 avatar image
0 Votes"
SenhorDolas-2197 answered

@SherryKissinger-ECM @Amandayou-MSFT
Thanks for your input - I am looking for a powershell script and I cannot find anything newer (last 2/3 years) that can help me.
Do you have anything?

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.