Windows 95 Menu | Troubleshooting Windows 95 | Full screen |
Topics | |
1) | The Windows 95 Troubleshooter Step-by-step checklist. Shutdown and Startup Troubleshooting by Jim Eshelman. |
2) | Starting in DOS or Safe Mode The Windows Startup Menu. |
3) | Hardware Problems |
4) | Error Messages |
5) |
Windows 95 has a few basic tools built in for troubleshooting. The trick is knowing where they are and how to use them. MSDOS.SYS LOGGED STARTUP START MODE SWITCHES |
6) | OTHER SOURCES FOR HELP |
When you start a computer with DOS, the IO.SYS is run. This checks for Drivespace or Doublespace and loads it as necessary. Then it checks the MSDOS.SYS file. In earlier DOS versions. this file was a fixed binary file. With Windows 95 and later, it is a TEXT INI file.
If you use the SYS command to make a floppy disk bootable or to transfer system files to the hard drive, the MSDOS.SYS file is replaced by a non-functional MSDOS.SYS file. It will contain only ;sys. Since none of the boot paths are give, necessary files are not loaded and Windows will not run. Not even in safe mode.
If Windows was installed to default settings, you should find the following in the MSDOS.SYS file. You can copy this to create a file if yours is missing. If this is copied to the boot floppy disk, you could even run Windows from a floppy boot.
If you booted from a floppy disk it needs the EDIT.COM. It will probably also need the ATTRIB..EXE. If the commands here don't work, type PATH and make sure it shows C:\WINDOWS\COMMAND. If it doesn't, type: PATH=C:\WINDOWS\COMMAND;C:\WINDOWS
At the DOS prompt type: Under the PATHS heading:
WinDir=
WinBootDir=C:\WINDOWS
HostWinBootDrv= Under the OPTIONS heading:
BootGUI=
BootMulti=1
Network=1
autoscan=1
See
AXCEL216's Max Speed-Windows 95 - 98 Complete MSDOS.SYS Reference. Information On the commands in the MSDOS.SYS file. See |
ERRORSDevice IOS failed to initialize. You may get this when installing Windows 95. or Microsoft Windows 95 Update for AMD-K6-2/350 and Above From AMD Site.
VMM32 error: Error Message: Insufficient Memory to Initialize Windows A Microsoft Knowledgebase article. You may get this when trying to install Windows 95/98 as well. "Out of Memory" Error Messages with Large Amounts of RAM Installed A Microsoft Knowledgebase article. This applies to Windows 95, 98 and ME. Error Message: There Are No Spare Stack Pages A Microsoft Knowledgebase article.
Compatibility Mode:
Out of Environment space:
Fatal Exception Errors:
Registry error: Kernel32 & Krnl386 - Errors by Henry Leboeuf
|
LOGGED STARTUPAnother set of diagnostic tools are the switches for starting Windows in different modes. With Windows 3.1 you can start in DOS and add the switches. But DOS mode in Windows 95 doesn't load the drivers if you use F5 or select DOS mode from the F8 Boot menu. So if the device that is causing the problem is among the drivers loaded in a normal startup, the problem won't show up.
|
For easy use of them without modifying files to activate them copy the following into your AUTOEXEC.BAT file or another batch files you can call up with the AUTOEXEC.BAT file. I suggest creating a Multiple Boot Menu and creating a Diagnostic selection on it.
If you have and OEM computer, all of this may occur behind a logo screen. This makes it hard to know what to do ,and when. Hold down the CTRL key while the computer starts until the Startup Menu appears.
When you see "Starting Windows 95", press:
1. Normal
Enter a choice: 1
F5=Safe mode Shift+F5=Command prompt Shift+F8=Step-by-step confirmation [N]
See:
WINDOWS START MODE SWITCHES
win /?
to see a list of them. See this
Microsoft Knowledge Base Article Q142544 for more information about these switches.
echo off
:start
cls
echo Windows 95b Boot Mode Menu
echo Diagnostic Windows Startup. Choose one or more of the following:
echo MODE DESCRIPTION
echo F Turns off 32-bit disk access.
echo Equivalent to SYSTEM.INI file setting: 32BitDiskAccess=FALSE.
echo M Enables Safe mode.
echo This is automatically enabled during Safe start (function key F5).
echo N Enables Safe mode with networking.
echo This is automatically enabled during Safe start (function key F6).
echo S Specifies that Windows should not use ROM address space between
echo F000:0000 and 1 MB for a break point.
echo Equivalent to SYSTEM.INI file setting: SystemROMBreakPoint=FALSE.
echo V Specifies that the ROM routine will handle interrupts from the hard
echo disk controller. Equivalent to SYSTEM.INI file setting: VirtualHDIRQ=FALSE.
echo X Excludes all of the adapter area from the range of memory that Windows
echo scans to find unused space.
echo Equivalent to SYSTEM.INI file setting: EMMExclude=A000-FFFF.
echo Q Quit. Windows may start if BOOTGUI=1 is in MSDOS.SYS file.
echo After you have made selections from above type D to start Windows in the mode
echo selected.
echo The selections you have made are: %m1% %m2% %m3% %m4% %m5% %m6%
echo D Starts Windows with selected settings. If none selected, starts normally.
choice /c:fmnsvxdwq /n /t:w,15 W starts Windows normally. If no key is press within 15 seconds Normal is run!
if errorlevel 9 goto end
if errorlevel 8 goto win
if errorlevel 7 goto diag
if errorlevel 6 goto setx
if errorlevel 5 goto setv
if errorlevel 4 goto sets
if errorlevel 3 goto setn
if errorlevel 2 goto setm
if errorlevel 1 goto setf
:setf
set m1=F
goto start
:setm
set m2=M
goto start
:setn
set m3=N
goto start
:sets
set m4=S
goto start
:setv
set m5=V
goto start
:setx
set m6=X
goto start
:diag
echo.
echo.
echo.
echo.
echo.
echo.
echo.
echo the following command line was executed:
echo c:\windows\win.com /D:%m1%%m2%%m3%%m4%%m5%%m6%
c:\windows\win.com /D:%m1%%m2%%m3%%m4%%m5%%m6%
goto end
:win
c:\windows\win.com
goto end
:end
set m1=
set m2=
set m3=
set m4=
set m5=
set m6=
Starting in Safe Mode, DOS Mode or Previous DOS Mode
Starting Windows 95
at this point.F4 Pressing this loads your previous MS-DOS operating system if you have that set up. This may be present if you upgraded from Windows 3.1, which can only be done with Windows 95 OSR1. Or you may have added that capability with OSR2FIX or the equivalent. If your other system is DOS 6.22, the computer will boot in that mode. F5 Pressing this bypasses your CONFIG.SYS and AUTOEXEC.BAT files and start Windows. Although Windows will work without those files, some programs that are loaded by these will not function. This quickly isolates the possibility that line in those files are causing problems with your computer. F6 Pressing this bypasses your CONFIG.SYS and AUTOEXEC.BAT files and starts Windows, as F5 does. But it provides networking capabilities if you need those. See Microsoft article:
How to: Boot to the command prompt instead of to Windows.
for more information.F8 Pressing this calls up the Startup Menu.
Microsoft Windows 95 Startup Menu
==========================
2. Logged (\BOOTLOG.TXT)
3. Safe mode
4. Safe mode with network support
5. Step-by-step confirmation
6. Command prompt only
7. Safe mode command prompt only
8. Previous version of MS-DOS
If Windows detects a problem, this menu is automatically called up. If you start Windows, a file: C:\WINDOWS\WNBOOTNG.STS, is created. If Windows finishes starting properly, this file is deleted. If the file does not get deleted because of a problem, Windows will automatically go to Startup Menu with Safe mode selected the next time the computer boots.
How to: Start Windows in safe mode.
for more information from Microsoft.Shift F4 bypasses the CONFIG.SYS and AUTOEXEC.BAT files and starts Windows. This is done without going to the F8 Startup Menu first. Shift F5 bypasses the CONFIG.SYS and AUTOEXEC.BAT files and starts the Command Prompt. This is done without going to the F8 Startup Menu first. Shift F8 Sets Step-by-step loading of drivers. You type Y for yes, or N for no as each driver loads. You can bypass a driver to determine which one might be causing problems. See:
Step-By-Step Startup from Microsoft for more information.Notes:
If there is an error in the MSDOS.SYS file, many commands may not work. Try typing:
path=c:\windows\command
(if that is your correct Windows location). Otherwise you will have to type complete paths to execute some commands such as:
c:\windows\command\attrib
c:\windows\command\edit
in order to make modifications to files such as the MSDOS.SYS file.
Hardware ProblemsCheck to see it the drive works correctly in REAL DOS Mode. If it works, see: Troubleshooting Floppy Disk Drive Problems in Windows A Microsoft Article. If it fails at DOS see DOS Troubleshooting. |
"Starting Windows 95"
Symtoms: The computer gets to the Clouds image with the moving bar at the bottom, but doesn't go further. The computer boots to the DOS C:\> prompt, not Windows. The computer reports missing files as it boots. Error Messages when starting Windows. Windows Opens to Desktop then freezes.
|
The computer reports missing files as it boots.The file himem.sys missing The file ifshlp.sys missing The file smartdrv.exe missing The windows registry was not found this usually means a missing or damaged MSDOS.SYS. This file establishes the path where Windows is located. If the path is missing or the file is missing, Windows will not find them. The files may be there. But the system doesn't know where to look. This will also affect Safe mode. While you can get the command prompt, most commands will report "Unknown Command".
Type:
To edit the MSDOS.SYS file, type: End of string. Back to Opening Menu.
|
The computer starts Windows. |
The computer shows "Starting Windows 95" |
Pressing F5, The computer still stops at |
Pressing F5, Windows starts.
You should see a message that
You normally will progress through all of the steps and be asked if you want to After all of the steps of the AUTOEXEC.BAT you will be asked if you want to load the GUI. That means start Windows. This will include loading IFSHLP.SYS and HIMEM.SYS. If the boot makes it all the way through these then stops, there is an incompatible driver in either the CONFIG.SYS or AUTOEXEC.BAT file.
What results did you get? |
The process made it through all of the steps then froze."Windows will prompt you to confirm each CONFIG.SYS command. The name of each file to be processed next will be displayed. Saying Y to all of the CONFIG.SYS commands, and N for the AUTOEXEC.BAT commands.
What results did you get? |
The system still froze with | |
edit c:\config.sys | |
Find the line displayed when the process failed and put a semicolon ; at the beginning of that line. | |
Now save the file by pressing the ALT key and selecting File, Save, then press ALT again and select Exit. | |
Restart the computer and see if the problem went away. | |
If it works, try to determine what program uses the command. If you don't need it, you can delete the line. |
Windows Started without the AUTOEXEC.BAT file. | |
edit c:\autoexec.bat | |
Find the line displayed when the process failed. If is starts with an LH, remove that. This command loads the line in High Memory. Some programs will not function in High Memory. If you have already tried that, put REM and a space at the beginning of the line to omit loading it. | |
Now save the file by pressing the ALT key and selecting File, Save, then press ALT again and select Exit. | |
Restart the computer and see if the problem went away. | |
You can use this method if the Step-by-step isn't allowed on the AUTOEXEC.BAT. Try various lines or combinations of lines until you isolate what is causing the problem. Then try to determine what program uses the line and see if you need the command. |
The process froze at one of the steps.Restart the computer. When you see the "Starting Windows 95" message or just before, hold down one of the shift keys and press the F5 key. This should start the command prompt only. If the error occured in the CONFIG.SYS type: | |
edit c:\config.sys | |
Find the line displayed when the process failed and put a semicolon ; at the beginning of that line. | |
Now save the file by pressing the ALT key and selecting File, Save, then press ALT again and select Exit. | |
Restart the computer and see if the problem went away. | |
If the error occured in the AUTOEXEC.BAT, type: | |
edit c:\autoexec.bat | |
Find the line displayed when the process failed and put an REM and a space at the beginning of that line. | |
Now save the file by pressing the ALT key and selecting File, Save, then press ALT again and select Exit. | |
Restart the computer and see if the problem went away. | |
If that cured the problem, try to determine what program it was associated with. If the command isn't needed, you can delete that line. The command may be correct, but the file corrupt. |
The computer gets to the Clouds image with the moving bar at the bottom, but doesn't go further. |
Reboot. When you see "Starting Windows 95" or just before that, hold down one of the Shift keys and press the F5 key. This will take you to the DOS prompt. At the prompt type: c: cd windows attrib -r -h -s system.da0 attrib -r -h -s user.da0 copy system.da0 system.da9 copy user.da0 user.da9 This will make separate copies of the previous Registry in case Windows corrupts the current one and the backup. If you have already made a recent backup of the registry, you can skip this step. |
If you made changes such as adding a new program or driver just before Windows stopped working, you can copy the current backup registry by typing: |
attrib -r -h -s system.dat attrib -r -h -s user.dat copy system.da0 system.dat copy user.da0 user.dat When you restart the computer, the changes will be gone. The program or driver you just added will probably no longer function. And it will have to be removed manually as the uninstall will no longer be in the registry. But if that gets the computer working, you can try the install again. |
Replacing the registry from backup cured the problem. Back to Opening Menu. Backed up old registry, but want to get my program working. Replaced the registry from backup, same problem. |
Backed up old registry, but want to get my program working.When the computer boots you may get a warning that the registry is corrupt and will be restored from backup. Selecting O.K. will copy the system.da0 as system.dat and the user.da0 as user.dat. Then the computer will restart. If the computer fully boots to safe mode, you can check for hardware conflicts. You can also Uninstal programs that may be causing a conflict. Click Start, Settings, Control Panel, System, Device Manager. Look for yellow marks indicating conflicts. End of string. Back to Opening Menu.
|
Replaced the registry from backup, same problem.When the computer boots you may get a warning that the registry is corrupt and will be restored from backup. Selecting O.K. will copy the system.da0 as system.dat and the user.da0 as user.dat. Then the computer will restart. If the computer fully boots to safe mode, you can check for hardware conflicts. You can also Uninstal programs that may be causing a conflict. Click Start, Settings, Control Panel, System, Device Manager. Look for yellow marks indicating conflicts. End of string. Back to Opening Menu.
|
The computer boots to the DOS C:\> prompt.Type PATH. You should see path=c:\windows\;c:\windows\command\ If your windows is in C:\WINDOWS, this is the minimum you should see. There can be more, depending on installed programs, usually DOS based programs.
The path is correct. |
The path does not include |
The path is correct.DIR C:\windows\win.com If the file is there, it may be corrupt. If the file is missing, there is your problem. To fix either instance you can Extract a replacement from the cab files. To do that, type: |
extract /a d:\win95\win95_02.cab win.cnf |
This will unpack the file which you must rename as win.com. The above example assumes that the CDROM is D drive and that the CAB files are in the WIN95\ directory. Type: |
ren win.cnf win.com |
If you did not extract the file into the C:\WINDOWS\ directory, you will have to move it there. If you already have a win.com file when you type REN, it will not rename and you will get an error. You must delete that file first. |
Windows restarts back to DOS mode.At the prompt type: The computer should restart into your normal Windows. If that doesn't work: ren c:\config.wos c:\config.sys Now try to reboot. These are copies of your boot files created when you have Windows start a program in Real DOS mode. As long as windows finds files with a WOS extension in the root directory, it will not run Windows. Your actual files are renamed with the WOS extension. Windows creates new CONFIG.SYS and AUTOEXEC.BAT files with commands for the specific program you have launched. These programs are launched by DOS ICONS. They also contain commands for returning the system to normal operation. The new files created contain the line
Microsoft's Knowledge Base article on this problem: |
Did not find any WOS files.
CONFIG.SYS
If you want this command processor, you can add the line:
AUTOEXEC.BAT
MSDOS.SYS In all of these instances, Windows should start if you type WIN.
|
Dealing with OEM ComputersMany name brand computers have a logo image that displays as the computer boots. This will hide the Windows messages normally visible as Windows 95 starts. Once the Operating system begins to load, you can usually press the ESC key to watch the execution of boot commands (if any). You can attempt to count the seconds it takes to get to that point so you know when to press the appropriate keys. BootDelay=5 If the line is not present, the delay is 2 seconds by default. you can enter the number of seconds you want the boot to stop at "Starting Windows 95", so you can press keys. Some manufacturers enter 0 so there is no delay.
You can also add the line
If the computer isn't starting properly so you can make these modifications, use a boot disk to access this file. You may have to type:
|
OTHER SOURCES FOR HELP
|
Comment to PoliTalk |
And That's My |