-- Registry available for clients???

  • Thread starter Thread starter Andre
  • Start date Start date
A

Andre

Hello all,

I have the following problem.
I connect to a terminal server with several clients.
On the terminal server I am running a programm which connects to an
oracle database. For this connection I need a registry-key
(hkey_lokal_machine\Software\myprogramm\oracle9.dll)

If I connect to the terminal server with administrator rights
everything is working perfect. But when I connect using another user
(with no administrator rights) I am not able to connect to the oracle
server using the program. I think (?) this is due to the 'normal' user
has no rights to the specified registry key.

Am I right?? How can I make this work??? Is there a 'special'
registry for connected user with no administrator rights??

Thanks all for any suggestion!!!

Andre
The Netherlands
 
The underlying problem is that the application is not TS-
compatible. It should not use a key in HK_LOCAL_MACHINE but in
HK_CURRENT_USER.

When you install a program on a TS while the TS is in "install"
mode, all changes made to HK_CURRENT_USER are copied to the
"shadow area" of the registry. When a user logs on to the TS, they
get a personal copy of these registry keys. This mechanism ensures
that different users can have different settings, while using the
same TS.

For a detailed explanation of the shadow area, see:
297379 - Programs Can Revert to the Default Settings on Terminal
Server
http://support.microsoft.com/?kbid=297379

If your application had used a key in HKCU, everything would have
worked fine. So the best solution is to rewrite the application.
If that is not an option, you could give the users access rights
to the HKLM\myprogram subkey. But this could lead to irratic and
unwanted behaviour!

--
Vera Noest
MCSE, CCEA, Microsoft MVP - Terminal Server
http://hem.fyristorg.com/vera/IT
--- please respond in newsgroup ---

(e-mail address removed) (Andre) wrote in
 
Hi Vera,

Thank you very much for this answer. It's no option to change the
software. It's running in a lot of places. So the users must have
acces rights to the HKLM-registry settings.

Thanks again!!

Andre
The Netherlands
 
Back
Top