[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Copy System DSN

Posted on 2007-10-11
4
Medium Priority
?
952 Views
Last Modified: 2009-08-25
I need to Copy system DSN's from one machine to another.
Is there any VBScript that can copy out system DSNs from one machine and install on another.

I have 25 DSNs that I need to extract
0
Comment
Question by:ipavlo
  • 3
4 Comments
 
LVL 120

Expert Comment

by:Rey Obrero (Capricorn1)
ID: 20057215
it is stored at HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI

0
 
LVL 120

Expert Comment

by:Rey Obrero (Capricorn1)
ID: 20057535
from the registry you can select the system DSN you want to copy.
from the menu select Export Registry File.  It will create a .reg file that you can copy and run on the other computer.
0
 

Author Comment

by:ipavlo
ID: 20058017
Do I have to do this individually for each DSN?
0
 
LVL 120

Accepted Solution

by:
Rey Obrero (Capricorn1) earned 2000 total points
ID: 20058113
you could also select the whole Folder

HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI
0

Featured Post

 [eBook] Windows Nano Server

Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Code that checks the QuickBooks schema table for non-updateable fields and then disables those controls on a form so users don't try to update them.
Windows Explorer lets you open cabinet (cab) files like any other folder. In VBA you can easily handle normal files and folders, but opening and indeed creating cabinet files takes a lot more - and that's you'll find here.
In Microsoft Access, learn the trick to repeating sub-report headings at the top of each page. The problem with sub-reports and headings: Add a dummy group to the sub report using the expression =1: Set the “Repeat Section” property of the dummy…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
Suggested Courses

873 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question