Windows Server 2003
(1)
Windows Update
(1)
Windows Media
(1)
IIS
(1)
XP
(1)
GenerateAllDownloadRequests
(1)
SusCopyDirectoryContents
(1)
CAgentDownloadManager
(1)

Failed Windows Update - Win 2K3 WE - Error code 0x80070005

Asked By Bill H
20-Nov-09 06:28 PM
There are 5 updates that have failed:

The following updates were not installed:
Security Update for Windows Media Format Runtime 9.5 for Windows Server 2003
(KB954155)
Security Update for Windows Server 2003 (KB974571)
Security Update for Windows Server 2003 (KB969059)
Update for Windows Server 2003 (KB968389)
Security Update for Windows Server 2003 (KB969947)

With the following error code:

Installation Failure
Error Code: 0x80070005

The update log has the following entries (amoung a lot more):

2009-11-20	09:34:11:423	 796	6b4	DnldMgr	***********  DnldMgr: New download
job [UpdateId = {03AE0455-BE3B-4EBA-99A5-E2E33566FA7A}.102]  ***********
2009-11-20	09:34:11:423	 796	6b4	DnldMgr	  * Queueing update for download
handler request generation.
2009-11-20	09:34:11:423	 796	6b4	DnldMgr	Generating download request for
update {03AE0455-BE3B-4EBA-99A5-E2E33566FA7A}.102
2009-11-20	09:34:11:423	 796	6b4	Misc	FATAL: Failed to delete file
C:\WINDOWS\SoftwareDistribution\Download\2b3446575585cf93ab9b7b66dbba74b7\update\update.url (hr = 80070005) after 0 retries
2009-11-20	09:34:16:970	 796	6b4	Misc	FATAL: Failed to copy file from
C:\WINDOWS\SoftwareDistribution\Download\c79462f78b60dab5155ec3ee8235837a\update\update.url
to
C:\WINDOWS\SoftwareDistribution\Download\2b3446575585cf93ab9b7b66dbba74b7\update\update.url (hr = 80070005) after 10 retries
2009-11-20	09:34:16:970	 796	6b4	Misc	FATAL: Failed to delete file
C:\WINDOWS\SoftwareDistribution\Download\2b3446575585cf93ab9b7b66dbba74b7\update\update.url (hr = 80070005) after 0 retries
2009-11-20	09:34:16:970	 796	6b4	DnldMgr	FATAL:
DM:CAgentDownloadManager::GenerateAllDownloadRequests:
SusCopyDirectoryContents failed with 0x80070005.
2009-11-20	09:34:16:970	 796	6b4	DnldMgr	FATAL:
DM:CAgentDownloadManager::GenerateAllDownloadRequests:
GenerateDownloadRequest failed with 0x80070005.
2009-11-20	09:34:16:970	 796	6b4	DnldMgr	Error 0x80070005 occurred while
downloading update; notifying dependent calls.
.
.
2009-11-20	09:34:41:907	 796	6b4	Agent	*********
2009-11-20	09:34:41:907	 796	6b4	Agent	**  END  **  Agent: Downloading
updates [CallerId = MicrosoftUpdate]
2009-11-20	09:34:41:907	 796	6b4	Agent	*************
2009-11-20	09:34:41:907	 796	6b4	Report	REPORT EVENT:
{D87D57FB-41BB-4517-875D-1DEE1D1C30E6}	2009-11-20
09:34:17:079-0800	1	161	105	{68D1601C-3647-403D-8C70-8D23CBE795E3}	102	80070005	MicrosoftUpdate	Failure	Content Download	Error: Download failed.
2009-11-20	09:34:41:907	 796	6b4	Report	REPORT EVENT:
{A81345B2-8C93-4886-AB74-FFE27A3692FA}	2009-11-20
09:34:22:689-0800	1	161	105	{3C681237-259E-48C4-A646-F67443DB4E97}	101	80070005	MicrosoftUpdate	Failure	Content Download	Error: Download failed.
2009-11-20	09:34:41:907	 796	6b4	Report	REPORT EVENT:
{D8AA631C-6D11-4CA7-A0ED-D64623CBECC5}	2009-11-20
09:34:28:267-0800	1	161	105	{92FE7E5A-BDAA-46BE-AEC5-F04F191F56AF}	101	80070005	MicrosoftUpdate	Failure	Content Download	Error: Download failed.
2009-11-20	09:34:41:907	 796	6b4	Report	REPORT EVENT:
{8E420E2F-9FDE-411D-BE7A-1D53BA0AF627}	2009-11-20
09:34:33:860-0800	1	161	105	{78B86D45-2B71-447D-AE7B-CEDF21E63416}	103	80070005	MicrosoftUpdate	Failure	Content Download	Error: Download failed.
2009-11-20	09:34:41:923	3636	814	COMAPI	>>--  RESUMED  -- COMAPI: Download
[ClientId = MicrosoftUpdate]
2009-11-20	09:34:41:923	3636	814	COMAPI	  - Download call complete
(succeeded = 0, succeeded with errors = 0, failed = 5, unaccounted = 0)
2009-11-20	09:34:41:923	3636	814	COMAPI	  - WARNING: Exit code = 0x00000000;
Call error code = 0x80240022
2009-11-20	09:34:41:923	3636	814	COMAPI	---------
2009-11-20	09:34:41:923	3636	814	COMAPI	--  END  --  COMAPI: Download
[ClientId = MicrosoftUpdate]
2009-11-20	09:34:41:923	3636	814	COMAPI	-------------
2009-11-20	09:34:46:845	 796	6b4	Report	REPORT EVENT:
{66E54BA4-567C-46BB-9F04-0CD7CA06465D}	2009-11-20
09:34:41:845-0800	1	161	105	{86759919-02D3-48F1-96B1-83872B4799E2}	101	80070005	MicrosoftUpdate	Failure	Content Download	Error: Download failed.

