> 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/it/knowledge-base/how-to-articles/convert-microsoft-sql-server-workspace-to-contained.md).

# Convertire uno spazio di lavoro Microsoft SQL Server in contained

Gli amministratori potrebbero voler convertire il proprio spazio di lavoro Microsoft SQL Server da non indipendente a indipendente, consentendo all'autenticazione di viaggiare con il database anziché essere gestita a livello di server.

{% hint style="danger" %}
È necessario implementare un'adeguata strategia di backup dello spazio di lavoro per prevenire possibili perdite di dati.
{% endhint %}

1\. Configuri il proprio SQL Server per consentire i database indipendenti:

![](https://cdnweb.devolutions.net/docs/INTERFACE4086.png)

{% hint style="info" %}
Se l'ultimo comando restituisce un messaggio di errore, utilizzi il comando `sp_who2` per trovare lo SPID delle connessioni aperte.
{% endhint %}

2. Crei un utente amministratore per il database SQL:

![](https://cdnweb.devolutions.net/docs/INTERFACE4087.png)

3. Tornato in Remote Desktop Manager, nella scheda ***Generale*** del suo spazio di lavoro, cambi il tipo in ***Microsoft Azure SQL*** e imposti un ***Nome utente*** e una ***Password***. Clicchi su ***Salva***.

![](https://cdnweb.devolutions.net/docs/RDMW4290_2025_1.png)

3. Vada alla scheda ***Avanzate***, clicchi su ***Altre impostazioni*** e imposti il valore dell'impostazione ***Encrypt*** su ***false***. Clicchi su ***Ok*** per chiudere la finestra, quindi ***Salvi*** la modifica.

![](https://cdnweb.devolutions.net/docs/RDMW4289_2025_1.png)

5. Quindi, spunti la casella ***Utente di database indipendente (consigliato)*** ogni volta che [crea un nuovo utente](/rdm/it/ribbon-menu-bar/administration/user-management.md) per questo spazio di lavoro.

![](https://cdnweb.devolutions.net/docs/RDMW4291_2025_1.png)


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.devolutions.net/rdm/it/knowledge-base/how-to-articles/convert-microsoft-sql-server-workspace-to-contained.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
