Windows application specific's registry key

thebluetropics 1,046 Reputation points
2022-10-04T04:30:29.013+00:00

I need a place to put configuration for my Win32 application inside the registry. Where it is should be? Are there multiple places to store application-specific registry?

Windows development | Windows API - Win32
Windows for business | Windows Client for IT Pros | User experience | Other
Developer technologies | C++
{count} votes

Accepted answer
  1. Castorix31 90,956 Reputation points
    2022-10-04T04:53:16.127+00:00

    An usual key is HKEY_CURRENT_USER\SOFTWARE + name of the application
    Predefined Keys :
    "
    In HKEY_CURRENT_USER, software vendors store the current user-specific preferences to be used within their applications. Microsoft, for example, creates the HKEY_CURRENT_USER\Software\Microsoft key for its applications to use, with each application creating its own subkey under the Microsoft key.
    "

    1 person found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. Nick Roberts 5 Reputation points
    2025-07-21T17:15:50.5133333+00:00

    HKEY_CURRENT_USER\Software\Your Company\The Application...

    HKEY_CURRENT_USER can be abbreviated HKCU

    1 person found this answer helpful.
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.