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

# Activer l'authentification par code de connexion d'urgence

Dans Devolutions Server, vous pouvez activer la fonctionnalité d'accès d'urgence afin de permettre la connexion des administrateurs même si les fournisseurs sont hors service.

### Paramètres

{% hint style="warning" %}
Veuillez noter qu'un serveur SMTP fonctionnel est obligatoire pour ce processus.
{% endhint %}

1. Dans l'interface Web de Devolutions Server, vérifiez que vous avez un serveur de courriel (SMTP) configuré sous ***Administration – Paramètres du serveur – Courriel***.
2. Activez la fonctionnalité ***Activer l'authentification par code d'urgence*** dans ***Administration – Paramètres du serveur – Authentification***.

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

3. Dans ***Administration – Utilisateurs – Général***, activez l'option ***Activer la connexion d'urgence*** pour chaque administrateur.

{% hint style="warning" %}
L'utilisateur doit être un administrateur. Avoir des droits d'administrateur uniquement par l'intermédiaire d'un ***Groupe d'utilisateurs*** ne fonctionnera pas. Chaque administrateur devra configurer un courriel pour recevoir le code d'urgence.
{% endhint %}

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

### Expérience de l'utilisateur final

À la connexion, l'option de faire une ***Connexion d'urgence*** devient disponible.

1. Cliquez sur ***Connexion d'urgence***.

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

2. Saisissez un ***Nom d'utilisateur*** et cliquez sur ***Demander un code d'urgence***.

{% hint style="info" %}
Pour les systèmes Active Directory, le ***Nom d'utilisateur*** doit être saisi selon le format User Principal Name (UPN). C'est-à-dire que le « nom d'utilisateur » est suivi de l'« arobase », puis du nom du domaine Internet auquel l'utilisateur est associé.
{% endhint %}

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

3. Collez le code d'urgence, reçu par courriel, et cliquez sur ***Connexion***.

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

Un journal indiquant qu'une connexion d'urgence a été utilisée sera affiché dans l'audit et dans le courriel d'administration.


---

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