|
 |
 |
 |
 |
Microsoft Knowledge Base Article
This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms
of Use |
Trademarks
Article ID: 910341 - Last Review: April 20, 2009 - Revision: 3.0 You receive error 0x80240020 when you use Windows Update Web site, Microsoft Update Web site, or WSUS to install updates
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 "Resolution" section includes steps for Microsoft Windows 2000, for Windows Server 2003, and for Windows XP. This article also includes a "Workaround" section. You can follow the steps that are in the "Workaround" section if the steps that are in the "Resolution" section do not resolve the problem. 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 the following error message: This problem occurs if the Automatic Updates service cannot
impersonate the logged-on user to finish downloading and installing the
update. 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. Section A: Windows 2000Step 1: Log on and run Microsoft Internet Explorer as a user who is a member of the local Administrators group- Log on as a user who is a member of the local
Administrators group.
- 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.
- 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.
Step 3: Verify that the Background Intelligent Transfer Service and the System Event Notification Service are startedNote The Background Intelligent Transfer Service (BITS) depends on the
System Event Notification Service (SENS) in Windows 2000.
- Click Start, click Run,
type services.msc, and then click
OK.
- In the Name list, double-click
System Event Notification.
- In the Startup type box, click
Automatic.
- Click Start, wait for the service to
start, and then click OK.
- 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 ServerNote 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.
- Log on locally to the computer. Do not use a Terminal
Services session.
- 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 presentImportant This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base: 322756Â
(http://kbalertz.com/Feedback.aspx?kbNumber=322756/
)
How to back up and restore the registry in Windows - Click Start, click Run,
type Regedit, and then click
OK.
- Expand the following subkey:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\SensLogn - Verify that the following registry entries are present:
Collapse this tableExpand this table | Name | Data type | Data value |
|---|
| Asynchronous | DWORD | 00000001 | | DLLName | String | WlNotify.dll | | Impersonate | DWORD | 00000001 | | Lock | String | SensLockEvent | | Logoff | String | SensLogoffEvent | | Logon | String | SensLogonEvent | | MaxWait | DWORD | 00000258 | | Safe | DWORD | 00000001 | | Shutdown | String | SensShutdownEvent | | StartScreenSaver | String | SensStartScreenSaverEvent | | StartShell | String | SensStartShellEvent | | Startup | String | SensStartupEvent | | StopScreenSaver | String | SensStopScreenSaverEvent | | Unlock | String | SensUnlockEvent |
- Make any changes or additions that are required.
The following example explains how to change the value of the
Shutdown registry entry:
- Right-click Shutdown, and then click
Modify.
- In the Value data box, type
SensShutdownEvent to overwrite the existing value, and then
click OK.
The following example explains how to add a new registry
entry:
- In the left pane, click
SensLogn.
- Click Edit, point to
New, and then click the value type that you want. For our
example, click DWORD Value.
- Type Impersonate, and then press
ENTER.
- Right-click Impersonate, and then
click Modify.
- In the Value data box, type
1, and then click OK.
- Click Start, click Run, copy and paste or type the following command into the Open box and then click OK:
Regsvr32 wlnotify.dll /s - If you made any changes to the registry, restart the
computer. Then, try again to download and install the update.
Section B: Windows Server 2003 and Windows XPStep 1: Log on and run Internet Explorer as a user who is a member of the local Administrators group- Log on as a user who is a member of the local
Administrators group.
- 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.
- 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 presentImportant This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base: 322756Â
(http://kbalertz.com/Feedback.aspx?kbNumber=322756/
)
How to back up and restore the registry in Windows - Click Start, click Run,
type Regedit, and then click
OK.
- Expand the following registry subkey:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\SensLogn - Verify that the following registry entries are present:
Collapse this tableExpand this table | Name | Data type | Data value |
|---|
| Asynchronous | DWORD | 00000001 | | Disconnect | String | SensDisconnectEvent | | DLLName | String | WlNotify.dll | | Impersonate | DWORD | 00000001 | | Lock | String | SensLockEvent | | Logoff | String | SensLogoffEvent | | Logon | String | SensLogonEvent | | MaxWait | DWORD | 00000258 | | PostShell | String | SensPostShellEvent | | Reconnect | String | SensReconnectEvent | | Safe | DWORD | 00000001 | | Shutdown | String | SensShutdownEvent | | StartScreenSaver | String | SensStartScreenSaverEvent | | StartShell | String | SensStartShellEvent | | Startup | String | SensStartupEvent | | StopScreenSaver | String | SensStopScreenSaverEvent | | Unlock | String | SensUnlockEvent |
- Make any changes or additions that are
required.
The following example explains how to change the value of
the Shutdown registry entry:
- Right-click Shutdown, and then click
Modify.
- In the Value data box, type
SensShutdownEvent to overwrite the existing value, and then
click OK.
The following example explains how to add a new registry
entry:
- In the left pane, click
SensLogn.
- Click Edit, point to
New, and then click the value type that you want. For our
example, click DWORD Value.
- Type Impersonate, and then press
ENTER.
- Right-click Impersonate, and then
click Modify.
- In the Value data box, type
1, and then click OK.
- If you made any changes to the registry, restart the
computer. Then, try again to download and install the update.
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. Section C: Windows Vista and Windows Server 2008Step 1: Log on to the computer as an Administrator or a as user with Administrative permissions-
Log on as a user who is a local administrator or is a member of the local Administrators group.
- Visit the Windows Update Web site or the Microsoft Update Web site and check for updates
For more information about Administrator accounts, visit the following Microsoft Web site:
Note To check your current Logon type, follow these steps:
- Click Start
Collapse this imageExpand this image , and then click your user icon in the upper right corner of the Start menu.
- In the Make changes to your account section. click Manage User Accounts.
- Locate your currently logged on user name in the User Name section. If you are listed as in the Administrators group, you are logged on with administrative permissions.
Step 2: Verify that the Background Intelligent Transfer Service and the System Event Notification Service are started- Click Start
Collapse this imageExpand this image , type services.msc in the Start Search text area, and then click services.msc from the programs list.
- Double-click Background Intelligent Transfer Service.
- In the Service Status section, make sure that the service is listed as Started.
- If the status is listed as Stopped, click Start, and then click OK.
- Try to install updates again.
Step 3: Verify Name Resolution on the computer- Close any Windows Update or Microsoft Update browser windows.
- Click Start
Collapse this imageExpand this image , type Command Prompt, and then, in the list of results, right-click Command Prompt, and then click Run as Administrator. If you are prompted for an administrator password or for a confirmation, type the password, or click Continue.
- In the Command Prompt window, type the following commands. Press ENTER after each command:
nslookup
ns
your computer name Note In this step, replace your computer name with the name of your computer. To find your computer name, click StartCollapse this imageExpand this image , right-click Computer, and then click Properties. Your computer name is listed in the Computer name, domain, and workgroup settings section -
When you press ENTER after you type your computer name at the command prompt, you should see your Domain Name System (DNS) IP address returned.
- Try again to install the updates.
To work around this problem, configure Automatic Updates to
download and install updates. To do this, follow these steps. Windows 2000- Click Start, point to
Settings, and then click Control Panel.
- Double-click Automatic Updates.
- Click Automatically download the updates, and
install them on the schedule that I specify.
- Click to select the day and time that you want to download
and install updates, and then click OK.
Windows XP- Click Start, and then click
Control Panel
- Double-click Automatic Updates.
- Click Automatic (recommended).
- Click to select the day and time that you want to download
and install updates, and then click OK.
Windows Server 2003- Click Start, and then click
Control Panel.
- Double-click Automatic Updates.
- 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. - Click Automatically download the updates, and
install them on the schedule that I specify.
- Click to select the day and time that you want to download
and install updates, and then click OK.
For more
information about how to schedule Automatic Updates, click the following
article number to view the article in the Microsoft Knowledge Base: 327838Â
(http://kbalertz.com/Feedback.aspx?kbNumber=327838/
)
How to schedule automatic updates in Windows Server 2003, in Windows XP, and in Windows 2000
Windows Vista and Windows Server 2008- Open Windows Update. To do this, click Start
Collapse this imageExpand this image , click All Programs, and then click Windows Update.
- In the left pane, click Change settings.
- Click the automatic updating option that you want.
- To receive important and recommended updates for your computer, under Recommended updates, click to select the Include recommended updates when downloading, installing, or notifying me about updates check box.
- Click OK.
If you are prompted for an administrator password or confirmation, type the password or provide confirmation.
For more information, click the
following article number to view the article in the Microsoft Knowledge Base: 902093Â
(http://kbalertz.com/Feedback.aspx?kbNumber=902093/
)
How to read the Windowsupdate.log file
APPLIES TO- Microsoft Update
- Microsoft Windows Update
Community Feedback System
Very often, it takes hours to solve a problem. Very often, you've looked high
and low, and have tried a lot of solutions. When you finally found it, chances
are, it was because someone else helped you. Here's your chance to give back.
Use our community feedback tool to let others know what worked for you and what
didn't.
Please also understand that the community feedback system is not warranted to be
correct, it's simply a system that we've built to let people try and help each
other. If something in a feedback response doesn't make sense to you, or you're
not comfortable making changes that the feedback talks about (like registry
edits), please consult a professional.
Thank you for using kbAlertz.com Feedback System.
-- Scott Cate
|
 |
 |
 |
 |
 |
 |
 |
| |