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:
- Empty the StartUp folder. To do this, follow these steps:
- Right-click Start, and then click Open.
- Double-click the Programs folder.
- Double-click the StartUp folder.
- On the Edit menu, click Select All.
- On the Edit menu, click Cut.
- Close all open windows.
- Right-click an empty area on the desktop, point to New,
and then click Folder.
- Type StartUp Items, and then press ENTER.
- Double-click the StartUp Items folder.
- On the Edit menu, click Paste.
- Close the StartUp Items window.
- 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:
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
- 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:
- Click Start, point to Find, and then click Files
Or Folders.
- In the Named box, type winstart.bat,
and then click Find Now.
- In the list of found files, right-click the Winstart.bat
file, click Rename, type winstart.pss,
and then press ENTER.
- Close the Find: Files Named Winstart.bat window.
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
- 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.
- Click Start, and then click Run.
- In the Open box, type sysedit, and
then click OK.
- 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.
- When you finish modifying the Autoexec.bat file, on the
File menu, click Save.
- 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.
- When you finish modifying the Config.sys file, on the File
menu, click Save.
- Disable the Load= and Run= lines in the Win.ini file. To do this,
follow these steps:
- In the Win.ini window in System Configuration
Editor, locate the [Windows] section.
- Under [Windows], type a SEMICOLON (;) at the beginning of each of
the Load= and Run= lines.
- On the File menu, click Save.
- Disable any non-standard entries in the [boot] section of the
System.ini file. To do this:
- In the System.ini window in System Configuration
Editor, locate the [boot] section of the System.ini file.
- 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.
- 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.
- 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!
- On the File menu, click Save.
- Quit System Configuration Editor.
- 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:
- Press CTRL+ALT+DELETE to restart the computer.
- When you see the "Starting Windows 95" message, press the F8 key
- On the Startup menu, select Command Prompt Only, and
then press ENTER.
- 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:
- Click Start, and then click Shut Down.
- Click Restart the Computer, and then click OK.
- When you see the "Starting Windows 95" message, press the F8 key.
- On the Startup menu, select Command Prompt Only, and
then press ENTER.
- 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:
- At the command prompt, type edit autoexec.bat,
and then press ENTER.
- 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.
- 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.
- Press ALT+F, and then press S.
- Press ALT+F, and then press O.
- Type config.sys, and then press ENTER.
- 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.
- 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.
- Press ALT+F, and then press X. When you are prompted to save the
changes, press Y.
- 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:
- At the command prompt, type edit autoexec.pss,
and then press ENTER.
- 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.
- Press ALT+F, and then press A.
- Type autoexec.bat, and then press ENTER.
- Press ALT+F, and then press O.
- Type config.pss, and then press ENTER.
- 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.
- Press ALT+F, and then press A.
- Type config.sys, and then press ENTER.
- Press ALT+F, and then press X.
- 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:
- At the command prompt, type ren autoexec.pss
autoexec.bat, and then press ENTER.
- At the command prompt, type ren config.pss
config.sys, and then press ENTER.
- 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:
- At the command prompt, type edit
autoexec.bat, and then press ENTER.
- At the beginning of the first line, press DELETE four times to erase
"rem" and the blank space that follows it.
- Press DOWN ARROW to move to the next line.
- Repeat steps 2-3 to restore each line in the Autoexec.bat file.
- Press ALT+F, and then press S.
- Press ALT+F, and then press O.
- Type config.sys, and then press ENTER.
- At the beginning of the first line, press DELETE four times to erase
"rem" and the blank space that follows it.
- Press DOWN ARROW to move to the next line.
- Repeat steps 8-9 to restore each line in the Config.sys file.
- Press ALT+F, and then press X. When you are prompted to save the
changes, press Y.
- 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:
- Restart the computer to an MS-DOS prompt.
- At the command prompt, type the following lines, pressing ENTER after
each line:
cd \windows
ren system.ini system.pss
copy system.cb system.ini
edit system.ini
- Locate the [boot] section of the System.ini file.
- In the [boot] section, type the following lines, pressing ENTER after
each line:
drivers=mmsystem.dll
mouse.drv=mouse.drv
- Locate the [386Enh] section of the System.ini file.
- In the [386Enh] section, type the following line, and then press
ENTER:
mouse=*vmouse, msmouse.vxd
- Press ALT+F, and then press X. When you are prompted to save the
changes, press Y.
- Restart the computer.
- 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.
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
|