Microsoft KB Archive/910341

= Error messages that you may receive when you try to download and install updates from the Windows Update Web site, from the Microsoft Update Web site, or from a WSUS server: &quot;0x800704DD,&quot; &quot;0x80240020,&quot; or both =

Article ID: 910341

Article Last Modified on 3/22/2006

-

APPLIES TO


 * Microsoft Update
 * Microsoft Windows Update

-



Important This article contains information about how to modify the registry. Make sure to back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows registry



SUMMARY
''This article describes how to troubleshoot error messages that you may receive when you try to download updates from the Microsoft Windows Update Web site, from the Microsoft Update Web site, or from a Microsoft Windows Server Updates Services (WSUS) server. To troubleshoot this issue, the &quot;Resolution&quot; section includes steps for Microsoft Windows 2000, for Microsoft Windows Server 2003, and for Microsoft Windows XP. This article also includes a &quot;Workaround&quot; section. You can follow the steps that are in the &quot;Workaround&quot; section if the steps that are in the &quot;Resolution&quot; section do not resolve the problem.''



SYMPTOMS
When you try to download and install updates from the Microsoft Windows Update Web site, from the Microsoft Update Web site, or from a Windows Server Update Services (WSUS) server, you may receive one or both of the following error messages:

0x800704DD

0x80240020



CAUSE
This problem occurs if the Automatic Updates service cannot impersonate the logged-on user to finish downloading and installing the update.



RESOLUTION
To resolve this problem on a computer that is running Windows 2000, follow the steps in Section A. To resolve this problem on a computer that is running Windows Server 2000 or Windows XP, follow the steps in Section B.

Step 1: Log on and run Microsoft Internet Explorer as a user who is a member of the local Administrators group

 * 1) Log on as a user who is a member of the local Administrators group.
 * 2) Right-click the Internet Explorer icon, click Run as, and then run the program as a user who is a member of the local Administrators group.
 * 3) Visit the Windows Update Web site, visit the Microsoft Update Web site, or connect to a WSUS server.

Step 2: Verify that Client for Microsoft Networks is installed
 Click Start, click Run, type ncpa.cpl, and then click OK. Right-click the local area connection that is associated with the network adapter, and then click Properties. Verify that Client for Microsoft Networks appears in the This connection uses the following items box. Verify that the check box that appears next to Client for Microsoft Networks is selected. If Client for Microsoft Networks does not appear in the This connection uses the following items box, follow these steps:  Click Install, click Client, and then click Add. Click Client for Microsoft Networks, click OK, and then click Yes.</ol> </li></ol>

Step 3: Verify that the Background Intelligent Transfer Service and the System Event Notification Service are started
Note The Background Intelligent Transfer Service (BITS) depends on the System Event Notification Service (SENS) in Windows 2000.
 * 1) Click Start, click Run, type services.msc, and then click OK.
 * 2) In the Name list, double-click System Event Notification.
 * 3) In the Startup type box, click Automatic.
 * 4) Click Start, wait for the service to start, and then click OK.
 * 5) Repeat steps 2 through 4 of this procedure for the Background Intelligent Transfer Service.

Step 4: Log on to the console session of Windows 2000 Server
Note This step applies to Windows 2000 Server only.

Note The Background Intelligent Transfer Service does not support Terminal Services sessions in Windows 2000. The Background Intelligent Transfer Service can submit the download job only by using computer credentials. If the firewall or proxy requires user-level authentication, the download job will fail.
 * 1) Log on locally to the computer. Do not use a Terminal Services session.
 * 2) Visit the Windows Update Web site, visit the Microsoft Update Web site, or connect to a WSUS server.

Step 5: Verify that the following registry entries are present
Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall your operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk. <ol> Click Start, click Run, type Regedit, and then click OK.</li> Expand the following subkey:

</li> Verify that the following registry entries are present:

</li> Make any changes or additions that are required.

The following example explains how to change the value of the Shutdown registry entry: <ol style="list-style-type: lower-alpha;"> Right-click Shutdown, and then click Modify.</li> In the Value data box, type SensShutdownEvent to overwrite the existing value, and then click OK.</li></ol>

The following example explains how to add a new registry entry: <ol style="list-style-type: lower-alpha;"> In the left pane, click SensLogn.</li> Click Edit, point to New, and then click the value type that you want. For our example, click DWORD Value.</li> Type Impersonate, and then press ENTER.</li> Right-click Impersonate, and then click Modify.</li> In the Value data box, type 1, and then click OK.</li></ol> </li> If you made any changes to the registry, restart the computer. Then, try again to download and install the update.</li></ol>

Step 1: Log on and run Internet Explorer as a user who is a member of the local Administrators group

 * 1) Log on as a user who is a member of the local Administrators group.
 * 2) Right-click the Internet Explorer icon, click Run as, and then run the program as a user who is a member of the local Administrators group.
 * 3) Visit the Windows Update Web site, visit the Microsoft Update Web site, or connect to a WSUS server.

Step 2: Verify that the following registry entries are present
Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall your operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk. <ol> Click Start, click Run, type Regedit, and then click OK.</li> Expand the following registry subkey:

</li> Verify that the following registry entries are present: </li> Make any changes or additions that are required.

The following example explains how to change the value of the Shutdown registry entry: <ol style="list-style-type: lower-alpha;"> <li>Right-click Shutdown, and then click Modify.</li> <li>In the Value data box, type SensShutdownEvent to overwrite the existing value, and then click OK.</li></ol>

The following example explains how to add a new registry entry: <ol style="list-style-type: lower-alpha;"> <li>In the left pane, click SensLogn.</li> <li>Click Edit, point to New, and then click the value type that you want. For our example, click DWORD Value.</li> <li>Type Impersonate, and then press ENTER.</li> <li>Right-click Impersonate, and then click Modify.</li> <li>In the Value data box, type 1, and then click OK.</li></ol> </li> <li>If you made any changes to the registry, restart the computer. Then, try again to download and install the update.</li></ol>

Note The registry subkeys and values in the table in step 3 only apply to Windows Server 2003 and Windows XP. You cannot import these registry subkeys and values from a Windows Server 2003-based or a Windows XP-based computer to a Windows 2000-based computer.

<div class="workaround_section">

WORKAROUND
To work around this problem, configure Automatic Updates to download and install updates. To do this, follow these steps.

Windows 2000

 * 1) Click Start, point to Settings, and then click Control Panel.
 * 2) Double-click Automatic Updates.
 * 3) Click Automatically download the updates, and install them on the schedule that I specify.
 * 4) Click to select the day and time that you want to download and install updates, and then click OK.

Windows XP

 * 1) Click Start, and then click Control Panel
 * 2) Double-click Automatic Updates.
 * 3) Click Automatic (recommended).
 * 4) Click to select the day and time that you want to download and install updates, and then click OK.

Windows Server 2003
<ol> <li>Click Start, and then click Control Panel.</li> <li>Double-click Automatic Updates.</li> <li>Click to select the following check box:

'''Keep my computer up to date. With this setting enabled, Windows Update software may be automatically updated prior to applying any other updates.'''

</li> <li>Click Automatically download the updates, and install them on the schedule that I specify.</li> <li>Click to select the day and time that you want to download and install updates, and then click OK.</li></ol>

For more information about how to schedule Automatic Updates, click the following article number to view the article in the Microsoft Knowledge Base:

327838 How to schedule automatic updates in Windows Server 2003, in Windows XP, and in Windows 2000

<div class="references_section">