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

# Aktivér godkendelse med nødkode til logon

Aktivér godkendelse med nødkode til logon i Devolutions Server, så administratorer kan logge på med en e-mailkode, når andre udbydere ikke er tilgængelige.

I Devolutions Server kan De aktivere funktionen til nødadgang, så administratorer kan logge på, selv om udbyderne er nede.

### Indstillinger

{% hint style="warning" %}
Bemærk, at en fungerende SMTP-server er obligatorisk for denne proces.
{% endhint %}

1. I webgrænsefladen for Devolutions Server skal De kontrollere, at der er konfigureret en e-mailserver (SMTP) under ***Administration – Serverindstillinger – E-mail***.
2. Aktivér funktionen ***Aktivér godkendelse med nødkode*** under ***Administration – Serverindstillinger – Godkendelse***.
3. Under ***Administration – Brugere – Generelt*** skal De aktivere indstillingen ***Aktivér nødlogon*** for hver administrator.

{% hint style="warning" %}
Brugeren skal være administrator. Administratorrettigheder kun via ***brugergrupper*** virker ikke. Hver administrator skal konfigurere en e-mail for at modtage nødkoden.
{% endhint %}

### Oplevelse for slutbrugeren

Ved logon bliver muligheden for at foretage et ***nødlogon*** tilgængelig.

1. Klik på ***Nødlogon***.
2. Angiv et ***brugernavn***, og klik på ***Anmod om nødkode***.

{% hint style="info" %}
For Active Directory-systemer skal ***brugernavnet*** angives i formatet User Principal Name (UPN). Det betyder, at brugernavnet efterfølges af snabel-a og navnet på det internetdomæne, som brugeren er tilknyttet.
{% endhint %}

3. Indsæt den nødkode, der er modtaget via e-mail, og klik på ***Log på***.

Der vises en log i revisionen og i administrationsmailen om, at der blev brugt et nødlogon.


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.devolutions.net/server/da/knowledge-base/how-to-articles/enable-emergency-login-code-authentication.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
