Professional Documents
Culture Documents
Server type
When a server is registered from Registered Servers, the Server type box is read-only, and
matches the type of server displayed in the Registered Servers pane. To register a different
type of server, click Database Engine, Analysis Server, Reporting Services, or Integration
Services on the Registered Servers toolbar before starting to register a new server.
Server name
Select the server instance to register in the format: <servername>[\<instancename>].
Authentication
Two authentication modes are available when connecting to an instance of SQL Server.
Windows Authentication
Windows Authentication mode allows a user to connect through a Microsoft Windows user
account.
SQL Server Authentication
When a user connects with a specified login name and password from a nontrusted
connection, SQL Server performs the authentication itself by checking whether aSQL Server
login account has been set up and whether the specified password matches the one
previously recorded. If SQL Server does not have a login account set, authentication fails, and
the user receives an error message.
Security Note
When possible, use Windows Authentication. For more information, see Choose an
Authentication Mode.
User name
Shows the current user name you are connecting with. This read-only option is only available
if you have selected to connect using Windows Authentication. To change User names, log
in to the computer as a different user.
Login
Enter the login to connect with. This option is available only if you have selected to connect
using SQL Server Authentication.
Password
Enter the password for the login. This option can be edited only if you have selected to
connect by using SQL Server Authentication.
Remember password
Select to have SQL Server encrypt and store the password you have entered. This option is
displayed only if you have selected to connect using SQL Server Authentication.
Page 2 of 4 Create a New Registered Server (SQL Server Management Studio)
Page 2 of 4 Create a New Registered Server (SQL Server Management Studio)
Note
If you have stored the password and want to stop storing it, clear this check box, and then
click Save.
Registered server name
The name you want to appear in Registered Servers. This name does not have to match the
Server name box.
Registered server description
Enter an optional description of the server.
Test
Click to test the connection to the server selected in Server name.
Save
Click to save the registered server settings.
[Top]
Multiserver Queries
The Query Editor window in SQL Server Management Studio can connect to and query multiple instances
of SQL Server at the same time. The results that are returned by the query can be merged into a single
results pane, or they can be returned in separate results panes. As an option, Query Editor can include
columns that provide the name of the server that produced each row, and also the login that was used to
connect to the server that provided each row. For more information about how to execute multiserver
queries, see Execute Statements Against Multiple Servers Simultaneously (SQL Server Management Studio).
To execute queries against all the servers in a local server group, right-click the server group, point to click
Connect, and then click New Query. When queries are executed in the new Query Editor window, they will
execute against all servers in the group, using the stored connection information including the user
authentication context. Servers registered by using SQL Server Authentication but not saving the password
will fail to connect.
To execute queries against all the servers that are registered with a Central Management Server, expand
the Central Management Server, right-click the server group, point to click Connect, and then click New
Query. When queries are executed in the new Query Editor window, they will execute against all of the
servers in the server group, using the stored connection information and using the Windows
Authentication context of the user.
[Top]
See Also
Page 3 of 4 Create a New Registered Server (SQL Server Management Studio)
Page 3 of 4 Create a New Registered Server (SQL Server Management Studio)
Did you find this helpful?
nmlkj nmlkj
Community Additions
Concepts
Hide System Objects in Object Explorer
Export Registered Server Information (SQL Server Management Studio)
Import Registered Server Information (SQL Server Management Studio)