Skip to content
Follow
Windows 🟡 Intermediate

How to Clear the Windows 11 Update Cache Safely

Richard
Written by
Richard
Aug 23, 2026 Updated Sep 24, 2026 9 min read
How to clear the Windows 11 update cache safely
How to clear the Windows 11 update cache safely

The Windows 11 update cache saves temporary installation files inside the 📁C:\Windows\SoftwareDistribution folder, taking up gigabytes of hard drive space and causing stuck downloads or error codes like 0x800f0922.

Advertisement

Clearing this hidden folder fixes broken update loops and frees up disk space safely once you stop the background update service.

⚡ Quick Answer

Open Command Prompt as an administrator, stop the Windows Update service by typing net stop wuauserv, delete the contents of the 📁C:\Windows\SoftwareDistribution folder, and restart the service using net start wuauserv. This safely removes corrupted temporary files and lets Windows download fresh updates without freezing.

Advertisement

What Is the 🪟 Windows 11 Update Cache and Why Does It Fail?

The Windows 11 update cache is a temporary storage area in the 📁C:\Windows\SoftwareDistribution folder where your computer saves update files before installing them. This cache fails when download files get corrupted, internet connections drop, or your hard drive runs out of space.

Think of the 📁C:\Windows\SoftwareDistribution folder like a temporary shopping cart. Your computer puts all the pieces of a Windows 11 update into the SoftwareDistribution folder before installing the update files on your system. Once the update finishes, Windows is supposed to clean out the SoftwareDistribution folder automatically.

Failed Windows 11 updates often happen because power surges, unstable internet connections, or background app interruptions corrupt the files inside the update cache folder. When the update cache gets damaged, Windows tries to read the broken files, fails, and stops the installation completely. This corruption leads to stuck updates, endless loading circles, or specific error codes like 0x800705aa. You can fix these installation problems by clearing out the damaged files from the cache folder safely.

Clearing the Windows 11 update cache is completely safe because the deletion process only removes temporary installation files that are causing problems. Once you clear out the corrupted files, Windows 11 will automatically create a brand new, empty folder and download fresh update files the next time you check for updates .

Advertisement

Checking Your Hard Drive Space Before You Start

Checking your hard drive space on Windows 11 helps you figure out if a lack of storage stops system updates from installing. Windows needs plenty of open room to unpack large installation files, so running low on space causes update errors to pop up repeatedly.

You can quickly check your storage health using the built-in Windows settings:

  1. Click the Start button and open the Settings app (the gear icon).
    Settings
    Settings
  2. Select System from the left-hand menu.
  3. Click on Storage to see a breakdown of what is taking up space on your main drive.

If your drive is critically low on space, you will need to clear out some room before trying to run your updates again. You can use simple built-in tools like Disk Cleanup to remove temporary system files, old installation logs, and items sitting in your Recycle Bin.

How to Clear Temporary System Files Using Disk Cleanup

Disk Cleanup is a built-in Windows 11 tool that deletes leftover update files, temporary internet files, and system error reports to free up hard drive space. Running this tool clears out junk data without risking your personal documents, photos, or installed apps.

Advertisement
  1. Click the Start button, type Disk Cleanup into the search bar, and click the app icon to open it.
  2. If a window pops up asking which drive to clean, choose your main drive (usually C:) and click OK.
  3. The tool will scan your system for a moment. Once it opens, look through the list of files you can delete.
  4. Check the boxes next to items like Temporary files, Windows Update Cleanup, and Previous Windows installations if you see them.
    Settings › Windows Update
    Settings › Windows Update
  5. Click the Clean up system files button to let the tool find even more deep-seated temporary files. Note: This step may require administrator privileges; click Yes or enter your administrator password if a prompt appears.
  6. Click OK, then select Delete Files to confirm. Let the tool finish cleaning your drive completely before moving on.

Safely Clearing the Windows Update Cache Step-by-Step

Safely clearing the Windows 11 update cache requires stopping active background update services before you manually rename the SoftwareDistribution and catroot2 folders. You cannot delete these folders while Windows runs, making the manual stop-and-rename method necessary to fix stuck downloads.

Follow these exact steps carefully to clear your update cache safely:

Step 1Open the Command Prompt as an Administrator

Opening the Command Prompt as an administrator on Windows 11 gives you the high-level system permissions needed to stop update services and rename cache folders. You can launch this elevated command window quickly using the Run dialog box and keyboard shortcuts.
  1. Press the Windows Key + R on your keyboard to open the Run dialog box.
    Run dialog
    Run dialog
  2. Type cmd into the text box.
  3. Press and hold down the Ctrl + Shift keys on your keyboard, and then press Enter. Note: This step requires administrator privileges. Click Yes on the pop-up window that asks if you want to allow this app to make changes to your device.
  4. You should now see a black window with white text, labeled "Administrator: Command Prompt".

Step 2Stop the Windows Update Services

Stopping the Windows update services via the command prompt prevents Windows from using the update cache folders while you try to fix them. You must shut down core background services like wuauserv and bits before you can safely rename or clear stuck update files.

💻Code
net stop wuauserv
💻Code
net stop cryptSvc
💻Code
net stop bits
💻Code
net stop msiserver

Wait a moment for each command to report that the service was stopped successfully. If a service fails to stop, do not panic; just move on to the next one.

Advertisement

Step 3Rename the Update Cache Folders

Renaming the SoftwareDistribution and catroot2 folders instead of deleting them tricks Windows into creating fresh new update directories while keeping a safe backup copy. This manual rename method lets your computer start fresh with updates while keeping your old files secure.

