Share via


Adding and Deleting Registry Keys in the Registry Editor

Registry keys can be added to a deployment project using the Registry Editor. If a key doesn't exist in the registry of a target computer it will be added during installation. Keys can be added beneath any top-level key in the Registry Editor.

To add a registry key

  1. Select a top-level key node in the Registry Editor.

  2. On the Action menu, click New Key.

    A key is added beneath the selected node and the default name is highlighted.

  3. Type a name for the new key, and then edit any properties of the key in the Properties window as necessary.

To add a sub-key

  1. Select a key node in the Registry Editor.
  2. On the Action menu, point to New, and then click Key.
  3. Type a name for the new key, and then edit any properties of the key in the Properties window as necessary.

To remove a key

  • Select the key in the Registry Editor, and choose Delete from the Edit menu.

    Note   If a key contains values or sub-keys they will also be deleted. You will be prompted for confirmation before the key is deleted.

See Also

Properties for the Registry Editor | Registry Settings Management in Deployment | Adding and Deleting Registry Values in the Registry Editor | Creating a Default Registry Value in the Registry Editor | Importing Registry Files in the Registry Editor | Deployment and the Registry