> 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

Abiliti l'autenticazione con codice di accesso di emergenza in Devolutions Server affinché gli amministratori possano accedere tramite codice email quando gli altri provider non sono disponibili.

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 di posta (SMTP) configurato in ***Amministrazione – Impostazioni del server – Email***.
2. Abiliti la funzionalità ***Abilita autenticazione con codice di emergenza*** in ***Amministrazione – Impostazioni del server – Autenticazione***.
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 ***Gruppo di utenti*** non funzionerà. Ogni amministratore dovrà configurare un indirizzo email per ricevere il codice di emergenza.
{% endhint %}

### Esperienza dell'utente finale

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

1. Clicchi su ***Accesso di emergenza***.
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 il "nome utente" è seguito dalla "chiocciola" seguita dal nome del dominio Internet a cui l'utente è associato.
{% endhint %}

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

Un registro indicante l'utilizzo di un accesso di emergenza verrà mostrato nell'audit e nell'email di amministrazione.


---

# 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.
