Creating Registry Keys or Values

by Allen Wyatt
(last updated September 28, 2015)

3

The dynamic nature of the Registry means that the information it contains is always changing depending on the needs of the operating system, programs, or you. Therefore, it is possible to add new values to the Registry or to even add new keys. The Registry Editor allows you to quickly and easily add values or keys.

Why would you want to add keys or values? Quite honestly, it doesn't do you much good to add either item unless you know that it is going to be used by an application or by the operating system itself.

As an example of how to add a new key, let's say you wanted to add one to the HKEY_LOCAL_MACHINE\SOFTWARE hive. Just follow these steps:

  1. Start the Registry Editor, as you normally would.
  2. Click on the small arrow at the left side of HKEY_LOCAL_MACHINE, in the left side of the Registry Editor. The Registry Editor should show you all the items under this key.
  3. Locate and click on the SOFTWARE key (this selects it).
  4. Choose Edit | New | Key. The SOFTWARE key is expanded and a new key is added beneath it.
  5. Type the name you want used for the new key.
  6. Press Enter. The new key takes its place in the alphabetic listing of keys under SOFTWARE.

At this point, you have created a new key. You can then add values to the new key, following much the same process. The only difference is that, in step 4, you select Edit | New and then the type of value you want to add. The information that you add to the Registry remains there until it is either changed by you or by a program that you may be using.

 This tip (10957) applies to Windows 7 and 8.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He  is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Setting Bracket Clearance Spacing in the Equation Editor

The Equation Editor provided with Word can be very powerful in how it displays mathematic equations. Here's how you can ...

Discover More

Zooming with the Keyboard

Want to zoom in and out without the need to using the ribbon tools? You can create your own handy macros that do the zooming ...

Discover More

Understanding Fill Effects

Want to fill a drawing shape with more than just a color? Word allows you to use all sorts of fills, as described in this ...

Discover More
More WindowsTips

Exporting a Portion of the Registry

Windows wouldn't function if it weren't for the Registry, and many system tweaks involve editing it. Before making such ...

Discover More

Editing the Windows Registry

The Registry is the central depository of configuration information used by Windows and by programs running on your system. ...

Discover More

Finding Information in the Registry

The Registry is the central depository of configuration information used by Windows and by programs running on your system. ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in WindowsTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 8Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is 5 + 0?

2015-10-08 08:35:05

Shanker

@Kalle,

Amen!
Key! What for?


2015-10-01 18:33:35

Dave H.

I agree wholeheartedly with Kalle Petrick. Well said.


2015-09-28 08:36:02

Kalle Petrick

I always read with great interest your tips on registry editing. However, I think it's fair to say that they tend not to be a useful as the other fine tips you publish. For example; if a person is knowledgeable enough to know how to write a new registry key, then it is highly unlikely that they need instructions on how to use the registry editor. Conversely, if one doesn't understand registry entries, the of what use is it to access the editor? I would love to have specific registry instruction, but that may be beyond the scope... Thanks for your other good work.


Newest Tips
Subscribe

FREE SERVICE: Get tips like this every week in WindowsTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.