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

# Authentifizierung mit Notfall-Anmeldecode aktivieren

Aktivieren Sie die Authentifizierung mit Notfall-Anmeldecode in Devolutions Server, damit Administratoren sich per E-Mail-Code anmelden können, wenn andere Anbieter nicht verfügbar sind.

In Devolutions Server können Sie die Funktion für einen Notfallzugriff aktivieren, um Administratoren die Anmeldung zu ermöglichen, selbst wenn die Anbieter ausgefallen sind.

### Einstellungen

{% hint style="warning" %}
Bitte beachten Sie, dass für diesen Vorgang ein funktionsfähiger SMTP-Server zwingend erforderlich ist.
{% endhint %}

1. Überprüfen Sie in der Weboberfläche von Devolutions Server, dass unter ***Administration – Server settings – Email*** ein E-Mail-Server (SMTP) konfiguriert ist.
2. Aktivieren Sie die Funktion ***Enable emergency code authentication*** unter ***Administration – Server settings – Authentication***.
3. Aktivieren Sie unter ***Administration – Users – General*** die Option ***Enable emergency login*** für jeden Administrator.

{% hint style="warning" %}
Der Benutzer muss ein Administrator sein. Administratorrechte, die nur über ***User groups*** bestehen, funktionieren nicht. Jeder Administrator muss eine E-Mail-Adresse konfigurieren, um den Notfallcode zu erhalten.
{% endhint %}

### Erfahrung für Endbenutzer

Bei der Anmeldung wird die Option für eine ***Emergency login*** verfügbar.

1. Klicken Sie auf ***Emergency Login***.
2. Geben Sie einen ***Username*** ein und klicken Sie auf ***Request emergency code***.

{% hint style="info" %}
Bei Active Directory-Systemen muss der ***Username*** im Format des User Principal Name (UPN) eingegeben werden. Das bedeutet, dass auf den "Benutzernamen" das "At-Zeichen" folgt, gefolgt vom Namen der Internetdomäne, der der Benutzer zugeordnet ist.
{% endhint %}

3. Fügen Sie den per E-Mail erhaltenen Notfallcode ein und klicken Sie auf ***Log in***.

Im Audit und in der Administrations-E-Mail wird ein Protokolleintrag angezeigt, dass eine Notfallanmeldung verwendet wurde.


---

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