D
David Burkinshaw
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
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