...and the C:\WINDOWS\ReportingEvents.log shows:

{1B57E23D-9929-42D0-B1D1-C739CA2FE515}	2009-11-20
13:44:16:579-0800	1	147	101	{00000000-0000-0000-0000-000000000000}	0	0	MicrosoftUpdate	Success	Software
Synchronization	Windows Update Client successfully detected 14 updates.
{148362FC-7361-4448-A00D-F5DC32111174}	2009-11-20
13:48:06:860-0800	1	161	105	{68D1601C-3647-403D-8C70-8D23CBE795E3}	102	80070005	MicrosoftUpdate	Failure	Content Download	Error: Download failed.
{1B2B3300-B847-48A7-AD93-2595D57DC4CF}	2009-11-20
13:48:12:407-0800	1	161	105	{3C681237-259E-48C4-A646-F67443DB4E97}	101	80070005	MicrosoftUpdate	Failure	Content Download	Error: Download failed.
{7990510A-8FEC-4CD8-91CC-5F86F3149FF1}	2009-11-20
13:48:17:985-0800	1	161	105	{92FE7E5A-BDAA-46BE-AEC5-F04F191F56AF}	101	80070005	MicrosoftUpdate	Failure	Content Download	Error: Download failed.
{CE2444AF-88EE-4E20-9727-562C2AB782BC}	2009-11-20
13:48:23:548-0800	1	161	105	{78B86D45-2B71-447D-AE7B-CEDF21E63416}	103	80070005	MicrosoftUpdate	Failure	Content Download	Error: Download failed.
{6209CC7E-8399-4F58-856C-F2067FEF6FF9}	2009-11-20
13:48:30:923-0800	1	161	105	{86759919-02D3-48F1-96B1-83872B4799E2}	101	80070005	MicrosoftUpdate	Failure	Content Download	Error: Download failed.

I am the administrator and access this server via Remote Desktop.  I tried
running the update from the console and it did not make any difference.  I have
tried numerous suggestions and none have worked.  There is no AV or Firewall
software on this machine.  It is strictly used as an IIS/.NET development
server.

I also have a Win 2K3 Standard server and have no update problems with that;
nor with my three XP machines.

Any help would be appreciated.
--
Bill

I am having the same problem but on a standard W2K3 server.

Michael M Mason replied to Bill H
23-Nov-09 10:40 AM
I am having the same problem but on a standard W2K3 server.  In my case the
updates are KB969947 and KB942831.

From reading the log it looks to me that the problem is caused by some files
with paths like this, except the folder name indicated by "xxxxx" will
actually be something that looks like a 32-digit hexadecimal number:-

C:\WINDOWS\SoftwareDistribution\Download\xxxxx\update\update.url

I thought it would help if I deleted theses files--but I cannot delete them.
I cannot rename the directory they are in, or the directory above that, or the
one above that!  I get an Access Denied message, possibly because some
process is using these files/directories.

Like you, I'd very much appreciate any suggestions as to what to do next.

--
Michael

I am also having this exact same problem.

dallasja replied to Michael M Mason
04-Jan-10 09:05 AM
I am also having this exact same problem.  Same error message in update log
and also cannot delete the files/directory with an access denied error.  I
have 4 Win2k3 servers and this is the only one with the problem.  I am logged
on as administrator, but still no luck to delete the file. No firewall but I
do have AV.  I do not believe it is the AV since it is idential to the other 4
servers not having a problem.

