Problem solve Get help with specific problems with your technologies, process and projects.

Removing SPs and hotfixes that leave Win2k unbootable

How to remove Service Packs and hotfixes that leave Windows 2000 unbootable.

Windows 2000, Windows XP and Windows 2003 Service Packs and hotfixes are usually designed to fix problems, not aggravate them. Unfortunately, some hotfix or Service Pack installations have been known to damage a system to the point where it will not boot correctly. There are a plethora of reasons for this -- for instance, a mismatch between patched and existing components or damage to the Registry for some reason other than the application of the Service Pack of hotfix.

If a system has been left unbootable due to a Service Pack or hotfix, the first course of action would be to boot to Safe Mode and remove the SP or hotfix. But sometimes even Safe Mode is not accessible, and even the "Boot from Last Known Good configuration" does not work. In cases like this, the best next step (short of a repair operation or a parallel install) is to use the Recovery Console to manually restore the files that were replaced by the Service Pack or hotfix.

Here is the procedure:

  1. Boot the Windows CD-ROM.
  2. At the welcome screen, select R to start the Recovery Console. (In Windows 2000, you can press F10 at the "Welcome" screen when booting from the CD to go to the Recovery Console.)
  3. Select the installation of Windows to access and type the administrator password.
  4. Enter the Windows directory (usually C:WINDOWS or C:WINNT).
  5. Enter the $NtServicePackUninstall$ subdirectory if you are removing a Service Pack. If you are removing a hotfix, the directory name will be $NtUninstallKBXXXXXX$ or $NtUninstallQXXXXXX$, with XXXXXX being the number of the hotfix in question. Note that these are all hidden directories.
  6. Within the hotfix or Service Pack Uninstall directory is another subdirectory, spuninst (also hidden). This directory contains a batch file, spuninst.bat.
  7. Use the command batch spuninst.bat to run the batch file. This should manually replace the files changed by the service pack or hotfix with backups of the originals.
  8. Reboot the machine and select Safe Mode. (If Windows still does not boot at this point, the Registry itself may be damaged and must be manually recovered.)
  9. Remove the service pack from the Add/Remove Programs control panel. This makes the needed changes in the Registry to indicate to the machine that the patch in question is not installed.

Serdar Yegulalp is the editor of the Windows 2000 Power Users Newsletter. Check out his Windows 2000 blog for his latest advice and musings on the world of Windows network administrators – please share your thoughts as well!

Dig Deeper on Windows client management

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.