Re: HKLM and HKCU Priority
- From: "Dave Patrick" <DSPatrick@xxxxxxxxxxxxxxxx>
- Date: Mon, 5 Dec 2005 20:36:18 -0700
HKCU is for user DSN definition while HKLM is for system DSN definition.
--
Regards,
Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect
"David Burkinshaw" wrote:
|I have a question regarding which hive has priority. We write software and
| our prior version wrote keys to HKLM\Software\ODBC\..... but our new
version
| has to write to HKCU\Software\ODBC\....
| I noticed on one PC (Server 2003) that the HKLM key value was used but on
| another (XP SP2) machine the HKCU key value was used. One of our policies
is
| to never remove old keys from the registry (which i think is wrong) but I
| can't have different PCs using the wrong key. The reason why the keys are
| now in HKCU is because each user has to have their own ODBC entry to point
| to their own data folder in C:\Documents and Settings\<user>\Application
| Data\<company>\<product>\data
| If this doesn't happen then each user could potentially see other users'
| data because the data would all be stored in a common folder. They could
| also step on each other's data since this is going to be run in a Citrix
| style environment. Also, each user is a non-admin so they wouldn't have
| Write rights to HKLM so they need to have their keys written to HKCU.
| Any insight would be greatly appreciated.
|
| Thanks in advance,
|
| David
|
|
.
- Follow-Ups:
- Re: HKLM and HKCU Priority
- From: David Burkinshaw
- Re: HKLM and HKCU Priority
- References:
- HKLM and HKCU Priority
- From: David Burkinshaw
- HKLM and HKCU Priority
- Prev by Date: Re: How do I alter TCP timeouts (SRTT & RTO)
- Next by Date: Re: How do I alter TCP timeouts (SRTT & RTO)
- Previous by thread: HKLM and HKCU Priority
- Next by thread: Re: HKLM and HKCU Priority
- Index(es):
Relevant Pages
|