Registry Key Objects

The following are the registry-key access rights and their meanings.

Value Meaning
KEY_ALL_ACCESS Combines the STANDARD_RIGHTS_REQUIRED, KEY_QUERY_VALUE, KEY_SET_VALUE, KEY_CREATE_SUB_KEY, KEY_ENUMERATE_SUB_KEYS, KEY_NOTIFY, and KEY_CREATE_LINK values.
KEY_CREATE_LINK Required to create a link to a registry-key object.
KEY_CREATE_SUB_KEY Required to create a subkey of a registry-key object.
KEY_ENUMERATE_SUB_KEYS Required to enumerate the subkeys of a registry-key object.
KEY_EXECUTE Equivalent to KEY_READ.
KEY_NOTIFY Required to request change notifications for a registry key or for subkeys of a registry key.
KEY_QUERY_VALUE Required to query a value of a registry-key object.
KEY_READ Combines the STANDARD_RIGHTS_READ, KEY_QUERY_VALUE, KEY_ENUMERATE_SUB_KEYS, and KEY_NOTIFY values.
KEY_SET_VALUE Required to create or set a value of a registry-key object.
KEY_WRITE Combines the STANDARD_RIGHTS_WRITE, KEY_SET_VALUE, and KEY_CREATE_SUB_KEY values.

For more information about registry objects, see Registry.