How Windows 95 Handled Audio CD AutoPlay

Windows 95 revolutionized the personal computing multimedia experience by introducing AutoPlay, an automated feature that eliminated the need to manually browse directories or launch software to play media. When a user inserted a standard "Red Book" audio CD into a compatible CD-ROM drive, Windows 95 automatically detected the disc format, initiated playback, and launched the native Windows CD Player application. This article breaks down the underlying technology, the detection process, user controls, and how the operating system differentiated standard music discs from software data discs.

Media Status Notification and Hardware Polling

Prior to Windows 95, operating systems like MS-DOS and Windows 3.1 were largely passive regarding optical drives; the user had to open File Manager or a dedicated player utility after inserting a disc. Windows 95 changed this through a polling mechanism built into the 32-bit protected-mode CD-ROM driver stack (CDFS.VXD).

The operating system routinely polled the optical drive using Media Status Notification (MSN) commands to check if the drive door was opened or closed, or if media had changed. When the optical drive signaled that a new disc had been mounted, Windows 95 immediately read the disc's Table of Contents (TOC) to determine the layout and file system of the media.

Differentiating Audio CDs from Data CDs

Once the Table of Contents was read, Windows 95 determined whether the media was a software CD-ROM or a standard audio CD:

  • Data CDs: The system looked for a root file named AUTORUN.INF, which dictated an icon, label, and executable file to run automatically.
  • Audio CDs: Standard music CDs lacked an ISO 9660 or FAT file system and contained only raw audio tracks (Red Book standard). Windows 95 recognized the absence of a standard computer file system and identified the audio track flags directly from the TOC.

Launching the Windows 95 CD Player

Upon identifying an audio CD, Windows 95 bypassed the standard AUTORUN.INF process and invoked the default action associated with the "AudioCD" file type registered in the Windows Registry (HKEY_CLASSES_ROOT\AudioCD\shell\play\command).

By default, this executed cdplayer.exe (the Windows 95 CD Player) with the /play parameter. The CD-ROM drive then began streaming digital or analog audio through the sound card or the drive’s headphone jack, while the CD Player interface appeared on the desktop, giving users access to track selection, shuffle, repeat, and volume controls.

Bypassing and Configuring the Feature

While the automatic playback was convenient for most users, Windows 95 provided methods to override or customize the behavior:

  • The Shift Key Bypass: Users could temporarily suppress AutoPlay by holding down the Shift key on the keyboard while closing the disc tray and waiting several seconds until the drive finished spinning up.
  • Device Manager Settings: AutoPlay could be globally disabled per optical drive. Users could navigate to the Device Manager, access the properties of their specific CD-ROM drive, open the Settings tab, and uncheck the Auto insert notification option. Disabling this stopped the background polling entirely.
  • Custom Application Associations: Through Windows Explorer's File Types settings, power users could change the default handler for the AudioCD file type, allowing third-party media players like Winamp to automatically launch in place of the default Microsoft CD Player.