A Profile-number subkey stores the configuration data for a particular hardware profile that you create for your system.
A hardware profile consists of specified changes to the original hardware profile configured in the SOFTWARE and SYSTEM keys of HKEY_LOCAL_MACHINE. To allow hardware profiles to be easily applied and removed, the original value in the SOFTWARE or SYSTEM key is not changed. Instead, the change is stored in a Profile-number subkey of Hardware Profiles.
The content of each Profile-number subkey looks like a miniature version of the SOFTWARE and SYSTEM keys. It contains only those subkeys in the path to the entry that the hardware profile changes. When a hardware profile is selected, the values in the numbered subkeys override the corresponding values in SOFTWARE and SYSTEM.
The system can store several hardware profiles, although not all are appropriate to every hardware configuration of the computer. For example, a particular hardware profile might apply to a portable computer only when it is docked. If the computer does not have any hardware profiles appropriate to the current hardware configuration, the system creates one. You can also use System in Control Panel to create hardware profiles.
The Profile-number subkey is a variable representing the numbered subkeys under the Hardware Profiles subkey. It does not actually appear in the registry. This subkey is used to describe features common to all numbered hardware profile subkeys in the registry.
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 the CurrentConfig entry corresponds to the number of the subkey that contains the current hardware profile.