Microsoft KB Archive/839517

= You may receive a &quot;Stop: c0000135 {Unable to Locate DLL}&quot; error message when you install Windows 2000 Server Service Pack 4 =

Article ID: 839517

Article Last Modified on 10/30/2006

-

APPLIES TO


 * Microsoft Windows 2000 Advanced Server
 * Microsoft Windows 2000 Advanced Server
 * Microsoft Windows 2000 Advanced Server
 * Microsoft Windows 2000 Advanced Server
 * Microsoft Windows 2000 Server
 * Microsoft Windows 2000 Service Pack 1
 * Microsoft Windows 2000 Service Pack 2
 * Microsoft Windows 2000 Service Pack 3

-





SUMMARY
''When you install Microsoft Windows 2000 Server Service Pack 4 (SP4) on a Windows 2000 Server-based computer, and then you restart your computer, you may experience a Stop error.

This problem occurs because the service pack does not update some operating system files that the computer uses to start.

This article describes two possible methods that you can use to resolve this problem. The first method explains how to use Recovery Console to remove Windows 2000 Server SP4 manually. The second method explains how to use a Windows 2000 parallel installation to remove Windows 2000 Server SP4.''



SYMPTOMS
When you install Windows 2000 Server Service Pack 4 (SP4) on a Windows 2000 Server-based computer, and then you restart the computer, you may receive the following Stop error message:

Stop: c0000135 {Unable to Locate DLL}

The dynamic link library winsrv.dll could not be found in the specified path Default Load Path.



CAUSE
This error may occur if one of the following is true:
 * The Winsrv.dll file or the Basesrv.dll file is missing from the %SystemRoot%\System32 folder.
 * The Winsrv.dll file or the Basesrv.dll file is not updated when you install Windows 2000 Server SP4.
 * You have applied the security update that is mentioned in Microsoft Knowledge Base (KB) article 824141. This security update may cause this error if Windows 2000 Server SP4 is not installed correctly.
 * If both the Winsrv.dll file and the Basesrv.dll file exist, the software hive may have become corrupted. Therefore, the software hive cannot load.



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

Method 1: Use Recovery Console to remove Windows 2000 Server SP4 manually.
If you selected the option to archive Windows 2000 Server SP4 uninstall files when you installed Windows 2000 Server SP4, you can remove Windows 2000 Server SP4 by using Recovery Console.

Important This method is intended for emergency use only. For example, you can use this method if the Windows 2000 Server SP4 installation process was not successful and Windows no longer starts. In Windows, the standard method to remove Windows 2000 Server SP4 is to use the Add/Remove Programs tool in Control Panel.

To remove Windows 2000 Server SP4 by using Recovery Console, follow these steps:  Start Windows in the Recovery Console. To do this, follow these steps:  Start your computer by using the Windows 2000 Server Setup floppy disks or by using the Windows 2000 Server CD-ROM. When the Welcome to Setup screen appears, press R to repair a Windows installation. Press C to start Windows Recovery Console. Type the number for the Windows installation that you want to repair, and then press ENTER. Type the administrator password, and then press ENTER.

Note If you do not have an administrator password, just press ENTER.</li></ol> </li> Change the folder from %SystemRoot% to %SystemRoot%\$NTServicePackUninstall$\spuninst. To do this, type the following command at the command prompt, and then press ENTER:

cd $ntservicepackuninstall$\spuninst

Note If you archived the service pack uninstall files to a different location when you ran the Windows 2000 Server SP4 Setup program, change the folder to that folder.</li> Run the Spuninst.bat batch file. To do this, type the following command at the command prompt, and then press ENTER:

batch spuninst.bat

Note The Spuninst.bat file only copies the archived Windows files back to their original locations. You must complete the removal process for the service pack by using the Add/Remove Programs tool in Control Panel. The Add/Remove Programs tool restores the Windows registry settings that may have changed when you installed the service pack.</li> After you run the Spuninst.bat batch file successfully, type exit at the command prompt, and then press ENTER to restart Windows.</li> Use one of the following methods to complete the repair process, depending on whether Windows restarts as expected: <ul> If Windows restarts as expected, follow these steps: <ol style="list-style-type: lower-alpha;"> Log on to Windows.</li> Click Start, point to Settings, click Control Panel, and then double-click Add/Remove Programs.</li> In the Currently installed programs list, click Windows 2000 Service Pack 4, and then click Change/Remove.</li> Follow the steps in the Windows 2000 Service Pack 4 Removal Wizard to completely remove the service pack.</li> Restart the computer when you receive a message to do so.</li></ol> </li> If Windows does not restart as expected, follow these steps: <ol style="list-style-type: lower-alpha;"> Verify whether Windows 2000 Hotfix - KB824141 is installed. To do this, follow these steps: <ol> Start your computer by using the Windows 2000 Server Setup floppy disks or by using the Windows 2000 Server CD-ROM.</li> When the Welcome to Setup screen appears, press R to repair a Windows installation.</li> Press C to start Windows Recovery Console.</li> <li>Type the number for the Windows installation that you want to repair, and then press ENTER.</li> <li>Type the administrator password, and then press ENTER.

