Forum Discussion
shocko
Dec 01, 2021Steel Contributor
WSUS DB Maintenance
Is there a recommended maintenance script or set of tasks for WSUS on Windows Server 2019?
- Jan 22, 2022Haven't done much with WSUS the last few years, but I liked https://github.com/awarre/Optimize-WsusServer
Jan 22, 2022
Haven't done much with WSUS the last few years, but I liked https://github.com/awarre/Optimize-WsusServer
- shockoFeb 03, 2022Steel ContributorSeems more holistic in the sense of looking at the WSUS app layer rather than pure DB layer.
- kwester-ebbinghaus-businessFeb 04, 2022Iron ContributorIt does a lot.
Optimizing SQL or WID database (I recommend not to use the WID due to ram and CPU limits technically it's an unpatched SQL 2012 LocalDB,
WSUS,
IIS,
logging.
It also fixes the wrong OS names on database level as well as sufficiently compress and purge old updates from the database.
In typical environment this saves you thousands or hundred of thousands update metadata.
As said there's nothing better for WSUS DB than this. You won't be disappointed. Tried a lot of free scripted solutions before. WAM was once free too.
You will never have to worry about having too many Updates, old Updates, uneeded Updates. You can auto approve all and WAM takes care that the DB and repository doesn't explode.
Btw. For most customers I don't use WSUS to save any updates. As this does not make sense in modern environments due to delivery optimization.- Alban1999Feb 07, 2022Iron Contributor
Microsoft provides extensive documentation on WSUS/SUP maintenance and optimization. It's free and supported.
Windows Server Update Services (WSUS) best practices - Configuration Manager | Microsoft Docs
Reindex the Windows Server Update Services (WSUS) database - Configuration Manager | Microsoft Docs