Multimedia: Troubleshooting Using Clean Boot of Windows 95

ID: q177604


The information in this article applies to:
  • Microsoft Bookshelf 2000
  • Microsoft Bookshelf 99
  • Microsoft Bookshelf 98 for Windows
  • Microsoft Bookshelf 1996-97 for Windows
  • Microsoft Bookshelf '95 for Windows 95
  • Microsoft Combat Flight Simulator: WWII Europe Series, version 1.0
  • Microsoft Encarta Encyclopedia 2000
  • Microsoft Encarta Encyclopedia 99
  • Microsoft Encarta 98 Encyclopedia for Windows
  • Microsoft Encarta Encyclopedia for Windows 1997 Deluxe edition
  • Microsoft Encarta Encyclopedia for Windows 1997 Standard edition
  • Microsoft Encarta Encyclopedia for Windows, 1996 edition
  • Microsoft Encarta for Windows, 1992, 1993, 1994, and 1995 editions
  • Microsoft Encarta Reference Suite 2000
  • Microsoft Encarta Reference Suite 99
  • Microsoft Encarta World Atlas 2000
  • Microsoft Encarta Virtual Globe 99, version 1.0
  • Microsoft Encarta World English Dictionary 2000
  • Microsoft Flight Simulator 98
  • Microsoft Flight Simulator for Windows 95, version 1.0
  • Microsoft Windows 95

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.

SUMMARY

This article describes how to start Windows 95 without loading any unnecessary terminate-and-stay-resident (TSR) programs or device drivers (this is called a "clean boot"). You can clean boot Windows to troubleshoot problems you may experience with programs that cannot run in Safe mode because Safe mode does not meet the program's minimum system requirements. A program cannot run in Safe mode if the program requires 256 colors, a CD-ROM drive, or any other feature that Safe mode does not support.

NOTE: When you experience a problem with a program that can run in Safe mode, use Safe mode to troubleshoot the issue.


MORE INFORMATION

To use a clean boot of Windows 95 to troubleshoot an issue, use the following methods, starting with the "Clean Boot the Computer" method.

Clean Boot the Computer

