How to Delete Old Windows Update Files in Windows 11 and 10 (4 Safe Methods)

Sodiq Olanrewaju
·
12 min read

Help Desk Geek is reader-supported. We may earn a commission when you buy through links on our site. Learn more.

Deleting old Windows Update files can free several gigabytes when your C: drive is nearly full or an update keeps failing to install. Start with Settings > System > Storage > Temporary files. It clears the update cache safely and doesn’t touch your personal files.

Is It Safe to Delete Windows Update Files?

Yes, if you use Windows’ own cleanup tools. Removing old Windows Update files doesn’t delete personal files, installed apps, or hardware drivers. Windows recreates its update cache folders and redownloads anything it still needs the next time it checks for updates.

Each cleanup category removes something different, so it helps to know what you’re checking:

  • Windows Update Cleanup removes older versions of installed updates that newer updates have superseded and Windows no longer needs. It isn’t the same as emptying the SoftwareDistribution\Download cache, which Fix #3 and Fix #4 cover.
  • Delivery Optimization Files are update files your PC cached so it could share them with other PCs on your local network. You can safely delete them.
  • Previous Windows installation(s) is the rollback copy of your old Windows version, usually stored in the Windows.old folder. Delete it and the Go back option disappears. You can’t undo this.
  • Files in SoftwareDistribution\Download are cached update downloads. If you delete them, Windows downloads those updates again. That uses more bandwidth and can delay an update that’s already in progress.

Delete Windows Update files when:

  • Storage space is low.
  • Your PC fails to install Windows Updates.

Leave the rollback files alone until you’re sure a recent upgrade is stable. On a work or school PC, organizational update policies or security software might block some of these steps.

How to Delete Old Windows Update Files

For routine cleanup, use Settings > System > Storage and remove Windows Update Cleanup and Delivery Optimization Files. If those categories don’t appear, run Disk Cleanup as administrator. Clearing the SoftwareDistribution\Download folder by hand or from Command Prompt is a troubleshooting step for stuck or corrupted downloads. Don’t use it for routine maintenance.

Method / FixBest ForQuick Steps / Key Detail
Fix #1: Windows SettingsRoutine cleanup on Windows 11 and 10Settings > System > Storage > Temporary files > check update categories > Remove files
Fix #2: Disk CleanupSettings categories missing, or a deeper system-file cleanupRun as administrator > Clean up system files > Windows Update Cleanup > OK
Fix #3: Manual deletionStuck or corrupted update downloadsStop Windows Update and BITS > empty C:\Windows\SoftwareDistribution\Download > restart services
Fix #4: Command PromptThe same reset as Fix #3, done fasternet stop wuauserv, net stop bits, delete the Download contents, then start both services again

You can also free up more disk space in other ways. Clearing the update cache is also a reliable first fix for Windows Update installation issues. If you’re after the large rollback folder specifically, you can delete old Windows Update files stored in Windows.old.

Fix #1: Delete Windows Update Files from Windows Settings

Microsoft’s free up drive space guide recommends Storage settings as the first stop. It’s the safest default for routine cleanup because Windows decides which files can be removed.

  1. Open Start > Settings.
  2. Select System > Storage.
  3. Select Temporary files. On some Windows 11 builds, open Cleanup recommendations first and then expand Temporary files. Windows scans for a moment, then lists the removable categories with a size next to each.
  4. Check Windows Update Cleanup and Delivery Optimization Files.
  5. Check Previous Windows installation(s) only if you won’t need to roll back to your earlier Windows version. Some builds label this Previous version of Windows.
  6. Select Remove files at the top of the list.
Windows 11 Settings > System > Storage > Temporary files list with Windows Update Cleanup and Delivery Optimization Files checked and the Remove files button highlighted
  1. Select Continue on the confirmation prompt.

The total at the top of the page usually drops once removal finishes. If the free space on your C: drive doesn’t update right away, restart the PC and check again.

On Windows 10, go to Settings > System > Storage, select This PC or Local Disk (C:) depending on your build, and then select Temporary files. Check the update categories you want to remove and select Remove files.

If Windows Update Cleanup is missing or greyed out

A missing category usually means there’s nothing to remove. Windows builds this list from whatever eligible files exist right now. If you expected a category to appear, try these steps in order:

  1. Restart Windows and check the list again.
  2. Finish any pending update in Settings > Windows Update, restart, and recheck.
  3. Make sure you’re signed in with an administrator account. Standard accounts can see the list but might fail at removal.
  4. Switch between Temporary files and Cleanup recommendations. They don’t always show the same items.
  5. Run Disk Cleanup as administrator (Fix #2).

On a work or school laptop, Group Policy or device management software controls updates. The category can disappear or come back immediately after you clean it. That’s a question for your IT department.

Don’t start deleting protected files from C:\Windows\WinSxS by hand because a Settings category is missing. Windows only supports cleaning that folder through its own tools.

Fix #2: Delete Windows Update Files Using Disk Cleanup

Disk Cleanup ships with both Windows 10 and Windows 11. It includes system-file categories that Settings sometimes hides, and you can also use it to delete temporary app files, empty the Recycle Bin, and remove cached internet files.

  1. Press Start, type disk cleanup, and select Run as administrator under the Disk Cleanup result. Approve the User Account Control prompt.

Alternatively, press Windows + R, type cleanmgr.exe, and select OK. This opens Disk Cleanup without admin rights, so you’ll need step 3.

  1. If prompted, choose your Windows drive (usually C:) and select OK. Disk Cleanup calculates the space it can free. On a PC with lots of old updates, this takes a few minutes.
  2. If Windows Update Cleanup isn’t in the list, select Clean up system files. Choose the C: drive again if asked. The list reloads with the system categories added.
Disk Cleanup for (C:) window after Clean up system files with Windows Update Cleanup and Delivery Optimization Files checked and the OK button visible
  1. Check Windows Update Cleanup and Delivery Optimization Files. Also check Temporary Windows installation files if it appears.
  2. Check Previous Windows installation(s) only if you’re finished with the rollback option.
  3. Select OK, then select Delete Files on the pop-up.

A progress bar appears while Disk Cleanup works. It can sit on Windows Update Cleanup for a long time because Windows is processing component files in the background. Let it finish rather than closing the window. Restart afterward so the freed space shows correctly.

The figure Disk Cleanup shows is an estimate, so the space you actually get back might be a bit different. Not every PC shows every category, either. If a category isn’t listed, Windows usually has nothing to remove for it, though the categories shown can also vary by Windows version and device policy.

Fix #3: Manually Delete Windows Update Files

Use this method when an update download is stuck, corrupted, or keeps failing. Microsoft’s Windows Update troubleshooting steps include clearing the whole C:\Windows\SoftwareDistribution folder after stopping the update services. The steps below take a narrower approach and clear only its Download subfolder, which removes cached update files and is less likely to disturb other update data such as history. If that isn’t enough, use the folder reset under Fix #4.

First, stop the Windows Update service, the background service that detects, downloads, and installs updates. Save your work and close open apps before you start.

  1. Open the Windows Start Menu, type services, and select Run as administrator under the Services app.
  2. Scroll to Windows Update, right-click it, and select Stop. The Status column should go blank.
Services window with Windows Update selected and the right-click menu showing Stop highlighted
  1. Right-click Background Intelligent Transfer Service and select Stop as well. BITS handles the downloads and often holds files open.
  2. Open File Explorer (press Windows + E), paste C:\Windows\SoftwareDistribution\Download into the address bar, and press Enter.

This folder holds the temporary installation files Windows downloads before it installs an update.

  1. Press Ctrl + A to select everything inside the Download folder.
  2. Press Delete, or right-click the selection and select the Delete (trash) icon. Approve the admin prompt if one appears.
File Explorer open at C:\Windows\SoftwareDistribution\Download with all contents selected and the Delete (trash) icon highlighted in the right-click menu

Delete only the contents of Download. Leave the SoftwareDistribution folder itself and everything above it alone. If a file says it’s in use, skip it. Leftover files can mean the cache wasn’t fully cleared, so if the update problem continues, restart and repeat this fix or use the full reset in Fix #4. If you’d rather keep a copy, move the files to an external hard drive or USB flash drive instead of deleting them.

  1. Go back to Services, right-click Background Intelligent Transfer Service, and select Start.
  2. Right-click Windows Update and select Start. The Status column should show Running.
  3. Open Settings > Windows Update and select Check for updates.

Windows downloads any needed files into the empty folder again. Treat this as a fix for broken downloads. Don’t empty the folder after every update, because each fresh download costs time and bandwidth.

If Windows won’t let you delete the files

Locked files usually mean something still has them open. Common culprits:

  • Windows Update or BITS is still running.
  • An update is waiting for a restart.
  • Windows Modules Installer, Delivery Optimization, or your antivirus has a file open.
  • Your account isn’t an administrator.
  • The PC is managed by an organization.

Restart Windows, stop both services before you open anything else, and try again. Safe Mode also works, but save it for a second attempt.

Don’t take ownership of protected Windows folders to force the deletion. If the folder fills right back up, Windows is retrying a pending update. Let that update finish through Settings > Windows Update rather than deleting the files again.

Fix #4: Delete Windows Update Files Using Command Prompt

This does the same job as Fix #3 in a few typed commands, which is handy if Services or File Explorer is acting up.

  1. Type cmd in the Windows search bar and select Run as administrator under Command Prompt. Approve the User Account Control prompt.

The window title should start with Administrator:. Without that, the commands below fail with “Access is denied.”

  1. Type net stop wuauserv and press Enter. Wait for “The Windows Update service was stopped successfully.”
  2. Type net stop bits and press Enter. You should see a similar success message for the Background Intelligent Transfer Service.
Administrator Command Prompt showing net stop wuauserv and net stop bits with both stopped successfully messages
  1. Type del /f /s /q "%windir%\SoftwareDistribution\Download\*" and press Enter. Command Prompt lists each file as it’s deleted. This can take a couple of minutes if the cache is large.
  2. Type net start bits and press Enter.
  3. Type net start wuauserv and press Enter. You should see “The Windows Update service was started successfully.”
Administrator Command Prompt showing net start wuauserv with The Windows Update service was started successfully message

Here’s the full sequence if you’d rather paste it in one go:

net stop wuauserv
net stop bits
del /f /s /q "%windir%\SoftwareDistribution\Download\*"
net start bits
net start wuauserv

The del command removes files but can leave empty subfolders behind, and it may report access errors for files that are still locked. Windows reuses or rebuilds those folders, so you don’t need to clean them up. If del stops with errors, still run net start bits and net start wuauserv so Windows Update isn’t left stopped. This clears the download cache only; it isn’t a full SoftwareDistribution reset.

Reset the whole SoftwareDistribution folder (advanced)

If Windows Update stays broken after you clear Download, reset the whole SoftwareDistribution folder. Rename the folder instead of deleting it, so you keep a backup:

net stop wuauserv
net stop bits
ren "%windir%\SoftwareDistribution" SoftwareDistribution.old
net start bits
net start wuauserv

Windows creates a fresh SoftwareDistribution folder when the service starts or the next time Windows Update needs it. This folder holds more than downloads, so resetting it also clears some update-history data. Don’t run this while an update is actively installing.

This is still narrower than Microsoft’s full Windows Update component reset, which also renames the catroot2 folder. If updates keep failing, follow the advanced steps in Microsoft’s troubleshooting guide linked at the end of this article.

Once Windows Update works normally again, remove the backup:

rmdir /s /q "%windir%\SoftwareDistribution.old"

If a service won’t stop

You might see a message saying the service isn’t started, “Access is denied,” or a note about a dependent service. A “not started” message is harmless, so carry on with the next command. For the other two:

  1. Confirm the Command Prompt title starts with Administrator:.
  2. Restart Windows and run the commands before you open any other apps.
  3. Check the service names in services.msc if a command reports that the service doesn’t exist.

Don’t disable these services permanently. On a managed PC, update services are often controlled by policy, so check with your administrator.

PowerShell alternative

If you prefer PowerShell, open it as administrator and run:

Stop-Service -Name wuauserv -Force
Stop-Service -Name bits -Force
Remove-Item "$env:windir\SoftwareDistribution\Download\*" -Recurse -Force
Start-Service -Name bits
Start-Service -Name wuauserv

It clears the same cache as the Command Prompt version. If Remove-Item stops on a locked file, run the two Start-Service lines again so BITS and Windows Update are running before you close the window.

Which Method Should You Use?

All four methods work, but they aren’t interchangeable. Pick the one that fits your situation:

SituationBest method
Routine cleanupFix #1: Settings > Storage
Removing previous installation filesFix #1 or Fix #2, knowing rollback is gone afterward
Settings doesn’t show the category you expectedFix #2: Disk Cleanup as administrator
Update download stuck or corruptedFix #3 or Fix #4: clear SoftwareDistribution\Download
Windows Update still brokenRename the whole SoftwareDistribution folder, then run Microsoft’s troubleshooter
Work or school PCCheck with IT before stopping update services

For most PCs, Fix #1 does the job. It’s the method I’d recommend and bookmark, because it frees real space without risking anything you can’t get back. If updates still fail after a full SoftwareDistribution reset, work through Microsoft’s Windows Update troubleshooting steps, because corrupted system files or driver conflicts need different fixes. If your C: drive fills up again within days, the update cache probably isn’t the cause. Turn on Storage Sense or consider moving to a larger SSD.