If Windows updates are stuck, missing, or repeatedly failing, clearing the WSUS cache may help—but “WSUS cache” can mean two different things. A Windows computer gets update files in its local Windows Update cache, while a WSUS server stores update content in a separate folder. The right cleanup depends on which machine has the problem. This guide explains both options, how to clear each cache safely, and what to try if the issue continues.
What Does the WSUS Cache Store?
Windows Server Update Services (WSUS) helps administrators manage and distribute Microsoft updates across a network. A WSUS client contacts the server to scan for approved updates and download the ones it needs. During that process, files may be stored in two places:
-
Client cache: The Windows Update client stores downloaded update files and related data on each computer, mainly under
C:\Windows\SoftwareDistribution. -
WSUS server content: The WSUS server stores update files in its configured content directory, often a folder named
WsusContent.
These locations serve different purposes. Clearing a client cache can help one computer recover from a corrupted or incomplete download. Removing files from the server’s content directory, however, can interrupt update delivery to many computers. Before making changes, identify whether the problem affects one client or the WSUS server and multiple clients.
How to Clear the Windows Update Cache on a WSUS Client
Use this method when one Windows computer cannot download or install updates, shows repeated download errors, or appears stuck while checking for updates. The steps stop update services, rename the local cache folder, and restart the services. Windows will create a fresh cache as needed.
- Sign in to the affected computer with an administrator account.
- Open Command Prompt as an administrator.
- Stop the Windows Update and Background Intelligent Transfer Service (BITS) services.
- Rename the SoftwareDistribution folder.
- Start the services again and run a new update check.
Run these commands one at a time in the elevated Command Prompt:
net stop wuauserv
net stop bits
ren %windir%\SoftwareDistribution SoftwareDistribution.old
net start bits
net start wuauserv
If Windows says a service is not started, continue to the next command. If the rename fails because SoftwareDistribution.old already exists, use a different unused name, such as SoftwareDistribution.old2. If the folder is reported as in use, confirm that the Command Prompt is elevated and that the services stopped successfully. Restart the computer and try again if necessary.
After the services restart, open Settings > Windows Update and select Check for updates. The first scan or download may take longer than usual because Windows is rebuilding local update data. The rename does not uninstall updates already installed on the computer, and it does not change the computer’s WSUS policy or server assignment.
What Happens When You Rename SoftwareDistribution?
The SoftwareDistribution folder contains local Windows Update files and data used for update scans and downloads. Renaming it gives Windows a clean folder to use without immediately deleting the previous one. If the reset does not resolve the issue, the old folder can help an administrator investigate, but it is generally not required for normal update operation.
Do not rename this folder while update services are running. Also, do not expect the reset to fix every WSUS problem. If the computer cannot reach the WSUS server, is assigned to the wrong update group, or has a policy or approval issue, clearing its local cache will not correct the underlying cause.
How to Repair the WSUS Server Content Cache
If updates are failing for several computers, the problem may be on the WSUS server. WSUS stores downloaded update files in its configured content directory, commonly called WsusContent. Avoid manually deleting that folder or its contents. The WSUS database tracks update content, and deleting files outside the supported tools can leave the server unable to provide updates correctly.
To check the server’s update files and download missing or damaged content, run the WSUS utility’s reset command:
- Sign in to the WSUS server with an account that has administrative rights.
- Open Command Prompt as an administrator.
- Change to the WSUS Tools folder and run the reset command.
cd "%ProgramFiles%\Update Services\Tools"
wsusutil.exe reset
The command checks the update files recorded in the WSUS database against the content available on the server. If expected files are missing, WSUS attempts to download them again from the configured update source. The operation can take a while, especially on a server with a large update catalog or limited bandwidth. Monitor available disk space, network activity, and WSUS logs while it runs. Avoid interrupting it unless you have a specific reason to stop the repair.
The reset command is a content verification and repair operation; it is not a general-purpose command for freeing disk space. It may add or replace files, but it does not perform the same job as the WSUS cleanup wizard. If your goal is to reduce storage use, clean up superseded and unused updates through WSUS’s supported maintenance options instead.
How to Clean Up Old WSUS Updates Safely
To remove obsolete updates and reclaim space, use the WSUS Server Cleanup Wizard rather than deleting files from WsusContent by hand. In the WSUS console, open Options, choose Server Cleanup Wizard, select the cleanup actions that suit your environment, and start the wizard. Depending on your WSUS version and configuration, the available choices may include removing unused updates and update revisions, expired updates, unneeded update files, and computers that have not contacted the server recently.
Run cleanup during a maintenance window if your server is busy. A large cleanup can take significant time and use server resources. In some environments, administrators run cleanup actions in stages and perform database maintenance separately. Follow your organization’s WSUS maintenance plan, and make sure you have a current backup before making major changes.
Cleanup is different from resetting client caches. It manages server-side update data and content; it does not clear C:\Windows\SoftwareDistribution on every client. Likewise, resetting one client does not clean up old content on the WSUS server.
How to Tell Which Cache You Should Clear
Use the scope of the problem as a starting point:
- One computer has a stuck or failed download: Reset that computer’s Windows Update cache.
-
Several computers fail to download the same updates: Check WSUS health, approvals, server connectivity, and content availability. Consider
wsusutil resetif server content may be missing or damaged. - The WSUS server is running low on disk space: Review the content directory and use the Server Cleanup Wizard. Do not delete the content folder manually.
- Clients are not seeing approved updates: Check computer group membership, update approvals, group policy, and client connectivity. Cache clearing alone may not resolve these configuration problems.
For a single client, confirm that it can resolve and reach the WSUS server on the ports configured in your environment. Also verify that its update policy points to the intended server. For a server-wide issue, check WSUS synchronization status, upstream connectivity, disk space, and relevant event and WSUS logs before making changes.
Common Mistakes to Avoid
- Deleting WsusContent by hand: This can remove files WSUS expects to serve and cause further download problems.
- Confusing cache clearing with update removal: Renaming the client cache does not uninstall installed updates.
- Expecting a cache reset to fix policy problems: A client assigned to the wrong WSUS server or group still needs its configuration corrected.
- Running server repairs without checking capacity: A reset may trigger downloads and use network bandwidth and disk space.
- Clearing every client unnecessarily: Start with affected computers and expand only if the evidence points to a broader issue.
What to Do If Clearing the Cache Does Not Work
After resetting a client cache, check Windows Update again and note any error code. If the scan still fails, review the computer’s Windows Update policy, confirm that it can communicate with the configured WSUS server, and check whether the required updates are approved for the correct computer group. If several clients are affected, inspect WSUS synchronization and server health rather than repeating the same client-side reset across the network.
For a WSUS server, verify that the content directory has adequate free space and that the server can access its configured update source. Use the WSUS console and server logs to identify synchronization or download errors. If a reset or cleanup is taking unusually long or repeatedly failing, review the server’s database and maintenance status and consider involving your Windows Server administrator before making additional changes.
Conclusion
To clear the WSUS cache, first decide whether the issue is on a Windows client or the WSUS server. On a client, stop the Windows Update and BITS services, rename C:\Windows\SoftwareDistribution, and restart the services. On the server, use wsusutil reset to verify and repair missing update content, and use the Server Cleanup Wizard to remove obsolete data. Avoid manually deleting the WSUS content directory. Choosing the right method helps restore update downloads while protecting the rest of your update environment.
Disclaimer: Articles are written by Humans, AI or Both. Verify Important information.