Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
Log in  ::  Register  ::  Not logged in

Get your favorite SSC scripts directly in SSMS with the free SQL Scripts addin. Search for scripts directly from SSMS, and instantly access any saved scripts in your SSC briefcase from the favorites tab.
Download now (direct download link)

SMS Script

By Jay Dave,

Problem Description:-

I have 150 users using standalone application on there Windows XP destops. Each destops as .ini file for that application which points to Server abc. i want to do SMS push to those 150 users which will modify\update .ini file so that instead of pointing\connecting to Server abc it will then connect to Server xyz and not to Server abc.

How to use this script:-

you just have to change the name of the original server, the new Server and the path and name of the ini file and it should work. Just copy and paste this text into a notepad session and rename it to .vbs. Then push out the vbs script to the clients. Or put it into a script window within SMS.

Total article views: 1274 | Views in the last 30 days: 10
Related Articles

SQL Server 2005 script

SQL Server 2005 script


Script Server Roles

Script Server Roles in case of migration or documentation


Link Server Script

Script to List Tables on Link Server


Monitoring script



unattended script for SQL Server 2005 installation

unattended script for SQL Server 2005 installation


Join the most active online SQL Server Community

SQL knowledge, delivered daily, free:

Email address:  

You make SSC a better place

As a member of SQLServerCentral, you get free access to loads of fresh content: thousands of articles and SQL scripts, a library of free eBooks, a weekly database news roundup, a great Q & A platform… And it’s our huge, buzzing community of SQL Server Professionals that makes it such a success.

Join us!

Steve Jones

Already a member? Jump in:

Email address:   Password:   Remember me: Forgotten your password?
Steve Jones