Solved

Which registry hive for software configuration settings?

Posted on 2011-02-28
7
425 Views
Last Modified: 2012-05-11
Can anyone point me to a definitive article or two that details which registry hive I should be writing configuration settings for my .NET software to? I want a regular user to be able to make configuration changes without have to log in as an administrator. This is more of an issue under Win 7; under XP we used to write everything to HKLM\Software, but this is not working under Win 7. And what's the difference between the hive I would use for a client program versus what I would use for a service? Thanks!
0
Comment
Question by:tcianflone
7 Comments
 
LVL 20

Expert Comment

by:Daniel Van Der Werken
ID: 34998660
http://support.microsoft.com/kb/256986

You should be able to use HKCU fine as long as you're okay with the settings being user specific.
0
 

Expert Comment

by:slingo
ID: 34998946
You should load up the .DEFAULT hive ideally - NB this is NOT the same as the default profile on the machine :-)
0
 
LVL 22

Expert Comment

by:Adam Leinss
ID: 34999188
Isn't .DEFAULT for the system account?  Why would you use .DEFAULT verus HKCU?
0
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 
LVL 1

Author Comment

by:tcianflone
ID: 35039248
We experimented some with this. If we put the config setttings in HKCU, each user has to configured the software individually. This is not acceptable for our environment. If we put them in HKLM\Software, then they are the same for all users, BUT a user cannot make any config changes in Win 7. In Win 7, it looks like you have to log in as the local machine admin (not just a domain admin) to set config with them stored in HKLM\Software. Is that the intended security scheme for Win7? In Win XP, users could make config changes in this same scenario.
0
 

Expert Comment

by:slingo
ID: 35040256

I'm afraid I know nothing about Windows 7. My experience of Microsoft is don't touch their new OS's for the first couple of years!

Sorry I can't help.
0
 
LVL 80

Accepted Solution

by:
David Johnson, CD, MVP earned 500 total points
ID: 35040336
yes that is what you have to do.. as Vista/Win7 will virtualize hklm and it will in fact be written to hkcu

here is an article that you might find interesting http://www.registryonwindows.com/registry-security-2.php
0
 
LVL 1

Author Closing Comment

by:tcianflone
ID: 35083225
Article was the most helpful one posted but could have used additional info.
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
logon time 6 37
Tracing a live website down to the files which support it 2 25
Convert Ctime to date time in textfile? 7 31
how to just get time from a date 6 32
When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup" or a blinking cursor with black screen. A loop for Auto repair will start but fix nothing.  You will be panic as there are no back…
A quick guide on how to use Group Policy to create a custom power plan and set it active on Windows 7.
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
This Micro Tutorial will give you a introduction in two parts how to utilize Windows Live Movie Maker to its maximum editing capability. This will be demonstrated using Windows Live Movie Maker on Windows 7 operating system.

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question