How To Clear The 'SoftwareDistribution' Folder On W10, W11 & Make Updates Happen Again

Xploit Machine

Well-known member
Joined
Nov 29, 2022
Messages
784
Reaction score
73
If Windows Update isn't working, it could be caused by a problem with the SoftwareDistribution folder, and here we'll show you how to fix it.
7rS9URE6emsnaa25bRch85-320-80.jpg

On Windows 10 & 11, the "SoftwareDistribution" folder is an essential component for Windows Update, which temporarily stores files needed to install new updates to keep your device secure and with the latest fixes and improvements. This folder is maintained by the WUAgent (Windows Update Agent), and typically, it should be left alone, but there will be times when you may need to clear its content manually in the case the Datastore and Download folders aren't synchronized, and it's preventing Windows Update from applying new updates to your PC.

Usually, if you're having trouble with Windows Update, or after updates have been applied, it's safe to empty the content of the SoftwareDistribution folder. Windows 10 & 11 will always re-download all the necessary files, or re-create the folder and re-download all the components, if removed.
In this Windows 10 & 11 guide, we'll walk you through the steps to delete the content inside the SoftwareDistribution folder. As an alternative option, we'll also show you the steps to rename the folder, in case you only want to test if the folder's content is the one causing problems.

How to clear the 'SoftwareDistribution' folder

To delete the content inside the SoftwareDistribution folder, do the following:
  1. Open Start.
  2. Search for Command Prompt, right-click the result, and select Run as administrator.
  3. Type the following command to stop the Windows Update Service and press Enter:net stop wuauserv
  4. Type the following command to stop the Background Intelligent Transfer Service and press Enter:net stop bits
1688619450704.png
  1. Use the Windows key + R keyboard shortcut to open the Run command.
  2. Open File Explorer and browse the following path:C:\Windows\SoftwareDistribution
  3. Select all its content and click the Delete button to clear the content.Quick Tip: In the case, you're having trouble deleting all the files, simply restart your computer, and try again.
1688619431731.png
  1. On Command Prompt, type the following command to start the Windows Update Service and press Enter:net start wuauserv
  2. Type the following command to start the Background Intelligent Transfer Service and press Enter:net start bits
1688619414319.png

Once you completed the steps, Windows 10 & 11 will reconfigure the folder and re-download all the necessary components.
 

Xploit Machine

Well-known member
Joined
Nov 29, 2022
Messages
784
Reaction score
73

How to rename the 'SoftwareDistribution' folder

If you don't want to delete the content inside of the folder, you can alternatively, rename the folder to troubleshoot Windows Update problems.

To rename the SoftwareDistribution folder, do the following:
  1. Open Start.​
  2. Search for Command Prompt, right-click the result, and select Run as administrator.​
  3. Type the following command to stop the Windows Update Service and press Enter:net stop wuauserv​
  4. Type the following command to stop the Background Intelligent Transfer Service and press Enter:net stop bits​
1688619481079.png
  1. Use the Windows key + R keyboard shortcut to open the Run command.​
  2. Type the following command to rename the folder and press Enter:rename %windir%\SoftwareDistribution SoftwareDistribution.bakQuick Tip: If the command isn't letting you rename the folder, try steps No. 3 and 4 one more time, and then try to rename the folder.​
1688619489807.png
  1. Type the following command to start the Windows Update Service and press Enter:net start wuauserv​
  2. Type the following command to start the Background Intelligent Transfer Service and press Enter:net start bits​
1688619503797.png

After you've completed the steps, Windows 10 & 11 will re-create the folder and re-download all the necessary components.

The only caveat with this process is that the SoftwareDistribution folder also includes the Windows Update history information, which means that emptying up the folder will result in loss of this data. In addition, you'll notice that Windows Update will take longer than usual to detect and update your computer because the WUAgent must check and re-create the Datastore information. However, it's a small price to pay to get your device to update again.

While sometimes the folder may grow, it's only recommended to use these instructions only when necessary. You shouldn't mess with the SoftwareDistribution folder to free up storage space on your computer.

Original article from https://www.windowscentral.com/how-clear-softwaredistribution-folder-windows-10
 

elton

Member
Joined
Jun 3, 2023
Messages
7
Reaction score
0
Excellent. Thank you for this ... my desktop had decided to stop updates on 28 June ... quite why I have no idea.
All back to normal now :)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top