The information in this article applies to:
This article describes troubleshooting steps that may help you solve problems installing Windows 95. This information is also available in our Windows 95 Setup Troubleshooting Wizard. We recommend using this wizard, but we have also created this text-based article for your convenience. The Windows 95 Setup Troubleshooting Wizard is located on: http://support.microsoft.com/support/tshoot/default.asp SUMMARYThis article lists steps to troubleshoot Setup problems and describes the Windows 95 Setup process for a typical upgrade from an earlier version of Windows. MORE INFORMATIONTroubleshooting SetupBefore you try any of the following steps, create a boot disk for your current operating system. Copy any files you need to start your computer (including the Autoexec.bat and Config.sys files) to the boot disk. Make sure to include any necessary device driver files (such as a device driver that gives you access to the hard disk). For instructions about how to create a boot disk, please consult your operating system's documentation.Clean BootIf you have problems installing Windows 95, you should first try a clean boot. If no disk-compression software, disk partitioning software, or other third-party driver is necessary to start your computer, follow these steps to try a clean boot:
If disk partitioning, disk compression, or other third-party software is required to start your computer, the Autoexec.bat and Config.sys files should appear as follows:
Setup from Windows:
If disk partitioning, disk compression, or other third-party software is required to start your computer, the Autoexec.bat and Config.sys files should appear as follows:
Close all running Windows-based programs (except Program Manager) and
disable 32-bit file and disk access before you run Setup again.
NOTE: These examples assume you are not running Setup from a network. If you are running Setup from a network, please consult your network administrator for information about using a minimal boot. ScanDisk Stops Responding (Hangs)If your computer hangs while ScanDisk is checking the hard disk for problems, Setup should return control of the computer to you after three minutes of inactivity. If Setup does not return control to you, run ScanDisk from the command prompt, and then run Setup again. If Setup continues to hang, run Setup with the /IS switch to prevent ScanDisk from running. When you do this, Setup runs Chkdsk.exe to check for cross-linked files.Setup HangsThe most common causes for Setup to hang are viruses and anti-virus software. If Setup hangs, first run an anti-virus program. If no viruses are found, check to see if an anti-virus program is resident in memory.Some computers include an anti-virus feature that prevents programs from writing to the boot sector of the hard disk. Such features may be set in your computer's CMOS settings. If anti-virus protection is running, Setup cannot finish the installation, or Windows 95 does not load properly. To work around this problem, disable the anti-virus feature in your computer's CMOS settings and then run Setup again. Once you have successfully completed Setup you can re-enable the anti-virus feature. For information about how to change CMOS settings on your computer, please contact your computer manufacturer. Setup may also hang if the full (OEM) version of Windows 95 is being installed onto a clean, bootable SCSI hard disk (for example, the boot disk that ships with the product is not used. Instead Io.sys, Msdos.sys, and Command.com are copied to the hard disk). During Setup, SMARTDrive is automatically loaded but double-buffering is not enabled. If Windows 95 is being installed onto a SCSI hard disk that requires double-buffering, Setup may hang while temporary files are being copied to the hard disk. To work around this problem, run Setup with the /C switch to prevent SMARTDrive from loading. Setup Hangs on Disk 2This problem can be caused by either of the following situations:
Setup Hangs During Hardware DetectionIf Setup hangs while it is detecting hardware in your computer, try the following steps:
Setup Hangs While Creating the Startup DiskSetup may hang or generate a general protection (GP) fault error message when it tries to create the Startup Disk. This problem may be due to the presence of a virtual device driver (VxD) from Norton Utilities. To work around this problem, use either of the following methods:
Setup Hangs After the First RebootSetup may hang after the first reboot for one of the following reasons:
"Incorrect System Disk" or "Invalid System Disk" Error MessageCAUTION: If you are using Disk Manager or any other disk drive overlay program on a hard disk, make sure that the overlay driver is loaded before you use the SYS command on that hard disk. If the overlay driver is not loaded and you use the SYS command on the hard disk, the drive may not be recognized as being partitioned by the disk drive overlay program and you could experience a data loss or inability to boot from the drive. You can work around this problem by manually installing the Windows 95 system files on the hard disk. To do so, follow these steps:
Setup Hangs on the Second RebootFor information about troubleshooting this and other problems in Windows 95, please see the following article in the Microsoft Knowledge Base:Q119941 How to Rebuild, Convert, Troubleshoot Folders in Windows 95 Starting SetupMicrosoft Windows 95 can upgrade Windows version 3.0 and higher and Windows for Workgroups version 3.1 and higher. If you are using Windows 3.0, you must run Setup from MS-DOS. If you are using Windows 3.1 or Windows for Workgroups 3.1 or higher, you can run Setup from MS-DOS or Windows.Windows 95 can upgrade MS-DOS, PC-DOS, or OEM-DOS version 3.2 and higher. Setup Step-by-StepUnderstanding the steps that Setup performs may help you to troubleshoot problems you encounter during the Setup process. Setup performs the following steps:Step 1 - Initializing SetupIn this step, Windows 95 prepares your computer for installation by performing the following functions:
Step 2 - Preparation for Smart RecoveryIf for any reason Setup does not finish and the computer needs to be restarted, the following lines in the Autoexec.bat file prompt you to run Setup again and choose the Smart Recovery option:
Step 3 - Read the Setuplog.txt FileSetup reads the Setuplog.txt file to see if Setup failed previously. If Setup did fail previously, Setup prompts you to run Smart Recovery or to continue using the Full Install option.If the Setuplog.txt file is complete and you run Setup from the same version of Windows, Setup provides a Verify option. Using this option causes Setup to check the Windows 95 file sizes and dates. If a file is damaged, Setup re-installs it. Step 4 - Gathering InformationSetup collects information from you (such as your name and the directory in which to install Windows 95) and writes that information to the Setuplog.txt file for use when copying files.Step 5 - Hardware DetectionHardware detection is the most intense portion of Setup. Windows 95 maintains a database of known legacy (non-Plug and Play) devices and the resources that they use. Setup polls all of these resources (I/O ports, IRQs, DMA channels, memory addresses, and so on) and looks for responses to determine what device is using each resource. If Setup detects a Plug and Play device, it adds that device's configuration information to the registry.Setup creates the registry and puts the System.new, User.new, and Detlog.txt files in the root directory of drive C. To help speed the process of searching through the extensive .inf files, Setup uses two indexing files, Drvidx.bin and Drvdata.bin, from the temporary directory (Wininst0.400). Step 6 - Windows ComponentsWhen you select the components to install (or accept the default components), Setup writes them to the Setuplog.txt file with the other Setup information.Step 7 - Preparing to Copy FilesSetup uses the Setupx.dll file to create a list of files to copy based on the components you selected.Step 8 - Copying FilesIf you chose to create a Startup Disk, Setup copies the Startup Disk files now. Next, Setup copies the files prepared in step 7 to the hard disk.Step 9 - Finishing SetupAfter copying all the necessary files, Setup upgrades the existing copy of Windows and replaces the existing MS-DOS version with the Windows 95 operating system. After Setup reaches 100% complete, it writes information to the hard disk's master boot record (MBR) and renames the Io.sys and Msdos.sys files to Io.dos and Msdos.dos. At this point you are prompted to click the Finish button so that Setup can restart your computer and complete the installation.Step 10 - Configuring HardwareSetup updates the configuration files by running Winint.exe to process the options in the Wininit.ini file. The Wininit.ini file tells Setup to create the Vmm32.vxd file and to rename the files that were used by Setup initially but are no longer needed.Step 11 - Run-OnceSetup runs the Run-Once module. This module is specified in the registry and installs certain device configurations and printers, converts .grp files to Windows 95 format, sets the time and date, and sets up the Help system for Windows 95.Step 12 - Second RebootThis step does not occur on all computers. Setup may restart your computer a second time so that it can finalize the hardware settings. This extra step lets Setup detect hardware that could not be detected during the original hardware detection.For example, if your computer contains a sound card with a built-in SCSI controller, Setup detects the sound card and SCSI controller during the initial hardware detection phase. Setup restarts your computer a second time so that it can load the SCSI enumerator and detect whatever is attached to the SCSI controller (such as a CD-ROM drive).
Keywords : kbsetup win95 |
Last Reviewed: May 11, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |