Checking WSUS Performance & Why Maintenance is Essential

by | Last updated 2024.03.12 | Published on 2024.03.13 | Blog

WSUS doesn’t do a very good job of keeping itself clean. Yet, it needs to be clean and well-maintained in order to perform optimally. That’s why WSUS maintenance is absolutely essential. Fortunately, there are tools, like WAM, that can help fill in the gaps and keep your WSUS operating at its best. However, it’s good practice to first check the performance of your WSUS server.

Why WSUS Maintenance is Essential 

With the expansion of the Microsoft Update Catalog, the WSUS database has also grown significantly. Back in 2017, WSUS maintenance began to emerge as a crucial topic as users encountered timeouts in environments with numerous software updates. These timeouts manifested in error messages like the following in the wsyncmgr.log:

  • Sync failed: The operation has timed out. Source: Microsoft.UpdateServices.Internal.DatabaseAccess.ApiRemotingCompressionProxy.GetWebResponse Sync failed. Will retry in 60 minutes

Although the error message may suggest a networking or proxy issue due to the reference to “ApiRemotingCompressionProxy,” it typically indicates a timeout in the API call to the WSUS Administration IIS website when executing a SQL query for all published updates. This issue generally happens because SQL maintenance such as re-indexing, custom index creation, and other WSUS maintenance steps have never been performed.

Hence, keeping WSUS properly maintained is now more essential than ever to prevent such issues and ensure smooth operation.

Check WSUS Performance 

Before you start WSUS maintenance, you should get a baseline of how your WSUS database is performing. The stored procedure below will retrieve all updates in WSUS. The spSearchUpdates stored procedure is called during each software update point synchronization in ConfigMgr or WSUS.

Ideally, this query is executed in under 30 seconds in a healthy environment. If the query takes longer than 150 seconds, you may have sync failures and other WSUS performance issues.

Perform the following actions in SQL Management Studio > Connect to the SQL or WID Instance > Right-Click the SUSDB > New Query > Type: exec spSearchUpdates > Execute or F5.

WSUS Automated Maintenance & Performance Optimization 

The best and easiest way to ensure WSUS is optimized and performing its best is to use WAM. It automates maintenance and cleanup of your WSUS environment so you don’t have quite so much to do in this area. WAM does all of the following and more:

  • Backing up the database
  • Declining multiple types of updates including superseded, beta, preview, expired and Itanium by default
  • Cleaning up computer objects
  • Cleaning up the synchronization logs with Microsoft
  • Removing declined updates from the database
  • Running the database maintenance routine
  • Running the Server Cleanup Wizard (SCW)

Ultimately, if WSUS isn’t properly maintained, it will become slow, bloated, and lead to errors that steal your time.

Keep WSUS healthy, optimized, and maintained; get WAM!

At AJ Tek, our vision is to make IT simple and automated for other IT professionals. Our flagship product is WAM, WSUS Automated Maintenance. This system performs all of the tasks that a WSUS Administrator needs to do to maintain WSUS properly only leaving the approving of updates and reporting to the WSUS Administrator.

Connect with us on Facebook and LinkedIn for additional insights and advice.

Latest Blogs

Is WSUS Worth It?

There is no cost to use WSUS from Microsoft, they provide it free, included with Windows Server,...

read more

WSUS vs ConfigMgr/SCCM

WSUS (Windows Server Update Services) and Microsoft Configuration Manager (ConfigMgr/SCCM) are...

read more

Plan WSUS Maintenance

How often do you perform WSUS maintenance? Is it a monthly task? Quarterly? Or maybe even yearly?...

read more
How to Prepare for On-Prem WSUS UUP Updates

How to Prepare for On-Prem WSUS UUP Updates

Quality updates are coming on March 28 for on-premises Windows 11, version 22H2 devices. The updates are coming via the Unified Update Platform (UUP) which interoperates with WSUS and Microsoft Configuration Manager. UUP quality updates are cumulative, including all...

WSUS Automated Maintenance (WAM) Best Practices

WSUS Automated Maintenance (WAM) Best Practices

When configuring WSUS, you can consult Microsoft’s best practices. This will guide you through what to tune in WSUS. Still, there are different approaches to building and maintaining a WSUS Server, and overall, the situation can be rather complicated. That’s why WAM...

Discover the Best Microsoft Patch Management Option

Discover the Best Microsoft Patch Management Option

Microsoft patch management is an essential aspect of keeping your organization’s computer systems secure and up to date. However, many organizations fail to take this task seriously, leaving their systems vulnerable to security threats and other issues. To this day,...