Troubleshooting by Using the Last Known Good Configuration
Windows NT provides two configurations in which you can start your computer:
- Default, the configuration that was saved when you shutdown the computer.
- Last Known Good, the configuration that was saved when you last logged on to your computer.
The configurations are stored as control sets in the Registry key HKEY_LOCAL_MACHINE\SYSTEM. If you made changes to your configuration when you were last logged on, such as adding drivers, changing services, or changing hardware, the two control sets will contain different information. As soon as you log on however, the information in these control sets will be the same. Therefore, if you are having problems with startup, and think the problems might be related to changes in your configuration, do not log on. Instead, shutdown the computer and restart it. Then, select Last Known Good from the Hardware Profile/Last Known Good menu to recover from the following types of problems:
- You install a new device driver, restart Windows NT, and the system stops responding. The Last Known Good control set enables you to startup because it does not contain any reference to the new, faulty driver.
- You install a new video driver and are able to restart the system. However, you cannot see anything, because the new video resolution is incompatible with your video adapter. Do not try to log on. If you have the option to shutdown the computer without logging on, do so. If that option is not available, you need to restart your computer by turning it off or using the reset button. Wait for all disk activity to stop before you initiate the restart, especially if the computer has FAT volumes.
- You accidentally disable a critical device driver (such as the Scsiport driver). Windows NT is not be able to start and automatically reverts to the Last Known Good control set.
Using the Last Known Good control set does not help in the following situations:
- Any problem that is not related to changes in control set information, such as information like user profiles and file permissions.
- After you logged on after making changes. Here, the Last Known Good control set has already been updated to include the changes.
- Switching between different hardware profiles, such as docked and undocked laptops. The Last Known Good control set is only a method to switch between configuration information in the Registry. Use Hardware Profiles for this.
- Startup failures caused by hardware failures or corrupted files.
- Copying a new driver over the top of an old one, and the old one is already active.
For more information about hardware profiles and control sets, see Chapter 19, "What Happens When You Start Your Computer." Chapter 36, "General Troubleshooting," contains more details about troubleshooting by using the Registry key HKEY_LOCAL_MACHINE.