The information in this article applies to:
IMPORTANT: This article contains information about editing the registry. Before you edit the registry, make sure you understand how to restore it if a problem occurs. For information about how to do this, view the "Restoring the Registry" Help topic in Regedit.exe or the "Restoring a Registry Key" Help topic in Regedt32.exe. SUMMARYThis article describes how to perform a clean boot in Windows 95. MORE INFORMATIONThe following steps can help you to determine if the problem that you are experiencing is due to the real-mode configuration of your computer. This could include drivers that are loaded from your Config.sys and Autoexec.bat files.
If the clean boot of your real-mode configuration eliminates the issue, isolate the conflict with a terminate-and-stay-resident (TSR) or real-mode device driver using the Step-By-Step Confirmation function. Load Windows 95 by booting to a command prompt and starting Windows 95 by typing win, holding down the SHIFT key for the duration of the boot. This prevents any programs from loading automatically at startup. If the issue is resolved by preventing programs from loading at startup, investigate the following possible sources. The Winstart.bat FileThe Winstart.bat file is used to load TSRs that are required for Windows-based programs and are not needed in MS-DOS sessions.For additional information the Winstart.bat file, click the article number below to view the article in the Microsoft Knowledge Base: Q134402 Some TSRs Moved from Autoexec.bat to Winstart.bat During Setup The Startup GroupIf the issue is resolved by bypassing the Startup group, remove each of the programs from the Startup group individually to isolate the program that is causing the problem.The Run Key in the RegistryWARNING: Using Registry Editor incorrectly can cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk.For information about how to edit the registry, view the "Changing Keys and Values" Help topic in Registry Editor (Regedit.exe) or the "Add and Delete Information in the Registry" and "Edit Registry Data" Help topics in Regedt32.exe. Note that you should back up the registry before you edit it. If you are running Windows NT, you should also update your Emergency Repair Disk (ERD). You can prevent programs from loading by removing the program's string from the following registry key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunPrograms may also be loading from the following registry key: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run The Win.ini FileThe "load=" and "run=" lines in the [Windows] section of the file can start programs automatically. See the following section for more information.Test Windows Configuration FilesTo test the Windows configuration files, use the following steps:
ren c:\windows\win.ini *.bak ren c:\windows\system.ini *.bak copy c:\windows\system.cb c:\windows\system.iniNOTE: Starting Windows 95 with the System.cb file does not load a driver for the mouse. Edit the new System.ini file, adding the following lines: [386Enh] Q140441 Creating a New System.ini File Without Third-Party Drivers Protected-Mode Device DriversSafe mode disables all protected-mode device drivers for Windows 95. You can conduct testing for incompatible components and resource conflicts by disabling the protected-mode device drivers in Device Manager.Removing Protected-Mode Device Drivers to Isolate Conflicts
NOTE: If you have enabled hardware profiles, there is a check box for each of the configurations. Clear the check box for the hardware profile you are troubleshooting. Q133240 Troubleshooting Device Conflicts with Device ManagerIf you determine that a Windows 95 protected-mode device driver is incompatible with your hardware, contact the hardware manufacturer to determine the availability of new drivers. Changing the Video Driver to a Standard VGA Display DriverNOTE: If you followed the directions in the "Removing Protected-Mode Drivers to Isolate Conflicts" section of this article, you changed the display driver to VGA and you can skip to the next section. Disabling the display adapter sets your video to the VGA driver.Safe mode starts Windows 95 with the VGA display driver. To determine if the issue you are experiencing is related to your video driver, change to the VGA driver for testing purposes. NOTE: To ensure a safe return to your previous configuration, use the following steps:
Registry DamageWhen you start Windows 95 in Safe mode the registry is read minimally. Damage to the registry may not be evident when running in Safe mode; you may need to replace the existing registry (System.dat) with a backup to determine if the issue is caused by a damaged registry. To troubleshoot a damaged registry, use the following steps:
c:\windows\command\attrib -h -s -r c:\system.1st c:\windows\command\attrib -h -s -r c:\windows\system.dat ren c:\windows\system.dat *.dax copy c:\system.1st c:\windows\system.dat If replacing the System.dat file with the System.1st file resolves the issue, the problem may be related to registry damage. Programs and device drivers added after you installed Windows 95 may require reinstallation to update the new registry. If the issue is not resolved, restore the original registry using the following steps:
c:\windows\command\attrib -s -h -r c:\windows\system.datNOTE: Overwrite the existing System.dat file if you are prompted to do so. Q139437 Windows 95 Emergency Recovery Utility Q135120 Configuration Backup Tool for Backing Up the Registry What to Do if the Problem PersistsIf the troubleshooting steps outlined in this article do not resolve the issue, the issue may be related to one or more of the following items:
If you have enough free disk space, install Windows 95 to an empty folder (such as a Win95 folder). For information about how to do so, see the following article in the Microsoft Knowledge Base: Q142096 How to Reinstall Windows 95 to a New FolderIf this resolves the issue, your previous installation may have included components incompatible with Windows 95. Additional query words:
Keywords : kbenv kbtshoot win95 |
Last Reviewed: January 7, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |