How to Clean Up Third-Party Updates from the WSUS UpdateServicesPackages Folder
This article and video will describe the steps required to clean up obsolete/declined updates from the WSUS Database and how to properly remove the content folders for these updates from the UpdateServicePackages folder.
A Little Background on the WSUSContent Folder
The WSUSContent folder is the folder where published third-party updates (.CAB files) are stored. The WSUSContent folder maps to the Content virtual directly in the WSUS Administration website. The Content virtual directory is where the updates are downloaded by clients or downloaded to a Configuration Manager deployment package.
If you review the Content virtual directory in IIS, you can see how it maps to the WSUSContent directory on the file system.
When reviewing the Content Information tab in the properties of a software update in Configuration Manager, you can view the download path for the third-party update from the WSUSContent folder.
If you enabled the WSUS Maintenance feature in Configuration Manager 1906 or newer, older declined update content should be removed automatically.
For a deeper look into the WSUSContent, please review the video guide below.
A Little Background on the UpdateServicePackages Folder
The UpdateServicePackages folder is used primarily for third-party update publishing operations. It’s common for the UpdateServicePackages to become bloated with content from obsolete updates.
Each folder within the UpdateServicePackages corresponds to a third-party update and contains the content downloaded from the vendor and the digitally signed CAB file used for a specific UpdateID.
In the folder 93171a38-662f-47a7-92c1-4862cbf16146, from the screenshot above, you can find the original binaries downloaded from the vendor for the software update.
For a deeper look into the UpdateServicePackages and how to clean up obsolete updates from this directory, please review the video guide below.
Video Guide on Deleting Obsolete Update Content from the UpdateServicePackages Folder
Please review the video guide below for a deep dive into how to properly clean up unreferenced updates from the UpdateServicePackages.