question

rkppt-4902 avatar image
0 Votes"
rkppt-4902 asked saldana-msft edited

Automatic removal of orphaned updates

I am using Configuration Manager 2103 to manage patches.

I download patches to my deployment package (shared folder) on a regular basis. Is there a way to automatically remove old unwanted patches?

In the WSUS cleanup tool in Configuration Manager
I know how to automatically remove it from Configuration Manager DB and remove the catalog information.

Anyone who knows a good way to automatically remove orphaned patches in a shared folder would be grateful if you could tell me.

windows-server-update-servicesmem-cm-updates
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.

SimonRenMSFT-3639 avatar image
0 Votes"
SimonRenMSFT-3639 answered SimonRenMSFT-3639 edited

Hi,

Thanks for your reply. Please help check the wsyncmgr.log file to see if there is the folder deletion entry. As shown below:

123475-update.png

Best regards,
Simon


If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
https://docs.microsoft.com/en-us/answers/articles/67444/email-notifications.html


update.png (11.0 KiB)
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.

SimonRenMSFT-3639 avatar image
0 Votes"
SimonRenMSFT-3639 answered SimonRenMSFT-3639 edited

Hi,

Thanks for posting in Microsoft Q&A forum.

As you are using Configuration Manager version 2103, a later version than 1906, we can automate the cleanup procedures by enabling the WSUS Maintenance options in the software update point configuration of the top-level site. These options handle all cleanup operations that are performed by the WSUS Server Cleanup Wizard.

From Configuration Manager current branch version 1906 or a later version, enabling the Decline expired updates in WSUS according to supersedence rules option handles declining of Expired updates and Superseded updates based on the supersedence rules that are specified in Configuration Manager. Enabling the Remove obsolete updates from the WSUS database option in Configuration Manager current branch version 1906 handles the cleanup of Unused updates and update revisions (Obsolete updates). It's recommended to enable these options in the software update point configuration on the top-level site to allow Configuration Manager to clean up the WSUS database.

For more information about WSUS and Configuration Manager SUP maintenance, please refer to below official articles:
The complete guide to WSUS and Configuration Manager SUP maintenance
Software updates maintenance

123004-wsus-and-sup.png

Best regards,
Simon


If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.



wsus-and-sup.png (87.4 KiB)
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.

rkppt-4902 avatar image
0 Votes"
rkppt-4902 answered

Thank you for answering.

Is it possible to confirm that the content file has been deleted successfully in the Configuration Manager log file?
In that case, please tell me the target file.

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.