Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Easy question this time.... I have a installation file, and a registry edit in my script.

How do I set up a ODBC-connection as well, actually I need to script up 2 ODBC-connections.

Any advice for me?

share|improve this question
up vote 1 down vote accepted

System ODBC settings are stored in the registry under:

I would suggest configuring the ODBC connections manually then exporting the registry values. You can then either script a registry merge or write the values explicitly. Remember to install the relevant drivers and associated ODBC registry settings for those as well.

share|improve this answer
Thanks for the reply.Does anyone have any examples of doing it? – Maclovin Sep 8 '10 at 6:34

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.