Microsoft Windows Update Troubleshooting (US) - Tony Krijnen

Microsoft Windows Update Troubleshooting (US)

Windows Update errors? Follow these steps for a possible solution.

One of the most popular articles that I have written in Dutch are my steps to solve problems with Windows update. Therefore I thought it was a good idea to create an English version of this blog entry. If you are looking for the Dutch version you can click here.

If Windows Update gives you an error message it can be a challange to find a solution. On the Internet you´ll find many webpages that mention only one error, have limited instructions or only a part of the solution. The steps below are general steps to check and fix the infrastucture which is needed for Windows Update. If you get specific error messages like 0x80248011 or 0xc80004c0 you can also try the steps in this article.

Ofcourse it is always a good idea to check the Windows Event Viewer. Click Start and then click "My Computer" with the right mouse button. Select Manage from the list and in the new window that appears doubleclick on "Event Viewer" (Below the "System Tools" line). Check the Application and System log for events that have errors. Every message in the event log has its own unique event ID which can be checked on the website You'll find more information there on what these specific error messages mean.

Feel free after each step to restart the PC and check if it is already working. If it is then there is no need to go through the other steps :-). Please note that this article applies to Microsoft Windows XP. It doesn't apply to Microsoft Windows Vista as this will work on a different way.

A) Remove all the Internet Explorer temporary files
1. Start Internet Explorer. 
2a. For Internet Explorer 6:
Open the menu Tools and click on Internet-options. 
2b: For Internet Explorer 7: Press ALT on the keyboard, then click Tools and select Internet options.
3. Make sure you are on the General tab. 
4. Underneath the "Temporary Internet Files" section click on the button that says "Delete Cookies". (As this may also remove the passwords for some websites you have chosen to save these make sure you have all your passwords before you do this).
5. On the dialog "Delete Cookies" click OK. 
6. Now click on the "Delete Files" button.  
7. Check the box that says "Delete all offline content" and click OK.
8. Then click on the "Clear History" button in the "History" section. 
9. Click on Yes and then click OK.

It never hurts to go the extra mile by erasing the TEMP folders. Restart the computer and hit F8 a couple of times before Windows starts. Then select "Safe Mode". In Safe mode you can click Start, click RUN (if you don't have a RUN option hit Windows Key+R) and type "%TEMP%" (without the quotes, but with the percentage signs.). Delete all the files that are in this folder. If some files cannot be removed the are most likely in use and this can be ignored.

B) Check if the BITS service is running
Especialy with the errors 0x80246008 and 0x80246007 there is a pretty good chance that the Background Intelligent Transfer Service hasn't started or is not correctly installed. This service will take care of downloading the updates and as such is pretty crucial for the Windows Update process. 
1. Click on Start
2. Click on RUN (if you don't have a RUN option hit Windows Key+R)
3. Type CMD and hit OK
4. In the MS-Dos screen that appears type the following commands:
regsvr32 qmgr.dll [Enter]
regsvr32 qmgrprxy.dll [Enter]
5. Click Start and then click "My Computer" with the right mouse button.
6. Select Manage from the list.
7. Double click on the "Services and Applications" line and then click "Services".
8. Check if there is a service called Background Intelligent Transfer Service and if this is listed as "Automatic" and "Started"
- If this isn't the case then doubleclick the service and set the Startup Type to Automatic, hit apply and then hit the start button. Check the Event viewer if the service won't start. 
- If the BITS Service isn't available in the list of services it may not have been installed (correctly). Download and reinstall the BITS v1.5 service from this URL and then download and install the update to BITS v2.0 with this file.  

C) Registrer the DLL's 
Dynamic Link Libaries contain all sort of routines that can be used by all applications. When a neccessary DLL isn't loaded or replaced by an older version a routine cannot be called and excuted. Windows Update uses the following DLL's that we will re-register.
1. Click on Start
2. Click on RUN (if you don't have a RUN option hit Windows Key+R)
3. Type CMD and hit OK
4. In the MS-Dos screen that appears type the following commands:

regsvr32 MSXML.DLL     [Enter]
regsvr32 MSXML2.DLL   [Enter]
regsvr32 MSXML3.DLL   [Enter]
regsvr32 Wuaueng.DLL  [Enter]
Every time you hit [Enter] a message box from RegSvr32 will appear stating that "DllRegisterServer in [name].dll succeeded.". The DLL is than registered and can be loaded if needed. If the DLL file doesn't exist then you'll get a message box from RegSvr32 stating "LoadLibrary ("[name].dll") failed - The specified module could not be found." This isn't that much of a problem and can be ignored, continue to register the next DLL.

D) Let Windows repair the Windows Update database
A history of all the updates that are installed is kept in a database file. If for whatever reason this database is corrupted or mismatches the actual situation you can have it rebuild.

