> 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/getting-started/workspaces/workspace-types/alternative-workspaces/microsoft-sql-server/configure-a-microsoft-sql-server-workspace.md).

# Configure a Microsoft SQL Server workspace

Configure a Microsoft SQL Server workspace in Remote Desktop Manager, from database creation to setting the administrator account login.

1. Install Microsoft SQL Server or Microsoft SQL Server Express.

{% hint style="info" %}
Newly installed Microsoft SQL Server instances do not allow remote connections. Please follow the directions in SQL Server.For added security, you can enable SSL Encryption to communicate with your instance of SQL Server. However, due to a framework limitation, this is not compatible with our iOS and Android versions of Remote Desktop Manager. Please follow directions on [Configure SQL Server Database Engine for encrypting connections](https://learn.microsoft.com/en-US/sql/database-engine/configure-windows/configure-sql-server-encryption).
{% endhint %}

2. Follow the steps in [Create a workspace](/rdm/getting-started/workspaces/create-a-workspace.md). On Step 4, after having configured the connection settings but before testing the server or otherwise verifying the connection, continue with the steps below.
3. Select the ***Upgrade*** tab and click the ***Create database*** button. If the database is already created on the Microsoft SQL Server, click the ***Update database*** button to add the appropriate tables to the database.
4. Once the database is created, create an administrator account for the database via the ***Administration – Users*** menu.

{% hint style="info" %}
If the database is created using a system administrator (example: SA), we recommend to keep this user only for the database creation and the [database upgrade](/rdm/getting-started/installation/database-upgrade.md). A Remote Desktop Manager administrator account must be created first. Then, regular users are created with this administrator account.
{% endhint %}

{% hint style="info" %}
Integrated security authentication mode is not officially supported on Remote Desktop Manager for Linux.
{% endhint %}

5. Connect to the Microsoft SQL Server database with the Remote Desktop Manager administrator account. To do so, edit the workspace used to create the database and change the login information for the administrator account created with Remote Desktop Manager.

The Microsoft SQL Server workspace is now correctly configured.


---

# 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/getting-started/workspaces/workspace-types/alternative-workspaces/microsoft-sql-server/configure-a-microsoft-sql-server-workspace.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.