Note If you do not have an administrator password, just press ENTER.</li> <li>At the command prompt, type the following command, and then press ENTER:

dir

</li> <li>Verify whether the $ntuninstallKB824141$ folder is listed in the output: <ul> <li>If the $ntuninstallKB824141$ folder is listed, go to step b.</li> <li>If the $ntuninstallKB824141$ folder is not listed, use the Add/Remove Programs tool in Control Panel to remove Windows 2000 Hotfix - KB824141, and then go to step e.</li></ul> </li></ol> </li> <li>Use the cd command to access the %SystemRoot%\$ntuninstallKB824141$\spuninst folder. To do this, type the following command, and then press ENTER:

cd $ntuninstallKB824141$\spuninst

</li> <li>Run the Spuninst.bat batch file. To do this, type the following command at the command prompt, and then press ENTER:

batch spuninst.bat

Note The Spuninst.bat file only copies the archived Windows files back to their original locations. You must complete the removal process for Windows 2000 Hotfix - KB824141 by using the Add/Remove Programs tool in Control Panel. The Add/Remove Programs tool restores the Windows registry settings that may have changed when you applied the security update.</li> <li>After you run the Spuninst.bat batch file successfully, type exit at the command prompt, and then press ENTER to restart Windows.</li> <li>Log on to Windows.</li> <li>Click Start, point to Settings, click Control Panel, and then double-click Add/Remove Programs.</li> <li>In the Currently installed programs list, click Windows 2000 Service Pack 4, and then click Change/Remove.</li> <li>Follow the steps in the Windows 2000 Service Pack 4 Removal Wizard to completely remove the service pack.</li> <li>Restart the computer when you receive a message to do so.</li> <li>Repeat steps e through i to remove Windows 2000 Hotfix - KB824141.</li></ol> </li></ul> </li> <li>Reinstall Windows 2000 Server SP4.</li> <li>Reapply Windows 2000 Hotfix - KB824141.</li></ol>

Method 2: Use a Windows 2000 parallel installation to remove Windows 2000 Server SP4.
If you did not select the option to archive Windows 2000 Server SP4 uninstall files when you installed Windows 2000 Server SP4, follow these steps: <ol> <li>Perform a Windows 2000 Server parallel installation.

For additional information about how to perform a Windows 2000 parallel installation, click the following article number to view the article in the Microsoft Knowledge Base:

266465 HOW TO: Perform a parallel installation of Windows 2000

</li> <li>In the parallel Windows 2000 installation, locate the Winsrv.dll file and the Basesrv.dll file. In the original installation, these files are located in the %SystemRoot%\System32 folder.</li> <li>Verify whether the modified date for the Winsrv.dll file and for the Basesrv.dll file is 6/19/2003: <ul> <li>If the modified date for both the Winsrv.dll file and the Basesrv.dll file is not 6/19/2003, you must install Windows 2000 Server SP4 in the Windows 2000 Server parallel installation.</li> <li>If the modified date for both the Winsrv.dll file and the Basesrv.dll file is 6/19/2003, you must repair your original Windows 2000 Server installation. After you have repaired your original Windows 2000 Server installation, go to step 4.</li></ul> </li> <li>After you have installed Windows 2000 Server SP4 in the Windows 2000 Server parallel installation, copy the Winsrv.dll file and the Basesrv.dll file in the %SystemRoot%\System32 folder of the parallel installation to the %SystemRoot%\System32 folder of the original installation.</li> <li>Restart the computer, and then log on to Windows in the original installation.

Note When you log on to Windows in the original installation, you may notice that your desktop is blank. If your desktop is blank, follow these steps: <ol style="list-style-type: lower-alpha;"> <li>Log on to Windows by using the parallel installation.</li> <li>Copy the Userenv.dll file in the %SystemRoot%\System32 folder of the parallel installation to the %SystemRoot%\System32 folder of the original installation.</li> <li>Restart the computer, and then log on to Windows in the original installation.</li></ol> </li> <li>If you have installed any antivirus programs, disable them. You must disable your antivirus programs because they may cause problems when you install Windows 2000 Server SP4.</li> <li>Reinstall Windows 2000 Server SP4.</li></ol>

If you cannot start your computer after you try these methods, your software hive file may have become corrupted. Your software hive file is located in the %SystemRoot%\System32\Config folder. If the software hive file has become corrupted, use the backup copy of the software hive file to replace the existing software hive file. The backup copy of the software hive file is located in the %System Root%\Repair folder. You must use Recovery Console to replace the software hive file.

For additional information about how to replace the software hive file by using Recovery Console, click the following article number to view the article in the Microsoft Knowledge Base:

244671 Error Message: System cannot log you on because Domain &amp;amp;lt;Computername&amp;amp;gt; is not available

Keywords: kbprb kbwinservsetup KB839517

-

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

© Microsoft Corporation. All rights reserved.