In this Windows 10 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:
- Open Start.
- Search for Command Prompt, right-click the result, and select Run as administrator.
Type the following command to stop the Windows Update Service and press Enter:
net stop wuauserv
Type the following command to stop the Background Intelligent Transfer Service and press Enter:
net stop bits
- Use the Windows key + R keyboard shortcut to open the Run command.
Open File Explorer and browse the following path:
C:\Windows\SoftwareDistribution
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.
On Command Prompt, type the following command to start the Windows Update Service and press Enter:
net start wuauserv
Type the following command to start the Background Intelligent Transfer Service and press Enter:
net start bits
Once you completed the steps, Windows 10 will reconfigure the folder and re-download all the necessary components.
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:
- Open Start.
- Search for Command Prompt, right-click the result, and select Run as administrator.
Type the following command to stop the Windows Update Service and press Enter:
net stop wuauserv
Type the following command to stop the Background Intelligent Transfer Service and press Enter:
net stop bits
- Use the Windows key + R keyboard shortcut to open the Run command.
Type the following command to rename the folder and press Enter:
rename %windir%\SoftwareDistribution SoftwareDistribution.bak
Quick 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.
Type the following command to start the Windows Update Service and press Enter:
net start wuauserv
Type the following command to start the Background Intelligent Transfer Service and press Enter:
net start bits
After you've completed the steps, Windows 10 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.
No comments:
Post a Comment