Results 1 to 4 of 4

Thread: Script to change ODBC settings on Vista Client Computers

  1. #1
    SADIQ Guest

    Script to change ODBC settings on Vista Client Computers

    I have Windows Vista on my computer and i have lots of SQL databases running which would stress my computer so i brought a new computer to reduce some stress. Well i just moved some database to the new computer, so i made new ODBC server. Is there a way to create a script to change the clients computer's ODBC settings?

  2. #2
    Join Date
    May 2008
    Posts
    2,012

    Re: Script to change ODBC settings on Vista Client Computers

    All i know is ODBC settings are stored in the registry which are exportable in a .reg file. Its located at :

    Code:
    HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI\ODBC Data Sources
    Here you will find the key with the name of DNS for each SQL connection

    Code:
    HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI
    Here you will see a key with sub values
    corresponds to the value that exists in the above key.

    Export those two keys...

  3. #3
    SADIQ Guest

    Re: Script to change ODBC settings on Vista Client Computers

    Well after exporting the key just pass it on to the clients to run? I don't think this will work as this registry keys will hold the old ODBC and DNS information. How do i get the new information to these keys? Doesn't make sense for me...

  4. #4
    Join Date
    May 2008
    Posts
    2,297

    Re: Script to change ODBC settings on Vista Client Computers

    Quote Originally Posted by Sadiq View Post
    Well after exporting the key just pass it on to the clients to run? I don't think this will work as this registry keys will hold the old ODBC and DNS information. How do i get the new information to these keys? Doesn't make sense for me...
    Right. After exporting the registry keys as mentioned by katty, open those .reg files in notepad, make necessary changes and save the file. Now send the new files to the client computers and run it and click yes when it asks to add it to the registry. Done!

Similar Threads

  1. Export ODBC settings
    By Sarantsatsr in forum Windows XP Support
    Replies: 3
    Last Post: 15-12-2011, 11:50 PM
  2. Microsoft Access ODBC Driver for Vista 64 bit
    By Richard in forum Vista Help
    Replies: 4
    Last Post: 14-06-2010, 02:07 AM
  3. How do i Change Windows Vista update settings
    By Anwar in forum Operating Systems
    Replies: 3
    Last Post: 05-03-2009, 02:13 PM
  4. Vista Computers Unable to see other computers on LAN
    By KaramChand in forum Networking & Security
    Replies: 0
    Last Post: 20-02-2009, 08:21 PM
  5. Script to move computers to another OU
    By Antonio00 in forum Active Directory
    Replies: 2
    Last Post: 20-02-2009, 04:23 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,751,859,330.06008 seconds with 16 queries