1. Click on Start
2. Click on RUN (Guess what yoy have to do if you don't have a RUN option?)
3. Type CMD and hit OK
4. In the MS-Dos screen that appears type the following commands:
net stop wuauserv  [Enter]
This will stop the "Automatic Updates" service that is using the database.
5. Now lets switch to the Windows directory - Type
CD \Windows    [Enter]
(If you get "The system cannot find the path specified" then Windows is installed in another folder. Type SET [Enter] and look at the option "windir") 
6. Type:
Rename SoftwareDistribution SoftwareDistribution_OLD
which will rename the folder containing the database.
7. Type:
net start wuauserv [Enter]
8. Now try Windows Update again. This may take a while (With the green bar going back and forth) because the database has to be rebuild.

Tip: Try the new Microsoft Update Service instead of the Windows Update Service! Go to and follow the steps. The biggest advantage is that this will update all installed Microsoft Software instead of just for Microsoft Windows.

Tip 2: Make sure that the Date and Time are set correctly on your PC. A big difference will cause problems as well.

I hope that these steps have solved your problem with Windows Update. If this is not the case and you have a solution that is not in this article please share this by using the "Post a comment" button, which ofcourse is also great in case you want to let me know that it DID solve your problems :-).


Published Thursday, January 18, 2007 11:00 PM door Tony Krijnen
Opgeslagen onder: , ,


# re: Microsoft Windows Update Troubleshooting (US)

Sunday, February 25, 2007 3:33 PM door Pekka K.
This was a helpful article. I got my Windows Update working again with tip D). Thank you very much.

# Error message: System.dll is missing

Friday, March 09, 2007 12:53 AM door Tony Krijnen
If you get a message stating that System.dll is missing when running Windows Update or running DxDIAG you...

# re: Microsoft Windows Update Troubleshooting (US)

Monday, March 12, 2007 3:25 AM door Peggy
You are a lifesaver! I have been fighting with this windows update all day. I have uninstalled & reinstalled twice. Repaired XP twice and wasyed my whole day. With your website, I had the updates fixed and going again in less than 10 minutes! Thnaks TONY!!

# re: Microsoft Windows Update Troubleshooting (US)

Thursday, April 05, 2007 3:31 AM door Andy Prince
Thanks so much, this is far more useful than Microsoft's website.  After completing these step I was able to start getting security updates again.

# re: Microsoft Windows Update Troubleshooting (US)

Tuesday, April 21, 2009 2:13 PM door Carl

Hi Tony

I got a problem with BITS not running on SBS Server 2003. Update fails with error 0x8007005. Can't reinstall BITS v1.5 as its "part of the OS". Registering the qmgrprxy.dll failed as well. Any advice?

# re: Microsoft Windows Update Troubleshooting (US)

Monday, December 14, 2009 8:31 PM door Joe Kazura

Unfortunately this did not help.  I'm already using MS Update (vs Windows Update).  My problem is that a "Security Update for Windows XP (KB973354)" needs to be installed - which I have done, both via Windows Updates, Microsoft Updates AND manually - YET both updates want to continuously install this update!  Yes I can hide it, but how annoying is the WORLD ANNIHILATION warning that keeps showing up?  ;-)

# Manual Windows update failed on newly install Windows Server 2003 R2 SP2 Std. x86

PingBack vanaf  Manual Windows update failed on newly install Windows Server 2003 R2 SP2 Std. x86

# Downloads from Microsoft not working

Sunday, March 07, 2010 9:05 PM door Downloads from Microsoft not working

PingBack vanaf  Downloads from Microsoft not working

# re: Microsoft Windows Update Troubleshooting (US)

Wednesday, April 27, 2011 10:48 PM door Dan Mattsson

Thank you Tony!

Been having problems in Win 7 with svchost hogging an entire CPU an thought I'd narrowed id down to the install database (Procexp mentioned ESENT/JET a few times in the offending stack trace.

Removed the Update Database as per your instructions - now new updates are available and the computer runs cool again. Reliability index is finally bound to rise!

Wat denkt u?

CaptchaCube Vraag: