> For the complete documentation index, see [llms.txt](https://docs.devolutions.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.devolutions.net/rdm/knowledge-base/knowledge-base-articles/entry-settings/microsoft-sql-server.md).

# Microsoft SQL Server

Configure Microsoft SQL Server entries in Remote Desktop Manager, including the host, port, login mode, credentials, and connection test.

This article details the many settings and options available for ***Microsoft SQL Server*** session entries in Remote Desktop Manager.

<table data-header-hidden><thead><tr><th width="200"></th><th></th></tr></thead><tbody><tr><td><strong>SETTINGS</strong></td><td><strong>DESCRIPTION</strong></td></tr><tr><td><strong>Name</strong></td><td>The name of the entry.</td></tr><tr><td><strong>Folder</strong></td><td>The folder where the entry is located.</td></tr><tr><td><strong>Display</strong></td><td><p>How the entry opens: <em><strong>Embedded (tabbed)</strong></em> or <em><strong>Undocked</strong></em>. When <em><strong>Undocked</strong></em> is selected, two lists beside it select the monitor and the virtual desktop. The virtual desktop list is not supported on macOS.</p><p>On Linux, the list also offers <em><strong>Default (inherited)</strong></em>, which uses the display mode of the nearest parent folder that sets one, otherwise the default of the entry type. The mode it resolves to is shown next to the list.</p></td></tr><tr><td><strong>Host</strong></td><td>Where the host of the entry comes from. Select a host mode from the list. When it is set to anything other than <em><strong>Host configured</strong></em>, the <em><strong>Host</strong></em> field below is unavailable.</td></tr><tr><td><strong>Credentials</strong></td><td>How the credentials of the entry are provided. Select a credential mode from the list. When it is set to anything other than <em><strong>Username and password</strong></em>, the <em><strong>Username</strong></em>, <em><strong>Domain</strong></em>, and <em><strong>Password</strong></em> fields below are unavailable.</td></tr></tbody></table>

### General

<table><thead><tr><th width="220">SETTINGS</th><th>DESCRIPTION</th></tr></thead><tbody><tr><td><strong>Host</strong></td><td>The host name or IP address of the SQL Server instance. Required.</td></tr><tr><td><strong>Port</strong></td><td>The port of the SQL Server instance. The default port is <code>1433</code>.</td></tr><tr><td><strong>Login mode</strong></td><td><p>Select how to authenticate to SQL Server:</p><ul><li><strong>SQL Server authentication</strong> — Uses the <em><strong>Username</strong></em> and <em><strong>Password</strong></em> entered below.</li><li><strong>Windows authentication (Current user)</strong> — Uses the Windows account of the current user. Supported on Windows only.</li><li><strong>Windows authentication (Custom user)</strong> — Uses the <em><strong>Username</strong></em>, <em><strong>Domain</strong></em>, and <em><strong>Password</strong></em> entered below.</li></ul></td></tr><tr><td><strong>Username</strong></td><td>The username used to connect to SQL Server. Visible and required when <em><strong>Login mode</strong></em> is set to <em><strong>SQL Server authentication</strong></em> or <em><strong>Windows authentication (Custom user)</strong></em>.</td></tr><tr><td><strong>Domain</strong></td><td>The domain of the username. Visible when <em><strong>Login mode</strong></em> is set to <em><strong>Windows authentication (Custom user)</strong></em>.</td></tr><tr><td><strong>Password</strong></td><td>The password used to connect to SQL Server. Visible and required when <em><strong>Login mode</strong></em> is set to <em><strong>SQL Server authentication</strong></em> or <em><strong>Windows authentication (Custom user)</strong></em>. This field is unavailable when the <em><strong>Disable password saving in vaults</strong></em> system setting is enabled.</td></tr><tr><td><strong>Test connection</strong></td><td>Test the connection to SQL Server with the current settings. Unavailable on macOS and Linux when <em><strong>Login mode</strong></em> is set to <em><strong>Windows authentication (Current user)</strong></em>.</td></tr></tbody></table>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.devolutions.net/rdm/knowledge-base/knowledge-base-articles/entry-settings/microsoft-sql-server.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
