Microsoft KB Archive/937481

= Error message when you restart a Windows Server 2003-based computer: &quot;Stop c0000135 {Unable to Locate DLL}&quot; =

Article ID: 937481

Article Last Modified on 11/15/2007

-

APPLIES TO


 * Microsoft Windows Server 2003, Datacenter Edition (32-bit x86)
 * Microsoft Windows Server 2003, Enterprise Edition (32-bit x86)
 * Microsoft Windows Server 2003, Standard Edition (32-bit x86)
 * Microsoft Windows Server 2003, Web Edition

-



SYMPTOMS
When you restart a Microsoft Windows Server 2003-based computer, the computer stops responding. Additionally, you receive a Stop error message that resembles the following:

Stop: c0000135 {Unable to Locate DLL}



CAUSE
This problem occurs because of a file mismatch after a Windows Server 2003 Service Pack 1 (SP1) installation is unsuccessful.



RESOLUTION
To resolve this problem, use one of the following methods.

Method 1: Use the Recovery Console to copy files to the computer
Note To perform this procedure, you must log on to the computer as an administrator or as a member of the Administrators group. Also, if the computer is connected to a network, network policy settings may prevent you from completing this procedure.  Copy the Winsrv.dll file and the Basesrv.dll file from a Windows Server 2003 SP1-based computer to a floppy disk. Insert the Windows Server 2003 CD into the Windows Server 2003-based computer's CD drive or DVD drive. Restart the computer. When you receive a message that prompts you to press any key to start from the CD, press a key.

Note The computer must be configured to start from the CD drive or from the DVD drive. For more information about how to configure the computer to start from the CD drive or from the DVD drive, see the computer documentation, or contact the computer manufacturer. When the &quot;Welcome to Setup&quot; screen appears, press R to start the Recovery Console. Select the Windows installation that you want to access, and then press ENTER. Follow the instructions that appear on the screen. When you are prompted for a password, type the Administrator password, and then press ENTER.</li> Insert the floppy disk that you used in step 1 into the floppy disk drive.</li> At the command prompt, type the following commands. Press ENTER after each command.

cd %windir%\system32

ren winsrv.dll winsrv.dll.old

ren basesrv.dll basesrv.dll.old

copy a:\winsrv.dll %windir%\system32

copy a:\basesrv.dll %windir%\system32

Note In this step, %windir% represents the path of the Windows system folder. Typically, C:\Windows is the path of the Windows system folder. This step renames the current Winsrv.dll file and the Basesrv.dll file in the %Windir%\System32 folder. Additionally, this step copies the Winsrv.dll file and the Basesrv.dll file from the floppy disk to the %Windir%\System32 folder.</li> Remove the Windows Server 2003 CD from the CD drive or from the DVD drive.</li> Remove the floppy disk from the floppy disk drive.</li> Type exit, and then press ENTER to restart the computer.</li></ol>

Method 2: Use the Recovery Console to manually remove Windows Server 2003 SP1
Note You must log on to the computer as an administrator or as a member of the Administrators group to perform this procedure. Also, if the computer is connected to a network, network policy settings may prevent you from completing this procedure. Use this method only if you archived Windows Server 2003 SP1 uninstall files when you installed Windows Server 2003 SP1. <ol> Start the system in the Recovery Console.

For more information, click the following article number to view the article in the Microsoft Knowledge Base:

326215 How to use the Recovery Console on a Windows Server 2003-based computer that does not start

</li> At a command prompt, type cd $ntservicepackuninstall$\spuninst batch spuninst.txt, and then press ENTER.

Note If you archived the service pack uninstall files to a different folder when you ran the Windows Server 2003 SP1 Setup program, switch to that folder before you run the batch spuninst.txt command. The batch spuninst.txt command copies the archived Windows files back to their original locations.</li> After the batch command has run successfully, type the following commands at a command prompt, and then press ENTER after each command:

CD ..

CD ..

CD System32\ConfigRen System system.old

Ren System.sp system

Ren software software.old

Ren software.sp software </li> Remove the Windows Server 2003 CD from the CD drive or from the DVD drive. Type exit, and then press ENTER to restart the computer.</li> Make sure that the Administrators group and the System group have Full Control permissions for all the subfolders on drive C.</li> Make sure that there is sufficient free space on drive C for the installation.</li> Stop all nonessential services that are running on the computer.</li> Upgrade all the old drivers in the system.</li> Install Windows Server 2003 SP1.</li></ol>

Method 3: Perform an in-place upgrade
If you have installed Windows Server 2003 SP1 without archiving Windows Server 2003 SP1 uninstall files, repair the Windows Server 2003 SP1 installation by performing an in-place upgrade. For more information about how to perform an in-place upgrade, click the following article number to view the article in the Microsoft Knowledge Base:

816579 How to perform an in-place upgrade of Windows Server 2003

Additional query words: bugcheck bug check crash kernel bluescreen 0xc0000135 Windows 2003 stop c0000135 no boot windows server 2003

Keywords: kbexpertiseadvanced kbtshoot kbbug kberrmsg kbfix KB937481

-

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

© Microsoft Corporation. All rights reserved.