Share via


How to: Add and Delete Registry Values in the Registry Editor

The Registry Editor can be used to specify values for new or existing registry keys in the registry of a target computer. You can add string, binary, and DWORD values. During installation the values will be written to the registry; any existing values will be overwritten by the values that you specify.

Note

The dialog boxes and menu commands you see might differ from those described in Help depending on your active settings or edition. To change your settings, click Import and Export Settings on the Tools menu. For more information, see Working with Settings.

To add a registry value

  1. Select a key node in the Visual Studio Registry Editor.

    Note

    Values cannot be added for the top-level nodes.

  2. On the Action menu, point to New, and then click String Value, Binary Value, DWORD Value, or Environment String Value.

    A value name is added to the value pane and the default name is highlighted.

  3. Type a name for the new value and press ENTER.

  4. In the Properties window (press CTRL+W, CTRL+P to view), select the Value property and type a value. Value in the Properties window corresponds to Data in the Windows Registry Editor (regedit.exe).

To remove a registry value

  • Select the value name in the value pane of Registry Editor, and click Delete from the Edit menu.

See Also

Tasks

How to: Add and Delete Registry Keys in the Registry Editor

How to: Create a Default Registry Value in Registry Editor

How to: Import Registry Files in the Registry Editor

Reference

Properties for the Registry Editor

Other Resources

Registry Settings Management in Deployment