> 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/server/it/knowledge-base/how-to-articles/enable-emergency-login-code-authentication.md).

# Abilitare l'autenticazione con codice di accesso di emergenza

In Devolutions Server è possibile abilitare la funzionalità di accesso di emergenza per consentire l'accesso agli amministratori anche se i provider non sono disponibili.

### Impostazioni

{% hint style="warning" %}
Si noti che un server SMTP funzionante è obbligatorio per questo processo.
{% endhint %}

1. Nell'interfaccia Web di Devolutions Server, verifichi di avere un server email (SMTP) configurato in ***Amministrazione – Impostazioni del server – Email***.
2. Abiliti la funzionalità ***Abilita autenticazione con codice di emergenza*** in ***Amministrazione – Impostazioni del server – Autenticazione***.

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

3. In ***Amministrazione – Utenti – Generale***, abiliti l'opzione ***Abilita accesso di emergenza*** per ogni amministratore.

{% hint style="warning" %}
L'utente deve essere un amministratore. Avere i diritti di amministratore solo tramite un ***Gruppi di utenti*** non funzionerà. Ogni amministratore dovrà configurare un'email per ricevere il codice di emergenza.
{% endhint %}

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

### Esperienza dell'utente finale

Al momento dell'accesso, sarà disponibile l'opzione per eseguire un ***Accesso di emergenza***.

1. Clicchi su ***Accesso di emergenza***.

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

2. Inserisca un ***Nome utente*** e clicchi su ***Richiedi codice di emergenza***.

{% hint style="info" %}
Per i sistemi Active Directory, il ***Nome utente*** deve essere inserito seguendo il formato User Principal Name (UPN). Ciò significa che lo "username" è seguito dalla "chiocciola" seguita dal nome del dominio Internet a cui l'utente è associato.
{% endhint %}

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

3. Incolli il codice di emergenza, ricevuto via email, e clicchi su ***Accedi***.

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

Nell'audit e nell'email di amministrazione verrà mostrato un log che indica l'utilizzo di un accesso di emergenza.


---

# 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/server/it/knowledge-base/how-to-articles/enable-emergency-login-code-authentication.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.
