Posted by3 years ago
Archived

Rename or Delete the Software Distribution Folder in Windows 10/8/7. On your PC there's a folder called Software Distribution that stores temporary files during Windows Updates. Under typical situations, you should leave this folder alone. However, if you have an issue with a stuck Windows Updates, then deleting this folder can often resolve those problems. 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. Use the Windows key + R keyboard shortcut to open the Run command. Select all its content and click the Delete button to clear the content. How do I add folder background on fav folders using ave folder in Customization Hey guys, I recently upgraded my windows 7 ultimate copy to Win 10 pro (64 bit) and with the upgrade i lost the most beloved tweak that i was using earlier in Win 7. Hi All, I am unable to delete the SoftwareDistribution folder in the C drive (windows directory), I want it to be deleted for the purpose of reporting to wsus, The system is running Windows 7. Hi All, I am unable to delete the SoftwareDistribution folder in the C drive (windows directory), I want it to be deleted for the purpose of.

Hi All,

I've got an interesting situation where I had a boundary not correctly configured so the workstations at a branch didn't pick up their DP correctly. Fair enough, I adjusted those settings.

Now, for newly deployed software and updates, it will happily install and do as it should.

My ISSUE is that Updates/Apps deployed to these machines before I repaired the DP appear to be stuck. Updates are (Downloading 0%) and Apps are (Past due - will be retried). I figured I'd go through the normal motions and run all the actions on the client(s), and tried clearing out the CCMcache. Tried reinstalling the CM client, no luck. They're still there - suck at Downloading 0% and Past due - will be retried.

If I throw anything new at it, it'll happily download and show up in the ccmcache folder and install as expected. Still I have these old remnants that I cannot get to re-download or install. If I hit retry in software center it almost instantly fails.

Is there any way to force the client to re-download these apps/updates?

I'm guessing I could manually install these updates and apps, but I figured there may be a better way that I'm missing.

Thanks kindly

14 comments

I never had any problems with Windows Update for many years, but

approximately one week ago

Windows Update said

Reset Software Distribution Folder

it needed to update the Windows Update software.

I did, but then shortly after that

Windows Update always produced a red error message.

I ran System File Checker, but

it reported no problems.

I tried
the recommended Microsoft Troubleshooter, but

there was one problem it could not fix.

Then I tried this fix, Windows® 7 Update error 80246002

, but
it didn't fix the problem either.

Somehow I ended up on a Windows Server forum, &

a solution put forward there seemed to be very straightforward, & promising:

There's not a lot of information available about how the Windows Update Agent actually works internally, or how it should work. Most of what we know is based on several years of empirical observations.

One observation that applies is that once the datastore and download cache get out of sync, the housekeeping routines don't delete anything. Deleting the files older than 10 days usually will restore normal functionality of that housekeeping task.

If it doesn't, and space is that critical, you might also find it beneficial to rebuild the entire datastore.

  1. Save the ReportingEvents.log file.
  2. Stop the WUA service.
  3. Delete the SoftwareDistribution folder.
  4. Restart the WUA service and restore the ReportingEvents.log file.

Lawrence Garvin, M.S., MCSA, MCITP:EA, MCDBA
SolarWinds Head Geek
Microsoft MVP - Software Packaging, Deployment & Servicing (2005-2014)

Reset Software Distribution Folder Windows 10

I did all of the above, except

I cannot restore the [original] ReportingEvents.log file (233kb), because

  1. I cannot
    Delete the new one because
    'the application is open in Application Information (???);
    Close the file, & try again.' (?);
  2. I cannot
    Paste, & Replace with the old one, because
    I 'need Administrator Permission' [I am 'Administrator' ?], &
    'the folder, or a file in it, is open in another program' (??);
  3. And I cannot
    simply Paste the contents of the old log into the new log, because
    'Access is Denied'.

How can I restore the [original] ReportingEvents.log file, to
get Windows Update working, again ?? ?

Delete Software Distribution Windows 10

Any help will be greatly appreciated.

Thank You,

Reset Software Distribution Folder

Rename Software Distribution Folder

JKB