To clear the Windows 11 update cache safely, you need to stop the Windows Update service first by opening the Command Prompt as an administrator and typing specific commands one line at a time. Specifically, you must type net stop wuauserv and press Enter after that command to stop the service from running in the background. Stopping this service matters because it prevents system files from staying locked while you delete old update downloads from the SoftwareDistribution folder.

Command Prompt
Command Prompt
💻Code
ren C:\Windows\SoftwareDistribution SoftwareDistribution.old
💻Code
ren C:\Windows\System32\catroot2 catroot2.old
📝Good to KnowIf you get an error saying a file is open or in use, make sure you stopped all the services correctly in Step 2.

Restart your computer if necessary, and repeat the commands.

Step 4Restart the Update Services

Restarting your Windows update services in the command prompt turns your system's update checker back on after you clear your cache. Turning these background services back on allows Windows to download fresh update files and check for new system patches normally.

Advertisement

You must type specific commands into the command prompt one line at a time and press the Enter key after each command to safely clear the Windows 11 update cache. Opening the command prompt with administrator rights lets you stop the Windows Update service by typing net stop wuauserv and pressing Enter. This important step stops the system from using the cache files while you try to delete them, preventing errors and file damage during the cleanup process.

💻Code
net start wuauserv
💻Code
net start cryptSvc
💻Code
net start bits
💻Code
net start msiserver

Once all services have restarted successfully, you can close the command prompt window by typing exit and pressing Enter.

Finally, restart your computer normally. Once your computer boots back up, open your Windows Update settings and check for updates again. Your computer will build a brand-new cache and install your updates cleanly.

Advanced Troubleshooting: Resetting Update Components via Settings

The Windows Update troubleshooter is a built-in settings tool that automatically finds and fixes broken update components when manual cache clearing does not work. Running this automated troubleshooter is a great alternative if you want to avoid using the command prompt.

Advertisement

You can run the Windows Update troubleshooter by following these steps:

  1. Open the Start menu and click on Settings.
    Start Menu
    Start Menu
  2. Go to the System tab on the left menu.
  3. Click on Troubleshoot, and then select Other troubleshooters.
    windows 11 other troubleshooters tile
    windows 11 other troubleshooters tile
    windows 11 other troubleshooters tile
  4. Find Windows Update in the list and click the Run button next to it. Note: This step requires administrator privileges.
  5. Follow any on-screen prompts as the troubleshooter automatically detects and fixes issues with your update settings, temporary files, and service registrations.

After the Windows Update troubleshooter finishes fixing your system, restart your computer to clear out any leftover error files and make sure the new settings work. Once your computer turns back on, open the Windows Update settings menu and try downloading your updates once more. This final restart stops old update tasks from running in the background, which helps prevent new download errors from blocking your installation.

Pro Tips for Keeping Your 🪟 Windows 11 Update System Healthy

Keeping your Windows 11 update system healthy requires simple habits like maintaining at least 15 to 20 gigabytes of free hard drive space and never interrupting active system downloads. Following these best practices prevents future update bottlenecks and keeps your computer running smoothly.

  • Keep your storage clean: Never let your C drive fill up entirely. Keep at least 15 to 20 gigabytes of free space open so Windows has room to unpack large system upgrades.
  • Do not interrupt active downloads: When an update is downloading or installing, let your computer finish its work. Shutting down your computer or cutting the power mid-update is the number one cause of cache corruption.
  • Maintain a stable connection: If you have a slow or spotty internet connection, try connecting your computer directly to your router using an Ethernet cable before downloading massive system upgrades.
  • Clean old backups periodically: After a major Windows version upgrade, the system keeps old installation files for ten days in case you want to roll back. If you are happy with your current version, use Disk Cleanup to wipe those old files out and reclaim gigabytes of lost space.

Summary

Clearing the Windows 11 update cache safely fixes stuck downloads and stubborn error codes by stopping background update services and renaming corrupted temporary folders. Regular disk cleanups and keeping enough free hard drive space will keep your system running smoothly and prevent future update failures.

Remember to check your available hard drive space regularly, use built-in tools like Disk Cleanup to keep your system tidy, and always follow the steps carefully using administrator privileges. Once you clear out that old cache, your PC will download fresh update files and install them without any trouble. Take the next step today by checking your system storage and running the Windows Update troubleshooter if your system needs a quick tune-up.

Was this guide helpful?

Tags: #Windows 11
Was this helpful?
Richard

About the Author

Richard

Tech Writer, IT Professional

Richard is a writer at Geek Rewind who turns complex IT tasks into clear, step-by-step guides. He draws on years of hands-on experience in system administration and enterprise IT operations, focusing on Windows, Linux and WordPress: the problems people actually run into, and the fixes that work. His server and WordPress guides come from systems he runs himself. Richard builds and maintains the platform behind Geek Rewind, from its Ubuntu servers and Nginx configuration to its custom WordPress plugins. Many new tutorials start with readers' questions, and he's always glad to answer them in the comments.

Advertisement

📚 Related Tutorials

How to Fix Windows Update Failures in Windows 11
Windows How to Fix Windows Update Failures in Windows 11
How to Delete Files and Folders in Windows 11
Windows How to Delete Files and Folders in Windows 11
What to Do When Windows 11 Activation Fails with Error Code 0x803fa067
Windows What to Do When Windows 11 Activation Fails with Error Code 0x803fa067
Should You Clear the Windows 11 Driver Store to Free Up Space
Windows Should You Clear the Windows 11 Driver Store to Free Up Space

No comments yet — be the first to share your thoughts!

Leave a Comment

Your email address will not be published. Required fields are marked *