Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I need to add a new registry entry. But first I need an existing folder under HKEY_LOCAL_MACHINE\SOFTWARE\ in order to place that new entry into. I don't see a way to create a new folder under SOFTWARE. I'm new to messing with the registry outside of simple tweaks...I'm a C# Developer. This key will be retrieved in some of our C# code.

share|improve this question
add comment

2 Answers 2

up vote 2 down vote accepted

You right-click on SOFTWARE (under HKEY_LOCAL_MACHINE) and choose New -> Key then give it a name. Then you right click on that and choose New -> XX Value, based on the type of entry you want to add.

Folders are the pictoral representative of a Key. Entries under keys are called Values.

share|improve this answer
add comment

First things first, they're not called folders, they're called Keys. Secondly, don't create it under HKEY_LOCAL_MACHINE - the end user may not have write access to this key (e.g. if they're not a local admin). Create it under HKEY_CURRENT_USER instead. Thirdly, armed with this mighty knowledge, the following link should explain everything you need to know: http://www.google.com/search?hl=en&q=create+registry+key+c%23&btnG=Google+Search&meta=&aq=f&oq=

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.