The Registry Provider namespace is used to update, query, and enumerate the registry keys and values on a local or remote computer.
The Registry Provider namespace implements the following procedures.
Procedure | Description |
---|---|
CreateRegKey | Creates a new registry key based on a given computer, root key, and subkey. |
CreateRegKeyWithSecurity | Creates a registry key and sets values for its security discretionary access control lists (DACLs). CreateRegKeyWithSecurity is a namespace-only procedure that executes CreateRegKey and Active DirectorProvider::Update ACL. |
DeleteRegKey | Deletes a registry subkey and all its descendants, along with their values. |
DeleteRegValue | Deletes a named value for a specific registry item. |
EnumRegKey | Executes a shallow (nonrecursive) enumeration of a specified registry key such as computer, location, or subkey. |
EnumRegValue | Enumerates the values beneath a specified registry key. |
GetRegKeySecurity | Obtains the DACL security settings for a registry key. GetRegKeySecurity is a namespace-only procedure that executes Get Active DirectorProvider::DACL. |
GetRegValue | Retrieves the value for a specific registry item. |
SetRegKeySecurity | Sets the DACL security settings for a registry key. SetRegKeySecurity is a namespace-only procedure that executes Active DirectorProvider::Update ACL. |
SetRegValue | Sets a registry value to a specific item. |
The Microsoft Provisioning Framework Software Development Kit (SDK) contains additional resources to help you implement the Registry Provider namespace. For more information on the SDK and how to use it, see Microsoft Provisioning Framework SDK.