all groups > sql server odbc > september 2006 >
You're in the

sql server odbc

group:

Remotely installing DSN


Remotely installing DSN MatthewWilsonAPD
9/8/2006 8:24:02 AM
sql server odbc:
Is there any way to install a System DSN to all the pcs on my 2003 network?
(clients running xp)

either by a GPO or something else?]

Re: Remotely installing DSN Warren Brunk
9/9/2006 11:43:07 AM
System DSN's are stored in the registry. making it somewhat difficult to
distribute.

You could change ther registry on one computer, save the registry to .reg
file, distrubute to all computers, and execute a custom script to import the
value.

ODBC entries are located in the registry in two spots. Both are under the
HKEY_Local_Machine\Software\ODBC
The first is found in the ODBC Data Sources subkey
The second set of registry entries go in the ODBC.INI subkey.

there are applications to help you do this as well...
http://www.freevbcode.com/ShowCode.asp?ID=3369


If it was me I would try my hardest to change the Datasource on the
application level before changing alot of computers.
--
/*
Warren Brunk - MCITP - SQL 2005, MCDBA
*/


"MatthewWilsonAPD" <MatthewWilsonAPD@discussions.microsoft.com> wrote in
message news:2DF39EDF-40A9-4FAB-9E72-7BEB554A7FAA@microsoft.com...
[quoted text, click to view]

Re: Remotely installing DSN Sue Hoegemeier
9/12/2006 8:16:23 PM
DSNs are just registry entries so you could create a
VBScript to deploy or call from login scripts...whichever.
Take a look at the following example:
http://www.databasejournal.com/features/mssql/article.php/2238221

-Sue

On Fri, 8 Sep 2006 08:24:02 -0700, MatthewWilsonAPD
[quoted text, click to view]
AddThis Social Bookmark Button