Current

HKLM\SYSTEM\CurrentControlSet\Hardware Profiles

Description

The Current subkey in the Hardware Profiles subkey displays configuration data for the hardware profile currently in use on the system.

The Current subkey does not actually contain any data. Instead, it contains a pointer to the Profile-number subkey under Hardware Profiles, which contains the current hardware profile. As such, the contents of the selected subkey appear in Current.

Also, the contents of Current appear in the HKEY_CURRENT_CONFIG subtree of the registry. Because the Current subkey and HKEY_CURRENT_CONFIG merely store pointers to the content of the numbered Hardware Profiles subkey currently in use, you can view and edit the data in any of the three locations.

The entries in this subkey store data that is specific to hardware profiles, with which applications, drivers, and system components can associate. Components can retrieve data from these keys, over the data stored in the standard SYSTEM and SOFTWARE keys, but the entries in this subkey do not override the data in the SYSTEM or SOFTWARE keys. Instead, the applications and drivers use the data in these entries as necessary.

The system always designates one profile as the current one.

  • If the system does not have any hardware profiles that are appropriate to the current hardware configuration, the system creates one automatically, and that profile becomes the current hardware profile.

  • If the system includes only one hardware profile that is appropriate to the current hardware configuration, that profile is automatically chosen to be the current hardware profile.

  • If the system includes more than one hardware profile that is appropriate to the current hardware configuration, when the system starts, it prompts the user to select from among the appropriate hardware profiles. The chosen profile becomes the current profile.

The current hardware profile remains current until the system stops or the hardware configuration changes, such as when an ACPI-capable (Advanced Configuration and Power Interface) portable computer docks or undocks.

Tip

To determine which numbered subkey under Hardware Profiles represents the current hardware profile, see CurrentConfig in HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\IDConfigDB. The value of CurrentConfig corresponds to the number of the subkey that contains the current hardware profile.

Related Entries

Hardware Profiles subkey

Profile-number subkey

HKEY_CURRENT_CONFIG

CurrentConfig