Windows AutoPlay Handler Registry Locations

This article provides a direct overview of where the Windows Registry stores configuration data, GUIDs, and handler associations for the hardware AutoPlay dialog. In Windows, the AutoPlay system manages how the operating system responds to connected media and hardware devices, utilizing structured registry keys under both machine-wide and user-specific hives to define handlers, map device events, and reference COM class identifiers.

Primary AutoPlay Registry Key

The primary hub for all AutoPlay handler configurations in the Windows Registry is located at:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers

Within this location, the configuration is divided into several essential subkeys:

Resolving Handler GUIDs (CLSIDs)

When an AutoPlay handler invokes a COM component directly or via a programmatic identifier (ProgID), the corresponding handler GUIDs (Class IDs) are resolved through the registry’s COM database:

These COM CLSID keys point to the registered DLL or executable responsible for processing the hardware prompt or default action when the device is connected.

User-Specific AutoPlay Choices

When a user selects a default action from the AutoPlay dialog, Windows records the decision under the user’s specific registry hive rather than modifying system-wide settings:

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers

Key subkeys under the user hive include: