Registry setting for Sharepoint Configuration Database connection string

By namwar - Last updated: Wednesday, July 16, 2008 - Save & Share - 5 Comments

Ever wondered where does Sharepoint saves its configuration database connection information? Sharepoint 2007 saves its connection string for configuration database in registry and you can change it easily if you have moved your configuration database from one server to another. Following is the registry path

My Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\12.0\Secure\ConfigDb

and our required key is dsn

Posted in Configuration • Tags: , Top Of Page

5 Responses to “Registry setting for Sharepoint Configuration Database connection string”

Comment from Dan Usher
Time August 1, 2008 at 4:55 am

I think you mean that it’s stored in:

My Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\12.0\Secure\ConfigDB

Comment from namwar
Time August 1, 2008 at 7:59 am

You are right Dan. Thanks for spotting the mistake.

Comment from Habeeb
Time July 16, 2009 at 6:33 pm

Thanks… Rizvi… It helped me a lot.

Comment from Raja
Time April 21, 2010 at 12:23 pm

Thanks… Namwar… It helped me in Migrating the configuration database without requiring to run the Sharepoint Config wizard

Comment from Nawaz Ahmed
Time August 9, 2010 at 9:57 am

Thank you …….

Write a comment