Windows 95 Setup Hardware Detection Log Files

During the initial installation of Windows 95, hardware detection errors and diagnostics were logged primarily in a file named DETLOG.TXT, with critical detection failures captured by DETCRASH.LOG. These files were stored in the root directory of the boot drive (typically C:\) to record every device scan, driver query, and system resource check. This article explains how these detection logs functioned, how Windows 95 handled setup crashes, and how these files were used to troubleshoot failed installations.

DETLOG.TXT: The Primary Hardware Detection Log

DETLOG.TXT is a plain text file created at the start of the hardware detection phase. As the Windows 95 Setup program queried the system's hardware, it wrote chronological entries documenting:

  • Devices detected via Plug and Play, BIOS queries, and direct hardware probing.
  • Input/Output (I/O) port ranges, IRQs, DMA channels, and memory addresses scanned.
  • Parameters used to identify legacy adapters and peripherals.
  • Non-fatal hardware errors, conflicts, and bypassed detection routines.

Because it was saved in plain ASCII format, technicians could open DETLOG.TXT using MS-DOS text editors (such as EDIT.COM) to see exactly which device was being checked when an error or warning occurred.

DETCRASH.LOG: The Safe Recovery File

If the hardware detection process caused the computer to freeze, crash, or reboot unexpectedly, Windows 95 relied on DETCRASH.LOG.

Unlike DETLOG.TXT, DETCRASH.LOG was a binary file specifically designed for the Windows 95 Safe Recovery mechanism:

  1. Setup wrote to DETCRASH.LOG right before executing an invasive hardware detection routine.
  2. If the routine crashed the machine, the entry remained incomplete.
  3. Upon restarting Setup, the installer detected the presence of DETCRASH.LOG.
  4. Setup read the file, identified the specific hardware query that caused the lockup, and skipped that test to prevent repeated crashing.

Once the hardware detection phase completed successfully, Windows 95 automatically deleted DETCRASH.LOG.

Additional Setup Logs

While DETLOG.TXT and DETCRASH.LOG were dedicated to hardware detection, Windows 95 generated other log files during setup:

  • SETUPLOG.TXT: Tracked the overall installation sequence, including file copying, directory creation, and general configuration errors.
  • NETLOG.TXT: Recorded the detection and setup of network interface cards, protocols, and network clients.
  • BOOTLOG.TXT: Documented the loading of device drivers and system components during Windows 95 startup.