Microsoft KB Archive/310396

= Windows XP logon screen does not appear and the computer continuously restarts =

Article ID: 310396

Article Last Modified on 5/5/2004

-

APPLIES TO


 * Microsoft Windows XP Professional Edition
 * Microsoft Windows XP Home Edition

-



This article was previously published under Q310396



If this article does not describe the error message that you are receiving, view the following Microsoft Knowledge Base article to view more articles that describe error messages:

315854 Windows 98 and Windows Me Error Message Resource Center



SYMPTOMS
When you start your computer, the Microsoft Windows XP startup screen appears, and then the computer may restart. The Windows XP logon screen does not appear.



CAUSE
This issue may occur if the Kernel32.dll file is missing or damaged.



RESOLUTION
To resolve this issue, use the Windows Recovery Console to extract a new copy of the Kernel32.dll file from the original Windows XP CD. To do this, follow these steps:  Start the Recovery Console. If you do not have the Recovery Console installed, start it from the Windows XP CD. To do this, follow these steps:  Insert the Windows XP CD, and then restart the computer. If you are prompted, select any options that are required to start from the CD. When the text-based part of the Setup program starts, follow the instructions that appear on your screen. To select the repair or recover option, press R. If you have a dual-boot or multiple-boot computer, select the installation that you must access from the recovery console. When you are prompted, type the Administrator password.</ol> </li> At the command prompt, type cd system32, and then press ENTER.</li> Type ren kernel32.dll kernel32.old, and then press ENTER.</li> Type map, and then press ENTER.</li>  Note the drive letter that is assigned to the CD-ROM drive that contains the Windows XP CD. It is appears in a format that is similar to the following format: <pre class="fixed_text">D:         \Device\CdRom0 </li>  Type the following command, and then press ENTER:

expand \i386\kernel32.dl_

Where  is the drive letter of the CD-ROM drive that contains the Windows XP CD). For example, type:

Expand d:\i386\kernel32.dl_

Note Include the underscore character after the &quot;L&quot; in Kernel32.dl_.

You receive the following message: <pre class="fixed_text">Kernel32.dll 1 file(s) expanded. </li> Type exit. The computer restarts.</li> Remove the Windows XP CD, and then start the computer as you regularly do.</li></ol>

<div class="moreinformation_section">

MORE INFORMATION
For additional information about how to install the recovery console, click the following article number to view the article in the Microsoft Knowledge Base:

216417 How to install the Windows Recovery Console

For additional information about how to use the recovery console, click the following article number to view the article in the Microsoft Knowledge Base:

307654 How to access the Recovery Console during startup

Additional query words: corrupt kernel32

Keywords: kberrmsg kbkern32dll kbenv kbprb kbfaq KB310396

-

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

© Microsoft Corporation. All rights reserved.