Global ODBC settings??

  • Thread starter Thread starter David Mendes
  • Start date Start date
D

David Mendes

We have 2 Windows 2000 Servers with Terminal Services. How do I configure
the ODBC settings to be global? When I log on to the server and configure
the settings at the desktop my application works fine. When a user launches
the application via an RDP or ICA session the ODBC settings are all wrong.
I have over 400 users so I don't want to configure the settings for each
person on each server. Any thoughts are more than appreciated. Thanks.
 
Sounds to me like they are USER specific settings mostlikely stored in the
ODBC settings int he registry in HKCU. You can script it via KIX or VBS etc,
or you can find the settings in your HKCU, export them to a reg file, then
run a CMD script at logon that simply does:

Regedit /s C:\dir\regname.reg

That will import the regkeys to the users silently.
 
Thanks, I'll give it a shot....

Ron Oglesby said:
Sounds to me like they are USER specific settings mostlikely stored in the
ODBC settings int he registry in HKCU. You can script it via KIX or VBS etc,
or you can find the settings in your HKCU, export them to a reg file, then
run a CMD script at logon that simply does:

Regedit /s C:\dir\regname.reg

That will import the regkeys to the users silently.
 
Ron,

I exported the key and dropped it in \windows\system32 and gave group
Everyone Full Control however when I log on the key is not imported and
Event Viewer shows an Event ID: 1000 and indicates that Access is denied.
Any thoughts?

Thanks again.....
 
Never mind....instead of /s it should be -s. I've changed this and no
errors but I need to first delete the key that's there and replace with this
one....
 
Please do not do post the same question to multiple newsgroups unless you use the "Cross-Post" feature, as you now have multiple different versions of this question

Patrick Rous
Microsoft MVP - Terminal Serve
http://www.workthin.co

----- David Mendes wrote: ----

Never mind....instead of /s it should be -s. I've changed this and n
errors but I need to first delete the key that's there and replace with thi
one...
 
Back
Top