Error 0x80004002

SYMPTOMS

You see the following errors in "%Windir%\WindowsUpdate.log".

FATAL: Failed to get session from datastore, error = 0x80004002
FATAL: Failed to Unserialize from data store, error = 0x80004002
WARNING: Exit code = 0x80004002
WARNING: InitAUComponents Failed, will restart AU in 30 mins, error = 0x80004002
DnldMgr FATAL: DM:CAgentDownloadManager::CheckAllCallDownloadStates: GetSession failed with 0x80004002.

WORKAROUND

Try the following steps; Some of these steps might work. Rename/Delete "%Windir%\WindowsUpdate.log" before you start to see the latest detection.

1. If you have a proxy server -

  • Stop Automatic Update Service - "Net stop wuauserv".
  • Run the following command: "proxycfg.exe -u". 
  • Start Automatic Update Service - "Net start wuauserv".
  • Force update detection and see if that works.

2. Re-create the Datastore -

  • Stop Automatic Update Service - "Net stop wuauserv".
  • Rename/delete "%Windir%\SoftwareDistribution" folder. 
  • Start Automatic Update Service - "Net start wuauserv".
  • Force update detection and see if that works.

3. Try to force install WUA.

NOTE:

  • You will loose reporting events when you rename or delete the Datastore folder ("%Windir%\SoftwareDistribution\ReportingEvents.log").
  • Drop me a comment if these steps work.

MORE INFORMATION

Error 0x80072efd
http://msmvps.com/blogs/athif/archive/2006/05/08/Error_80072efd.aspx

 

Force Update Detection

http://msmvps.com/blogs/athif/archive/2006/05/15/95060.aspx

Published Wednesday, May 17, 2006 12:30 PM by Mohammed Athif Khaleel
Filed under:

Comments

Monday, May 22, 2006 3:21 PM by Adam

# re: Error 0x80004002

followed your steps all the way through. After client reinstalled it worked! Thanks
Monday, June 26, 2006 8:07 AM by Marc Vanderhaegen

# re: Error 0x80004002

Followed all the steps and now it is working :)
Thanks !
Wednesday, July 05, 2006 6:34 PM by bstephens

# re: Error 0x80004002

After following the third step it worked.  Thank you very much
Thursday, September 28, 2006 12:31 PM by Magoo

# re: Error 0x80004002

And yet again, Microsoft releases another product that doesn't always work out of the box. I had to use the 3rd solution to fix a new installation of Windows 2003 server to update from our WSUS server.

Thanks for this posting, it sure helped.

Monday, January 07, 2008 1:41 PM by help - windows updates not instaling as normal

# help - windows updates not instaling as normal

Pingback from  help - windows updates not instaling as normal