I have been searching for hours/days for this problem.

Please if anyone has any insight I would greatly appreciate it!  Can't keep
my server up to date until this is fixed.

Thanks!
--
Susie

Which log? If it is the install log what is the context?

Robert Aldwinckle replied to dallasja
04-Jan-10 12:54 PM
Which log?   If it is the install log what is the context?   If there is insufficient
context in the install log (or any other diagnostics that the install creates,
such as an entry in the event log) you could supplement whatever diagnostics
are being created by using  ProcMon.   Note that you can infer the write
of specific log records in the trace based on the sequence of the writes
and their lengths.  You can use Notepad to determine the length of a log record.


HTH

Robert Aldwinckle
---
Errors are recorded in the windowsupdate.log, updates will not download.
dallasja replied to Robert Aldwinckle
06-Jan-10 11:10 AM
Errors are recorded in the windowsupdate.log, updates will not download.
Error code reported from Windows update site is error code 0x80070005.  In
the the windowsupdate.log the same error code is being reported.

Apparently it has to do with copying/deleting updates in the
%system%/SoftwareDistribution/download directory.  As indicated in the 2
posts above there is the error reported in the windowsupdate.log.  If you try
to manually delete the folder and file and access denied message appears.
Can't delte it, cannot download updates in order to install.  This is a huge
problem since I cannot keep the server up to date with security updates.

I have 4 other servers, all same OS, that are not experiencing this problem.
Really need help with this.
--
Susie
Additionally here is the contents of the windowsupdate.
dallasja replied to dallasja
06-Jan-10 11:23 AM
Additionally here is the contents of the windowsupdate.log where it indicates
failure:

DnldMgr	  * Call ID = {A9DC61A1-77BC-42E7-BAD2-8D1E89653C50}
DnldMgr	  * Priority = 2, Interactive = 0, Owner is system = 1, Explicit
proxy = 0, Proxy session id = -1, ServiceId =
{3DA21691-E39D-4DA6-8A4B-B43877BCB1B7}
DnldMgr	  * Updates to download = 1
Agent	  *   Title = Update for Windows Server 2003 (KB970430)
Agent	  *   UpdateId = {F715AC14-D7C3-4A56-94CF-2ED2D4C8E4E7}.101
Agent	  *     Bundles 1 updates:
Agent	  *       {018044FD-2C40-45D7-B19A-387FFE22BFE0}.101
AU	  # Pending download calls = 1
AU	<<## SUBMITTED ## AU: Download updates
DnldMgr	***********  DnldMgr: New download job [UpdateId =
{018044FD-2C40-45D7-B19A-387FFE22BFE0}.101]  ***********
DnldMgr	  * Queueing update for download handler request generation.
DnldMgr	Generating download request for update
{018044FD-2C40-45D7-B19A-387FFE22BFE0}.101
Misc	FATAL: Failed to delete file
C:\WINDOWS\SoftwareDistribution\Download\84a7450ffef244ba5647e75a14c16c2a\update\update.url (hr = 80070005) after 0 retries
Misc	FATAL: Failed to copy file from
C:\WINDOWS\SoftwareDistribution\Download\cde25826497059fb19f95ebab00b0ea9\update\update.url
to
C:\WINDOWS\SoftwareDistribution\Download\84a7450ffef244ba5647e75a14c16c2a\update\update.url (hr = 80070005) after 10 retries
Misc	FATAL: Failed to delete file
C:\WINDOWS\SoftwareDistribution\Download\84a7450ffef244ba5647e75a14c16c2a\update\update.url (hr = 80070005) after 0 retries
DnldMgr	FATAL: DM:CAgentDownloadManager::GenerateAllDownloadRequests:
SusCopyDirectoryContents failed with 0x80070005.
DnldMgr	FATAL: DM:CAgentDownloadManager::GenerateAllDownloadRequests:
GenerateDownloadRequest failed with 0x80070005.
DnldMgr	Error 0x80070005 occurred while downloading update; notifying
dependent calls.
Agent	*********
Agent	**  END  **  Agent: Downloading updates [CallerId = AutomaticUpdates]
Agent	*************
AU	>>##  RESUMED  ## AU: Download update [UpdateId =
{F715AC14-D7C3-4A56-94CF-2ED2D4C8E4E7}]
AU	  # WARNING: Download failed, error = 0x80070005

--
Susie
You can use ProcessExplorer to find out which files have update.
sbogar replied to dallasja
13-Jan-10 10:26 AM
You can use ProcessExplorer to find out which files have update.url locked
and then kill those processes to unlock the file so you can delete it.

In my case, cidaemon.exe was the offending culprit...

-enjoy!
Post Question To EggHeadCafe