Microsoft KB Archive/839517

From BetaArchive Wiki

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:

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

      Note If you do not have an administrator password, just press ENTER.
  2. 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.
  3. 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.
  4. After you run the Spuninst.bat batch file successfully, type exit at the command prompt, and then press ENTER to restart Windows.
  5. Use one of the following methods to complete the repair process, depending on whether Windows restarts as expected:
    • If Windows restarts as expected, follow these steps:
      1. Log on to Windows.
      2. Click Start, point to Settings, click Control Panel, and then double-click Add/Remove Programs.
      3. In the Currently installed programs list, click Windows 2000 Service Pack 4, and then click Change/Remove.
      4. Follow the steps in the Windows 2000 Service Pack 4 Removal Wizard to completely remove the service pack.
      5. Restart the computer when you receive a message to do so.
    • If Windows does not restart as expected, follow these steps:
      1. Verify whether Windows 2000 Hotfix - KB824141 is installed. To do this, follow these steps:
        1. Start your computer by using the Windows 2000 Server Setup floppy disks or by using the Windows 2000 Server CD-ROM.
        2. When the Welcome to Setup screen appears, press R to repair a Windows installation.
        3. Press C to start Windows Recovery Console.
        4. Type the number for the Windows installation that you want to repair, and then press ENTER.
        5. Type the administrator password, and then press ENTER.

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

          dir

        7. Verify whether the $ntuninstallKB824141$ folder is listed in the output:
          • If the $ntuninstallKB824141$ folder is listed, go to step b.
          • 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.
      2. 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

      3. 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.
      4. After you run the Spuninst.bat batch file successfully, type exit at the command prompt, and then press ENTER to restart Windows.
      5. Log on to Windows.
      6. Click Start, point to Settings, click Control Panel, and then double-click Add/Remove Programs.
      7. In the Currently installed programs list, click Windows 2000 Service Pack 4, and then click Change/Remove.
      8. Follow the steps in the Windows 2000 Service Pack 4 Removal Wizard to completely remove the service pack.
      9. Restart the computer when you receive a message to do so.
      10. Repeat steps e through i to remove Windows 2000 Hotfix - KB824141.
  6. Reinstall Windows 2000 Server SP4.
  7. Reapply Windows 2000 Hotfix - KB824141.

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:

  1. 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

  2. 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.
  3. Verify whether the modified date for the Winsrv.dll file and for the Basesrv.dll file is 6/19/2003:
    • 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.
    • 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.
  4. 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.
  5. 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:
    1. Log on to Windows by using the parallel installation.
    2. Copy the Userenv.dll file in the %SystemRoot%\System32 folder of the parallel installation to the %SystemRoot%\System32 folder of the original installation.
    3. Restart the computer, and then log on to Windows in the original installation.
  6. 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.
  7. Reinstall Windows 2000 Server SP4.

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 <Computername> is not available


Keywords: kbprb kbwinservsetup KB839517