To clean boot the computer:

  1. Empty the StartUp folder. To do this, follow these steps:


    1. Right-click Start, and then click Open.


    2. Double-click the Programs folder.


    3. Double-click the StartUp folder.


    4. On the Edit menu, click Select All.


    5. On the Edit menu, click Cut.


    6. Close all open windows.


    7. Right-click an empty area on the desktop, point to New, and then click Folder.


    8. Type StartUp Items, and then press ENTER.


    9. Double-click the StartUp Items folder.


    10. On the Edit menu, click Paste.


    11. Close the StartUp Items window.


  2. Empty the Run Keys in the Registry

    WARNING: 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).

    Use Registry Editor to save a registry backup file for each of the Run keys in the Windows registry, and then delete all value settings except the (Default) value setting in each of the Run keys.

    The following table shows the Run keys in the Windows registry that you need to empty, along with suggested file names for the registry backup files:


  3. 
          File Name                  Registry Key
          -----------------------------------------------------------------
    
          HKLM-Run.reg               HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ 
                                     Windows\CurrentVersion\Run
    
          HKLM-RunOnce.reg           HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ 
                                     Windows\CurrentVersion\RunOnce
    
          HKLM-RunOnceEx.reg         HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ 
                                     Windows\CurrentVersion\RunOnceEx
    
          HKLM-RunServices.reg       HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ 
                                     Windows\CurrentVersion\RunServices
    
          HKLM-RunServicesOnce.reg   HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ 
                                     Windows\CurrentVersion\RunServicesOnce
    
          HKCU-Run.reg               HKEY_CURRENT_USER\SOFTWARE\Microsoft\ 
                                     Windows\CurrentVersion\Run
    
          HKCU-RunOnce.reg           HKEY_CURRENT_USER\SOFTWARE\Microsoft\ 
                                     Windows\CurrentVersion\RunOnce
    
          HKCU-RunOnceEx.reg         HKEY_CURRENT_USER\SOFTWARE\Microsoft\ 
                                     Windows\CurrentVersion\RunOnceEx
    
          HKCU-RunServices.reg       HKEY_CURRENT_USER\SOFTWARE\Microsoft\ 
                                     Windows\CurrentVersion\RunServices
    
          HKCU-RunServicesOnce.reg   HKEY_CURRENT_USER\SOFTWARE\Microsoft\ 
                                     Windows\CurrentVersion\RunServicesOnce 


  4. Rename the Winstart.bat file if it exists. This file loads terminate-and-stay-resident (TSR) programs that are required by some Windows-based programs. This file is not required by Windows 95, and may not exist on the computer. To rename the Winstart.bat file, follow these steps:


    1. Click Start, point to Find, and then click Files Or Folders.


    2. In the Named box, type winstart.bat, and then click Find Now.


    3. In the list of found files, right-click the Winstart.bat file, click Rename, type winstart.pss, and then press ENTER.


    4. Close the Find: Files Named Winstart.bat window.


    5. For additional information about the Winstart.bat file, please see the following article in the Microsoft Knowledge Base:
      Q134402 Some TSRs Moved from Autoexec.bat to Winstart.bat During Setup
  5. Modify the Autoexec.bat and Config.sys files.

    The Autoexec.bat and Config.sys files are present for compatibility with MS-DOS programs, and load when Windows 95 starts. These files can load TSR programs and device drivers that may adversely affect the performance of other programs.

    NOTE: If the Autoexec.bat file or Config.sys file is extremely large or complex, you can skip this step and then repeat Step 3 to rename the Autoexec.bat file to Autoexec.pss and rename the Config.sys file to Config.pss.


    1. Click Start, and then click Run.


    2. In the Open box, type sysedit, and then click OK.


    3. In the Autoexec.bat window, type rem, and then press the SPACEBAR at the beginning of each line in the file. You may need to scroll down to see all of the lines in the file.


    4. When you finish modifying the Autoexec.bat file, on the File menu, click Save.


    5. In the Config.sys window, type rem, and then press the SPACEBAR at the beginning of each line in the file. You may need to scroll down to see all of the lines in the file.


    6. When you finish modifying the Config.sys file, on the File menu, click Save.


  6. Disable the Load= and Run= lines in the Win.ini file. To do this, follow these steps:


    1. In the Win.ini window in System Configuration Editor, locate the [Windows] section.


    2. Under [Windows], type a SEMICOLON (;) at the beginning of each of the Load= and Run= lines.


    3. On the File menu, click Save.


  7. Disable any non-standard entries in the [boot] section of the System.ini file. To do this:


    1. In the System.ini window in System Configuration Editor, locate the [boot] section of the System.ini file.


    2. In the [boot] section, locate the following line:

      
      system.drv=system.drv
       
      If you do not see this line, you may see the following lines:

      
      system.drv=atmsys.drv
      atm.sys.drv=system.drv
       
      If you see these lines, type a semicolon (;) at the beginning of each line, press END, press ENTER, and then type system.drv=system.drv.


    3. In the [boot] section, verify that each of the following lines are present:

      
      shell=Explorer.exe
      mouse.drv=mouse.drv
      keyboard.drv=keyboard.drv
       
      If on of these lines in the file does not match the corresponding line in the list exactly, type a SEMICOLON (;) at the beginning of the line, press END, press ENTER, and then type the line exactly as it appears in the list.


    4. In the [boot] section of the System.ini file, locate the following line:

      
      display.drv=pnpdrvr.drv
       
      If the display.drv= line is not identical to this line, contact your hardware manufacturer to inquire about how to obtain the latest Windows 95 version of the driver for your video adapter.

      IMPORTANT: Do not change this line in the System.ini file!


    5. On the File menu, click Save.


    6. Quit System Configuration Editor.


  8. Restart the computer and then run the program to determine if the issue is resolved.

    If the issue is resolved, proceed to the "Isolate the Conflicting Component" method.

    If the issue continues to occur, proceed to the "Troubleshoot the System.ini File" method.

    If Windows does not start, or if the program requires a component that no longer starts when you start Windows, proceed to the next method.


Restore Required Windows Components

In some cases, Windows may require a component in the Autoexec.bat or Config.sys file to start or to use the CD-ROM drive.

If Windows does not start, follow these steps to restart the computer to a command prompt:

  1. Press CTRL+ALT+DELETE to restart the computer.


  2. When you see the "Starting Windows 95" message, press the F8 key


  3. On the Startup menu, select Command Prompt Only, and then press ENTER.


  4. At the command prompt, type cd\, and then press ENTER.


If Windows starts, but does not recognize the CD-ROM drive, restart the computer to a command prompt. To do this:

  1. Click Start, and then click Shut Down.


  2. Click Restart the Computer, and then click OK.


  3. When you see the "Starting Windows 95" message, press the F8 key.


  4. On the Startup menu, select Command Prompt Only, and then press ENTER.


  5. At the command prompt, type cd\, and then press ENTER.


If you know the component that Windows requires, you can either edit the appropriate startup file, or create a new copy of the file that starts only the required component.

To restore the required component(s) in the Autoexec.bat and Config.sys files:

  1. At the command prompt, type edit autoexec.bat, and then press ENTER.


  2. Locate the line that starts the required component.

    NOTE: If you need to load MS-DOS drivers for your CD-ROM drive, restore the line that loads the Mscdex.exe file, and then note the drive name that follows the /D: switch on that line.


  3. At the beginning of the line, press DELETE four times to erase "rem" and the blank space that follows it.

    Repeat this step to restore each line in the file that starts a required component.


  4. Press ALT+F, and then press S.


  5. Press ALT+F, and then press O.


  6. Type config.sys, and then press ENTER.


  7. Locate the line that starts the required component.

    NOTE: To locate the line that loads the MS-DOS CD-ROM driver, press ALT+S, press F, type the drive name you noted in step 2, and then press ENTER. To move to the beginning of this line, press HOME.


  8. At the beginning of the line, press DELETE four times to erase "rem" and the blank space that follows it.

    Repeat this step to restore each line in the file that starts a required component.


  9. Press ALT+F, and then press X. When you are prompted to save the changes, press Y.


  10. Press CTRL+ALT+DELETE to restart the computer.


