How to rename or delete Software Distribution folder in Windows 10/8/7

The Software Distribution folder in Windows operating system is a folder located in the Windows directory and used to temporarily store files which may be required to install Windows Update on your computer. It is thus required by Windows Update and maintained by WUAgent.

software-distribution-folder-windows

Software Distribution folder location

software-distribution

The The Software Distribution folder is situated in the following location in File Explorer:

C:\Windows\SoftwareDistribution

On my computer is size is around 1 MB, but its size could vary.

Is it safe to delete Software Distribution folder

While you do not want to touch this folder under normal conditions, you may need to empty its contents should you find that your system’s Datastore and the Download folder have got de-synchronized, resulting in your Windows Updates not working properly.

It is generally speaking safe to delete the contents of the Software Distribution folder, once all files required by it have been used for installing Windows Update. Even if you delete files otherwise, they will get automatically downloaded. If you were to delete the folder itself, it will get automatically re-created and the required WU components downloaded automatically.

However, this data store also contains your Windows Update History files. If you delete them you will lose your Update history. Moreover, the next time you run Windows Update, it will result in a longer detection time.

If your Windows Update is not working properly or not working at all or if you find that the size of this folder has really grown large, then you can consider deleting the Software Distribution folder in Windows 10/8/7.

If it is just the size, then if you use Disk Cleanup Tool and opt to Clean up System Files on your System Drive, and then Windows Update components & Delivery Optimization files , you will find that the size of this folder will get substantially reduced. But if you are facing Windows Update issues, then you flushing this folder has been known to help fix several issues like Windows Update not working, Windows Updates fail to install, Failure configuring Windows updates, Windows Update stuck downloading updates, We couldn’t complete the updates, Windows 10 keeps installing the same update and so on.

Delete Software Distribution folder

To delete the contents of the Software Distribution folder, in Windows 10, from the WinX Menu, open Command Prompt (Admin). Type the following one after the other and hit Enter:

net stop wuauserv
net stop bits

This will stop the Windows Update Service and the Background Intelligent Transfer Service.

software distribution folder

Now browse to the C:\Windows\SoftwareDistribution folder and delete all the files and folders inside.

You may press Ctrl+A to Select All and then click on Delete.

If the files are in use, and you are unable to delete some files, restart your device. After rebooting, run the above commands again. Now you will be able to delete the files from the mentioned Software Distribution folder.

After you have emptied this folder, you may restart your computer or you may type the following commands, one at a time in the CMD, and hit Enter to restart the Windows Update related Services.

net start wuauserv
net start bits

Now that folder has been flushed, it will now get populated afresh.

Rename SoftwareDistribution folder

If you wish to rename the Software Distribution folder, open an elevated command prompt windows, type the following commands one after the other, and hit Enter:

net stop wuauserv
net stop bits
rename c:\windows\SoftwareDistribution SoftwareDistribution.bak
net start wuauserv
net start bits

Alternatively, you may also boot Windows 10 into Safe Mode, and rename SoftwareDistribution to SoftwareDistribution.bak or SoftwareDistribution.old.

Download this VPN to secure all your Windows devices and browse anonymously
Posted by on , in Category Windows with Tags
Anand Khanse is the Admin of TheWindowsClub.com, a 10-year Microsoft MVP Awardee in Windows (2006-16) & a Windows Insider MVP. Please read the entire post & the comments first, create a System Restore Point before making any changes to your system & be careful about any 3rd-party offers while installing freeware.

10 Comments

  1. This article helped me to remove some huge, stubborn file from SoftwareDistribution folder. This file was created misteriously when I was starting Media Creation Tool. It took enough space, that I had less than 8gb required for Tool, thus making media download impossible.

  2. Aakriti Upadhyay

    i am trying to run the command promt, but it says access is denied. can anyone help?

  3. Scanner1143

    You have to be logged in as Administrator, right click on command prompt, choose = run as administrator

  4. Siddharth

    Thanks it worked.

    ?

  5. Drew Mills

    I’m looking for a way to permanently stop MS from updating my OS unless I want it to. It somehow got past ALL of my efforts (I disabled the service, I elected to not have any updates) and updated Creator anyway. I’m rolling back the update right now but I need a way to prevent MS from just hijacking my computer again. Will renaming the folder prevent it? Or will MS just create the folder all over again and do it anyway?

  6. Drew Mills

    I set the update service to Manual and then disabled it. Creator Update happened anyway.

  7. It helped me to remove 9.66GB from my windows.

  8. hansolo

    Not sure yet it’ll help me to get rid of the quiet impressive list of svchost (close to 60 ! ) that are cluttering my memory. But it sure does look like a good reason ! Blocking Windows Update and removing SoftwareDistribution also saved a tremendous amount of space on my primary SSD and semm to have fixed an issue I had for months : Windows 10 updates were failing. Great tips Anand. Thanks for sharing.

  9. Joe

    Procedure worked like a champ on removing the Software Distribution folder freeing up 10+ GB

Leave a Reply

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


6 + 7 =