Error 0xC800021F

You see the following error in %Windir%\WindowsUpdate.log

SYMPTOMS

2006-06-15      17:02:23        2104    83c     Misc    ===========  Logging initialized (build:
5.8.0.2469, tz: -0400)  ===========
2006-06-15      17:02:23        2104    83c     Misc      = Process: C:\WINDOWS\system32\wuauclt.exe
2006-06-15      17:02:23        2104    83c     Misc      = Module: C:\WINDOWS\system32\wuaueng.dll
2006-06-15      17:02:23        2104    83c    
DtaStor FATAL: Failed to initialize datastore,
error = 0xC800021F
2006-06-15      17:02:23        2104    83c     Misc    ===========  Logging initialized (build:
5.8.0.2469, tz: -0400)  ===========

CAUSE

It looks like the client datastore failed to initialize.

WORKAROUND

  1. Open a CMD prompt on the client.
  2. Type "net stop wuauserv" (without quotes) <hit enter>.
  3. Type "cd %Windir%\SoftwareDistribution".
  4. Type "RD /s /q Datastore" (this will remove the client datastore).
  5. Type "net start wuauserv" (without quotes) <hit enter> .
  6. Type "wuauclt /detectnow" then check %Windir%\WindowsUpdate.log if it is successful.

OR, just stop the Automatic Updates Service and delete "%Windir%\SoftwareDistribution\DataStore" folder and start Automatic Updates Service and force the update detection (wuauclt /detectnow)

Published Saturday, June 17, 2006 3:21 PM by Mohammed Athif Khaleel
Filed under:

Comments

Thursday, August 03, 2006 8:59 AM by Pablo

# re: Error 0xC800021F

These steps only worked after I added another step between 1 and 2 - "regsvr32 MSXML3.dll /s" and THEN proceeded to step 2...

Now it's working!

Friday, September 15, 2006 9:46 AM by Dan

# re: Error 0xC800021F

The steps in the workaround worked for me without adding the regsvr32 msxml3.dll.

Thanks!