How to Delete the SoftwareDistribution Folder in Windows
In this article
To delete the SoftwareDistribution folder in Windows, stop the Windows Update service, delete the folder's contents (or the folder itself), then restart the service. This clears cached update files that can cause update errors or take up disk space. The folder is safe to remove because Windows recreates it automatically. Before you start, make sure you have administrator rights and that no Windows updates are currently installing.
What You'll Need
- Administrator access to your Windows PC.
- A few minutes of time.
- Optional: a backup of important data (though this process does not touch personal files).
Step-by-Step
- Close any open programs. Save your work and close all applications to avoid interruptions.
- Open Services. Press
Win + R, typeservices.msc, and press Enter. (Labels may vary slightly by Windows version.) - Stop Windows Update. In the Services window, scroll down to find Windows Update. Right-click it and select Stop. If it is already stopped, skip this.
- Stop Background Intelligent Transfer Service (BITS). Find Background Intelligent Transfer Service, right-click, and select Stop.
- Open File Explorer. Press
Win + E. - Navigate to the SoftwareDistribution folder. Go to
C:\Windows\SoftwareDistribution. You may need to confirm administrator permission. - Delete the contents. Select all files and folders inside (Ctrl + A), then press Delete. Alternatively, you can delete the entire SoftwareDistribution folder itself; Windows will recreate it. If you delete the folder, you may need to take ownership first (see Troubleshooting).
- Restart the services. Return to Services, right-click Windows Update and select Start. Do the same for Background Intelligent Transfer Service.
- Restart your PC. This ensures all changes take effect.
Common Mistakes
- Not stopping the services first. If Windows Update or BITS is running, you may get "file in use" errors. Always stop them before deleting.
- Deleting the entire folder without proper permissions. If you delete the folder itself, you might need to take ownership. It's often easier to delete only the contents.
- Forgetting to restart services. Windows Update won't work correctly until you restart the services.
- Deleting during an active update. This can corrupt the update process. Make sure no updates are installing.
Tips
- You can also use the Disk Cleanup tool or Storage Sense to clear temporary update files, but manually deleting SoftwareDistribution gives more control.
- If you frequently encounter update errors, consider running the Windows Update Troubleshooter after deleting the folder.
- Deleting the folder is safe; Windows recreates it on the next update check.
- For a quicker method, you can use Command Prompt as administrator: stop the services with
net stop wuauservandnet stop bits, delete the folder withrmdir /s /q C:\Windows\SoftwareDistribution, then start services withnet start wuauservandnet start bits. (Commands are case-sensitive.)
Troubleshooting
- Access denied when deleting. You may need to take ownership of the folder. Right-click the folder, choose Properties > Security > Advanced, and change the owner to your account. Then grant full control.
- Services won't stop. Restart your PC and try again. If still stuck, use Task Manager to end the svchost.exe process associated with Windows Update (be cautious).
- Windows Update still fails after deletion. Run the Windows Update Troubleshooter (Settings > Update & Security > Troubleshoot). Also check your internet connection and disk space.
- Folder reappears immediately. That's normal; Windows recreates it. The goal is to clear the cache, not remove the folder permanently.
- System instability. If you experience issues, run
sfc /scannowin Command Prompt as administrator to repair system files.
Frequently Asked Questions
Is it safe to delete the SoftwareDistribution folder?
Yes, it is safe. The folder contains temporary files used for Windows updates. Windows will recreate it automatically.
Will deleting this folder remove my personal files?
No. The SoftwareDistribution folder only holds update-related files. Your documents, photos, and other personal data are not affected.
Do I need to stop Windows Update service before deleting?
Yes, stopping the service prevents file-in-use errors and ensures a clean deletion.
How often should I delete this folder?
Only when you experience update problems or need to free up disk space. Regular deletion is not necessary.
Can I delete the folder using Command Prompt?
Yes, you can use the rmdir command as shown in the Tips section. Make sure to run Command Prompt as administrator.
What if I can't find the SoftwareDistribution folder?
It is located at C:\Windows\SoftwareDistribution. If you don't see it, enable "Show hidden files" in File Explorer's View options.