Microsoft KB Archive/315241

= A Stop: 0xc000026C or Stop: 0xc0000221 &quot;Unable to Load Device Driver&quot; Error Occurs When You Start Windows XP =

Article ID: 315241

Article Last Modified on 3/29/2004

-

APPLIES TO


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

-



This article was previously published under Q315241



SYMPTOMS
When you start Windows XP, you may receive one of the following error messages:

STOP: 0xc000026C [Unable to load device driver]

-or-

STOP: 0xc0000221 [Unable to load device driver]

-or-

STOP: 0xc0000221. Bad image check sum, the image user32.dll is possibly corrupt. The header check sum does not match the computed check sum.

is the name of the device driver file.



CAUSE
This behavior can occur if one of the following conditions is true:
 * A device driver file (.sys) is missing or damaged.

The missing or damaged file is probably the driver file that the error message mentions.
 * The User32.dll file may be missing or damaged.



RESOLUTION
To resolve this behavior, use the appropriate method for your symptoms.

Missing or Damaged Driver File
Use Recovery Console to replace the missing or damaged driver file. To do so, follow these steps:  Insert the Windows XP CD-ROM into the CD-ROM or DVD-ROM drive, and then restart the computer. Select any options that are required to start the computer from the CD-ROM or DVD-ROM drive if you are prompted to do so. When the &quot;Welcome to Setup&quot; screen appears, press R to start Recovery Console. If your computer is configured for dual booting or multiple booting, select the relevant Windows XP installation. When you are prompted to do so, type the administrator password, and then press ENTER.

Note In Windows XP Home Edition, the administrator password is\ blank by default. At the command prompt, type the following command, and then press ENTER:

cd windows\system32\drivers

 To rename the damaged driver file, type the following command, and then press ENTER

ren .sys  .bak

where  is the name of the damaged driver file.</li> To copy the driver from the Windows XP CD-ROM to the Drivers folder, type the following command, and then press ENTER

copy :\i386

where  is the drive letter for the drive that contains the Windows XP CD-ROM.</li> Type exit, press ENTER, and then restart the computer.</li></ol>

Missing or Damaged User32.dll File
Use Recovery Console to replace the corrupted or damaged User32.dll file, then, if needed, perform an in-place upgrade (also called a repair install) of Windows XP. To do so follow these steps: <ol> Insert the Windows XP CD-ROM into the CD-ROM or DVD-ROM drive, and then restart the computer. Select any options that are required to start the computer from the CD-ROM or DVD-ROM drive if you are prompted to do so.</li> When the &quot;Welcome to Setup&quot; screen appears, press R to start Recovery Console.</li> If your computer is configured for dual booting or multiple booting, select the relevant Windows XP installation.</li> When you are prompted to do so, type the administrator password, and then press ENTER.

NOTE: In Windows XP Home Edition, the administrator password is\ blank by default.</li> At the command prompt, type the following command, and then press ENTER:

cd windows\system32

</li> To rename the User32.dll file, type the following command, and then press ENTER:

ren user32.dll user32.bak

</li> To expand a new copy of the User32.dll file from the Windows XP CD-ROM to the System32 folder, type the following command, and then press ENTER:

expand :\i386\user32.dl_  \system32

where  is the drive letter for the drive that contains the Windows XP CD-ROM, and   is the drive letter and folder in which Windows XP is installed.</li> Type exit, press ENTER, and then restart the computer.</li></ol>

If Windows XP still fails to start, you may need to perform an in-place upgrade (also called a repair install)

For additional information how to perform an in-place upgrade of Windows XP, click the article number below to view the article in the Microsoft Knowledge Base:

315341 How to Perform an In-Place Upgrade of Windows XP

<div class="status_section">

STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

<div class="moreinformation_section">

MORE INFORMATION
While you are running Recovery Console, if you want information about a specific command, type help at the command prompt, and then press ENTER.

For additional information about using Recovery Console, click the article numbers below to view the articles in the Microsoft Knowledge Base:

314058 Description of the Windows XP Recovery Console

307654 HOW TO: Install and Use the Recovery Console for Windows XP

If you started the computer from Windows XP Setup boot disks and you receive either of the Stop errors that are described in the Symptoms section of this article, one or more of the six floppy disks might be defective. You can create a new set of Windows XP Setup boot disks.

For additional information about creating a set of Windows XP Setup boot disks, click the article number below to view the article in the Microsoft Knowledge Base:

310994 HOW TO: Obtain Windows XP Setup Boot Disks

Additional query words: blue screen c000026c c0000221 ntsetup

Keywords: kberrmsg kbsetup kbprb kbfaq KB315241

-

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

© Microsoft Corporation. All rights reserved.