Last modified at 3/15/2014 11:42 AM by Koen Zomers

1. CliConfg

An excellent article describing how to use cliconfg to create a SQL Alias for use with SharePoint can be found at:

In short, for 64 bits Windows operating systems run:


For 32 bits Windows operating systems run:


2. PowerShell

Doing the same, but then via PowerShell is being described at:

3. Registry

Third option to create a SQL database alias is manually via the registry by following these steps:

  1. Open the Registry Editor by pressing Windows+R, typing regedit and pressing enter


  2. If your server is running a 64 bits Windows (most likely), navigate to:


    If your server is running a 32 bits Windows (less likely), navigate to:


  3. Right click somewhere in the whitespace on the right, click Newfollowed by a click on String Value


  4. Enter the name you wish to use to use as an alias. So this will be the name you will use within your SharePoint configuration and which on the background will point to your real SQL Server.

  5. Now right click on the alias you just created and click on Modify


  6. In the Value data field, enter the following:

    DBMSSOCN,<>,<sql port number>

    Replace the <..> fields with their actual values


  7. Click OK to close the Edit String dialog window. You can now close the Registry Editor and use your SQL DB alias.