Microsoft KB Archive/829786

= You receive an error message when you try to install Windows XP updates from the Windows Update Web site =

Article ID: 829786

Article Last Modified on 6/23/2005

-

APPLIES TO


 * Microsoft Windows XP Home Edition
 * Microsoft Windows XP Professional

-





SYMPTOMS
When you connect to the Microsoft Windows Update Web site and try to install updates for Microsoft Windows XP, you may receive an error message that is similar to following:

Winlogon.exe. Entry Point Not Found The procedure entry point AssocIsDangerous could not be found in the dynamic link library SHLWAPI.DLL.



CAUSE
This behavior may occur if you have installed Microsoft Windows XP Service Pack 1, but did not restart your computer before you tried to install other updates from the Windows Update Web site. The behavior occurs because some DLL files have been damaged.



RESOLUTION
To resolve this problem, you must restart your computer in the Windows XP Recovery Console, and then replace the damaged DLL files. To do this, follow these steps:  Use the Windows XP Setup start-up disks or the Windows XP CD-ROM to start your computer. At the &quot;Welcome to Setup&quot; screen, press R, and then press C to start the Recovery Console. Type the number for the appropriate Windows XP installation, and then type the Administrator account password. Type the following commands, and then press ENTER after each command:

cd \

cd windows\system32

ren winlogon.exe winlogon.old

ren msgina.dll msgina.old

ren shell32.dll shell32.old

ren shlwapi.dll shlwapi.old

cd..

cd servicepackfiles\i386

copy MSGINA.DLL c:\windows\system32

copy SHELL32.DLL c:\windows\system32

copy WINLOGON.EXE c:\windows\system32

copy SHLWAPI.DLL c:\windows\system32

Note If the DLL files are not in the Servicepackfiles folder, you must expand these files from the Windows XP installation CD-ROM and copy them to the System32 folder. To expand these files from the Windows XP installation CD, follow these steps:  Put the Windows XP installation CD in your CD-ROM or DVD drive. Type the following commands, and then press ENTER after each command:

expand :\i386\MSGINA.DL_ C:\windows\system32

expand :\i386\SHELL32.DL_ C:\windows\system32

expand :\i386\WINLOGON.EX_ C:\windows\system32

expand :\i386\SHLWAPI.DL_ C:\windows\system32 </li></ol> </li> Type exit, and then press ENTER.</li></ol>

<div class="moreinformation_section">

MORE INFORMATION
For additional information about the Windows XP Recovery Console, click the following article numbers to view the articles in the Microsoft Knowledge Base:

307654 How to install and use the Recovery Console in Windows XP

314058 Description of the Windows XP Recovery Console

Keywords: kberrmsg kbprb KB829786

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.