Safe to delete "C:\WINDOWS\SoftwareDistribution\Download"

68

22

One of our Windows 2003 servers has a fairly small C-partition, which is approaching full. I've had a quick look round using Disktective as to where the space has gone, and a fair bit of it seems to be taken up with C:\WINDOWS\SoftwareDistribution\Download

I think this folder is used as a temporary storage for Windows Update, but as all the pending Windows updates have now been installed, is it OK to delete the contents of this folder?

Simon Hodgson

Posted 2009-10-09T12:53:42.783

Reputation: 875

1https://support.microsoft.com/en-us/kb/971058 – marcolopes – 2015-08-04T21:45:26.333

Answers

73

After you have installed all the pending updates, it is safe to delete all the files and folder under C:\WINDOWS\SoftwareDistribution\Download\

As @Zab said, stop the Update Service while you clean up the folder

  1. Enter net stop wuauserv into an elevated command prompt
  2. Manually clean up C:\WINDOWS\SoftwareDistribution\Download\
  3. Enter net start wuauserv into an elevated command prompt
    As soon as the service starts again, some folders will be re-created. This is ok

deddebme

Posted 2009-10-09T12:53:42.783

Reputation: 3 434

How know all pending updates are installed ? – PreguntonCojoneroCabrón – 2019-09-05T19:15:30.303

Powershell script like https://community.idera.com/database-tools/powershell/powertips/b/tips/posts/cleaning-week-deleting-cbs-log-file

– PreguntonCojoneroCabrón – 2019-09-05T19:41:19.427

5

You should stop "automatic updates" and "windows update" services, then you can delete all downloaded/(and already installed) updates

You can also clean the database folder nearby to "reset" windows update.

Harry reports problem with people who deleted the directories, as opposed to people who deleted files in directory.

ZaB

Posted 2009-10-09T12:53:42.783

Reputation: 2 365

run "net stop wuauserv" to stop the service and "net start wuauserv" to start it again after deleting the contents of the Download folder – rob – 2014-10-16T09:05:11.783

1

If I were you I'd run the Microsoft Disk Cleanup wizard and see if it proposes deleting this directory.
If it doesn't do that, then I wouldn't touch it.

harrymc

Posted 2009-10-09T12:53:42.783

Reputation: 306 093

3> Some people reported problems with Windows Update after deleting these files, while others didn't.   The difference is in whether they deleted SoftwareDistribution or SoftwareDistribution\Download. – Synetech – 2012-03-16T19:35:17.153

2Disk cleanup didn't list these files as ones that could be deleted, but so far it seems to have been OK to delete them. – Simon Hodgson – 2009-10-12T08:45:17.250

Some people reported problems with Windows Update after deleting these files, while others didn't. It depends apparently on what you do. – harrymc – 2009-10-12T09:20:03.733