The SoftwareDistribution folder in the Windows operating system is located in the Windows directory and is used to temporarily store files that may be required to install Windows Update on your computer. It is thus required by Windows Update and maintained by WUAgent.
SoftwareDistribution folder location
The Software Distribution folder in Windows 11/10/8/7 is situated in the following location in File Explorer:
C:\Windows\SoftwareDistribution
On my computer, its size is around 1 MB, but its size could vary.
Is it safe to delete SoftwareDistribution 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 been de-synchronized, resulting in your Windows Updates not working properly.
It is generally 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 be automatically downloaded. If you were to delete the folder itself, it would be automatically re-created, and the required WU components would be 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 11/10.
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 keeps installing the same update and so on.
Delete Software Distribution folder
To delete the contents of the Software Distribution folder, in Windows 11/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.
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 window, 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 into Safe Mode, and rename SoftwareDistribution to SoftwareDistribution.bak or SoftwareDistribution.old.
TIP: Our portable freeware FixWin allows you to reset this and most other Windows settings or functions with a single click.
I hope you find the post useful.
What is the DataStore folder in Windows?
The DataStore folder in Windows stores temporary files and LOG files associated with Windows update and Update history. It is located inside the SoftwareDistribution folder.
Want to learn more about the following folders?
$SysReset folder | $Windows.~BT & $Windows.~WS folders | | Windows.old folder | Catroot & Catroot2 folders | REMPL folder | $WinREAgent folder | System32 and SysWOW64 folders.