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

# Activar la autenticación con código de inicio de sesión de emergencia

En Devolutions Server puede habilitar la función de acceso de emergencia para permitir el inicio de sesión de los administradores incluso si los proveedores están caídos.

### Configuración

{% hint style="warning" %}
Tenga en cuenta que es obligatorio disponer de un servidor SMTP operativo para este proceso.
{% endhint %}

1. En la interfaz web de Devolutions Server, compruebe que tiene un servidor de correo (SMTP) configurado en ***Administration – Server settings – Email***.
2. Habilite la función ***Enable emergency code authentication*** en ***Administration – Server settings – Authentication***.

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

3. En ***Administration – Users – General***, habilite la opción ***Enable emergency login*** para cada administrador.

{% hint style="warning" %}
El usuario debe ser administrador. Tener derechos de administrador únicamente a través de un ***User groups*** no funcionará. Cada administrador tendrá que configurar un correo electrónico para recibir el código de emergencia.
{% endhint %}

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

### Experiencia del usuario final

Al iniciar sesión, la opción de realizar un ***Emergency login*** estará disponible.

1. Haga clic en ***Emergency Login***.

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

2. Introduzca un ***Username*** y haga clic en ***Request emergency code***.

{% hint style="info" %}
Para los sistemas de Active Directory, el ***Username*** debe introducirse siguiendo el formato de nombre principal de usuario (UPN). Es decir, el «username» va seguido de la «arroba» y del nombre del dominio de Internet con el que está asociado el usuario.
{% endhint %}

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

3. Pegue el código de emergencia recibido por correo electrónico y haga clic en ***Log in***.

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

Se mostrará un registro en la auditoría y en el correo electrónico de administración indicando que se ha utilizado un inicio de sesión de emergencia.


---

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