Bypass Hardware Detection in Windows 95 Setup
This article examines the setup flags used by system administrators to bypass or modify hardware detection routines during the installation of Microsoft Windows 95. It details the mechanics of the primary hardware detection switch, the underlying detection architecture, and how administrators resolved system lockups caused by legacy devices.
During the installation of Windows 95, the setup routine initiated an intensive hardware probing phase known as "Analyzing your computer." Because legacy ISA peripherals and non-Plug and Play hardware frequently caused the machine to freeze during this phase, Microsoft included setup command-line switches to control or bypass this behavior.
The primary switch used to control and bypass hardware detection was the /p flag.
How the /p Switch Functioned
When launching SETUP.EXE from MS-DOS, the
/p flag allowed administrators to pass specific parameters
directly to the Windows 95 Detection Manager
(Sysdetmg.dll).
To completely suppress or bypass specific hardware detection
routines, administrators appended parameter strings to the
/p switch:
SETUP /p "": Passing an empty string or null parameter minimized or prevented standard detection routines from executing, forcing the installer to rely on basic defaults and manual configuration.SETUP /p c-: Disables the detection of CD-ROM drives, preventing the installer from hanging on non-standard or proprietary CD-ROM interfaces.- Class Disabling Flags: The switch accepted class
names followed by a minus sign (
-) to disable detection for specific categories of hardware (for example, network adapters, sound cards, or SCSI controllers) without disabling detection for the entire system.
Safe Recovery Alternative
In addition to manual flag entry, Windows 95 included an automated
bypass mechanism known as Safe Recovery. If a computer crashed during
hardware detection, restarting SETUP.EXE without parameters
prompted the user to use Safe Recovery.
This process read two log files in the root directory:
SETUPLOG.TXT: Tracked the overall progress of the installation.DETLOG.TXT: Recorded the specific hardware detection module that caused the system to hang.
When Safe Recovery was activated, Setup automatically bypassed the specific detection module that caused the previous crash, allowing the rest of the installation to proceed safely.
Related Setup Switches
Administrators frequently combined the /p switch with
other flags to streamline troubleshooting on problematic hardware:
- /is: Bypassed the initial ScanDisk routine to save time and avoid disk-check failures.
- /id: Bypassed the check for minimum required disk space.
- /iq: Bypassed checking for cross-linked files.
- /im: Bypassed the check for sufficient conventional memory.
- /pi: Forced interactive hardware detection, prompting the user before attempting to query individual devices.