To create new copies of the Autoexec.bat and Config.sys files that contain only the required lines:

  1. At the command prompt, type edit autoexec.pss, and then press ENTER.


  2. In the Autoexec.pss file, delete all lines except the required line(s).

    NOTE: If you need to load MS-DOS drivers for your CD-ROM drive, restore the line that loads the Mscdex.exe file, and then note the drive name that follows the /D: switch on that line.


  3. Press ALT+F, and then press A.


  4. Type autoexec.bat, and then press ENTER.


  5. Press ALT+F, and then press O.


  6. Type config.pss, and then press ENTER.


  7. In the Config.pss file, delete all lines except the required line(s).

    NOTE: To locate the line that loads the MS-DOS CD-ROM driver, press ALT+S, press F, type the drive name you noted in step 2, and then press ENTER.


  8. Press ALT+F, and then press A.


  9. Type config.sys, and then press ENTER.


  10. Press ALT+F, and then press X.


  11. Press CTRL+ALT+DELETE to restart the computer.


If you do not know the component that Windows requires, restore the Autoexec.bat and Config.sys files to their original conditions. After you restore the files to their original conditions, contact your computer manufacturer or your hardware documentation to determine the components that Windows requires.

If you renamed the Autoexec.bat and Config.sys files, follow these steps to restore them:

  1. At the command prompt, type ren autoexec.pss autoexec.bat, and then press ENTER.


  2. At the command prompt, type ren config.pss config.sys, and then press ENTER.


  3. Press CTRL+ALT+DEL to restart the computer.


If you modified the Autoexec.bat and Config.sys files, follow these steps to restore them to their original conditions:

  1. At the command prompt, type edit autoexec.bat, and then press ENTER.


  2. At the beginning of the first line, press DELETE four times to erase "rem" and the blank space that follows it.


  3. Press DOWN ARROW to move to the next line.


  4. Repeat steps 2-3 to restore each line in the Autoexec.bat file.


  5. Press ALT+F, and then press S.


  6. Press ALT+F, and then press O.


  7. Type config.sys, and then press ENTER.


  8. At the beginning of the first line, press DELETE four times to erase "rem" and the blank space that follows it.


  9. Press DOWN ARROW to move to the next line.


  10. Repeat steps 8-9 to restore each line in the Config.sys file.


  11. Press ALT+F, and then press X. When you are prompted to save the changes, press Y.


  12. Press CTRL+ALT+DELETE to restart the computer.


NOTE: If you have a SCSI CD-ROM drive and these steps do not restore the CD-ROM drive, please see your hardware documentation or contact your hardware manufacturer for information about how to configure the MS-DOS drivers for the CD-ROM drive.

Troubleshoot the System.ini File

To troubleshoot the System.ini file, follow these steps:

  1. Restart the computer to an MS-DOS prompt.


  2. At the command prompt, type the following lines, pressing ENTER after each line:


  3. cd \windows
    ren system.ini system.pss
    copy system.cb system.ini
    edit system.ini
  4. Locate the [boot] section of the System.ini file.


  5. In the [boot] section, type the following lines, pressing ENTER after each line:


  6. drivers=mmsystem.dll
    mouse.drv=mouse.drv
  7. Locate the [386Enh] section of the System.ini file.


  8. In the [386Enh] section, type the following line, and then press ENTER:


  9. mouse=*vmouse, msmouse.vxd
  10. Press ALT+F, and then press X. When you are prompted to save the changes, press Y.


  11. Restart the computer.


  12. Start the program.

    If the issue is resolved, the cause of the problem is probably a line in the [boot] or [386Enh] section of the original System.ini file. Restore the original System.ini file to troubleshoot the problem.


  13. For additional information about the System.ini file and its default entries, please see the following article(s) in the Microsoft Knowledge Base:
    Q140441 Creating a New System.ini File Without Third-Party Drivers

Isolate the Cause

If you resolve the issue using a clean boot of Windows 95, restore your startup files, registry keys, and StartUp folder one at a time to isolate the cause of the issue.

After you identify the startup file, registry key, or folder that causes the issue, repeat the steps in the "Clean Boot the Computer" method to disable the appropriate lines, value settings, or shortcuts, and then restore them one at a time to isolate the component, driver, or program that causes the issue.

After you identify the component, driver, or program that causes the issue, contact the manufacturer of the component, driver or program for information about how to resolve or work around the issue. If a device driver causes the issue, contact the manufacturer of the device to inquire about how to obtain and install the most recent version of the driver.

Additional query words: multi media multi-media mm clean-boot safe-mode tshoot

Keywords : kbenv kbtshoot kbimu
Version : WINDOWS:1.0,95; :
Platform : WINDOWS
Issue type : kbhowto


Last Reviewed: July 27, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.