Service Pack 4 Permits You to Remove the Service Pack by Using the Recovery Console (825062)



The information in this article applies to:

  • Microsoft Windows 2000 Advanced Server SP4
  • Microsoft Windows 2000 Professional SP4
  • Microsoft Windows 2000 Server SP4

SUMMARY

This article discusses the new service pack removal functionality that is included with Windows 2000 Service Pack 4 (SP4). This functionality permits you to remove SP4 by using the Windows Recovery Console.

MORE INFORMATION

If you click the Archive Files option in the Windows 2000 Service Pack 4 Setup Wizard during Windows 2000 SP4 installation, the following files are created in the C:\WINNT\$NtServicePackUninstall$\Spuninst folder (where C is the drive that Windows is installed on, and where WINNT is the folder that Windows is installed to):

Spuninst.bat
Spuninst.exe

Note The $NtServicePackUninstall$ folder is a hidden folder. To view hidden folders, follow these steps:
  1. Click Start, point to Settings, click Control Panel, and then double-click Folder Options.
  2. Click the View tab, click Show hidden files and folders, and then click OK.
If you remove SP4 by using the Add/Remove Programs tool in Control Panel, the Spuninst.exe file runs. However, if you cannot start Windows, you can remove SP4 by running Spuninst.bat from the Windows Recovery Console. To do this, follow these steps.

Important The removal of SP4 from the Recovery Console is intended for emergency use only, such as after an unsuccessful SP4 installation where Windows no longer starts. For the standard removal of SP4 in Windows, use the Add/Remove Programs tool in Control Panel.
  1. Start Windows by using the Recovery Console. To do this:
    1. Start your computer with the Windows Setup floppy disks or with the Windows CD-ROM.
    2. At the "Welcome to Setup" screen, press R to repair a Windows installation.
    3. Press C to start the Windows Recovery Console. Type the number for the Windows installation that you want to repair, and then press ENTER.
    4. Type the administrator password, and then press ENTER.

      Note If you do not have an administrator password, just press ENTER.
  2. Switch to the $NTServicePackUninstall$\Spuninst folder. To do this, type the following command, and then press ENTER:

    chdir $ntservicepackuninstall$\spuninst

    Note If you archived the service pack uninstall files to a different location during SP4 Setup, navigate to that folder location.
  3. Run the Spuninst.bat batch file. To do this, type the following command, and then press ENTER:

    spuninst.bat >

  4. When the Spuninst.bat batch file has successfully completed running, type exit, and then press ENTER to restart Windows.

    Note The Spuninst.bat file only copies the archived Windows files back to their original locations. You must complete the removal of the service pack by using the Add/Remove Programs tool in Control Panel. This restores the Windows registry settings that may have been changed by the service pack installation.
  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 are prompted to do so.


To make sure that a user does not inadvertently run the Spuninst.bat file in Windows, rename Spuninst.bat as Spuninst.txt. To do this, follow these steps:
  1. Start Windows Explorer. To do this, right-click Start, and then click Explore.
  2. On the Tools menu, click Folder Options.
  3. Click the View tab, click Show hidden files and folders, click to clear the Hide file extensions for known file types check box, and then click OK.
  4. Locate the following folder:

    C:\WINNT\$NtServicePackUninstall$\spuninst

  5. Right-click spuninst.bat, and then click Rename.
  6. Rename Spuninst.bat as Spuninst.txt.
  7. Quit Windows Explorer.

Modification Type:MajorLast Reviewed:6/30/2005
Keywords:kbinfo KB825062 kbAudEndUser kbAudITPRO