Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

What's the best way to do a mass update of an SQL Server ODBC system DSN (change the server name)? Group policy? A Login script? Something else? It's an Active Directory domain (windows 2003) with mostly Windows XP clients, but there are some Windows 2000 and Vista clients. All clients need to be updated. Example(s) please.


share|improve this question

I don't have any examples, but this should get you started. System DSN data is stored in both the registry and an ini file.

// registry location

// filesystem location

On my Vista x64 machine, the server name value is stored in the registry only and should be easy enough to change with a simple login script. Specifically, the value is stored here:

Server = (REG_SZ)

share|improve this answer

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.