Clearing Windows Update Cache Upon Update Failure
This tip could be applied to any kind of Windows Update on Windows XP be it manual update or automatic update.
A failure in updating could happen when you suddenly get disconnected or downloaded corrupted data which happens a lot. And it seems that there is no local check to ensure that the file is actually complete. It just attempts to install the downloaded material even if its not complete. The stupid thing is that even though you try to update again, it just checks the cache, see that its there and won't bother redownloading the files.
Therefore when you face such a scenario, you could take these steps to solve your problems:
- Open Command Prompt by Start -> Run and type "cmd"
- On the Command Prompt, type "net stop wuauserv". This is done so that you will terminate the windows automatic update service to allow us to delete the cache files
- Still on the Command Prompt, type "cd /d %windir%" or "cd\windows"
- Type "rd /s SoftwareDistribution"
- Thats it, the cache has been purged. Now we need to restart the windows automatic update service again. To do that, type "net start wuauserv"
39 Comments:
Thank you very much,
It worked perfectly.
You need to clear the proxy cache as well if you got one though.
Thanks again.
I spoke too fast,
Well, it worked. I re-downloaded properly the updates, but won't install them.
Fails again.
Dawm Microsoft
Thanks from Brazil.
Thanks from Morocco
Worked for me in US, thanks
Perfect!!!
Perfect!!!
Excellent, worked for me!
I LOVE YOU!
I LOVE YOU!
I can't thank you enough. Most often this takes care of goofy microsoft update problems
I've had to use this several times on various machines. What a great fix it routine.
Thanks from the US.
It didn't fix my problem but it did exactly what I wanted to try. Now I'm off to find another route. Thanks again!
ty from The Neterlands!
Finally!!!! Problem resolved!
Thanks a billion!
Thanks from Mexico
Thanks from Germany!
thanks from Northern Wisconsin, USA
Thank you from India!
It did what it said it would do, on Vista 64 bit, but looks like its more of a windows issue, what I got.
Thanks again for the tip!
Thanks from Australia.
Works 100% in South Africa
PEFETO DEDE CANARIAS!!!
Thanks from Russia! Awesome post!
Thanks so much! Still great advice - even for Windows 7. Somehow windows update ate a bad download and created all sorts of weird havoc and registry errors which I had to fix with a restore point and your advice.
I simply cannot say how many times this has come in handy. Thanks!
Thanks from Mauritius!!!
Thanks from UK :)! P.S. This really should be on MS KB.
Thank you from Russia!!!
Thanks from Ukraine. I got thinking about this after I became aware of "apt-get clean" command functionality in Linux. So I figured "there must be a way to clean the package download cache in Windows as well". I do think that starting with XP, Windows is a decent system and it had to have this functionality, I only had to find out where the files are. Now it would be interesting if I could somehow re-query the updates database to maybe change my mind about an update I refused earlier and said to never show it again. Do you know about anything like that? It would also be a lifesaver, should the update index db become damaged and need regeneration.
Thanks again.
Thanks so much. I spent so many hours with a system failing to update and taking hours and hours to fail. Once I cleared the update cache the updates flied in and were successful.
Thank you so much........
You can also do it by deleting the contents of this directory: C:\Windows\SoftwareDistribution\Download
Though I prefer your way - much more elegant.
Txs from Monaco
windows update is an abortion
spend hours installing patches manually
This comment has been removed by the author.
I started my system and try to install windows update then I suddenly receive a windows update error. I got shocked that what is this and why I receive this error. I started searching on internet, when I come to this page I have fixed windows update error easily and also fix my PC problems.
It is a brlient post.if you want moer visite here
It is a brilliant post.if you want more visite here
Thanks so much! Still great advice - even for Windows 7. Somehow windows update ate a bad download and created all sorts of weird havoc and registry errors which I had to fix with a restore point and your advice.
It is a brilliant post.if you want more visite here
Nice Blog Post !
Post a Comment
<< Home