> 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/rdm/da/knowledge-base/how-to-articles/remote-desktop-manager-typing-macro-to-perform-authentication.md).

# Indtastningsmakro i Remote Desktop Manager til at udføre godkendelse

Konfigurer en indtastningsmakro i Remote Desktop Manager til automatisk at udfylde logonlegitimationsoplysninger i en webstedssessionspost på Windows og macOS.

{% tabs %}
{% tab title="Windows" %}
Med Remote Desktop Manager er det muligt at sende legitimationsoplysninger via en indtastningsmakro ved hjælp af variabler.

1. Åbn ***Egenskaber*** for en sessionspost af typen ***Websted***. I menuen til venstre skal De sikre, at De er under ***Fælles – Generelt***.
2. Klik på fanen ***Logon*** for at få adgang til afsnittet ***Indstillinger***.
3. Aktivér ***Automatisk udfyldning af logon***, og deaktiver ***Automatisk send***.
4. I menuen til venstre skal De gå til ***Sikkerhed – Sikkerhedsindstillinger***.
5. Under ***Adgangskode*** skal De aktivere ***Tillad adgangskode i variabel***. Denne valgmulighed skal være aktiveret for at sende adgangskoden til fjernsessionen.

   <div data-gb-custom-block data-tag="hint" data-style="warning" class="hint hint-warning"><p>Hvis valgmuligheden er nedtonet, skal De aktivere <em><strong>Tillad adgangskodevariabler for alle poster</strong></em> og <em><strong>Tillad adgangskodevariabel i makroer</strong></em> under <em><strong>Administration – Systemindstillinger – Adgangskodepolitik</strong></em>. Hvis De bruger legitimationsoplysningstilstanden <em><strong>Tilknyttet (boks)</strong></em> i posten, skal De også aktivere valgmuligheden <em><strong>Tillad adgangskode i variabel</strong></em> i den tilknyttede legitimationspost.</p></div>
6. I menuen til venstre skal De gå til ***Forbindelse – Hændelser***.
7. Klik på fanen ***Efter åbning***. I afsnittet ***Indtastningsmakro*** skal De indsætte følgende: `$USERNAME${TAB}$PASSWORD${ENTER}`.
8. Klik på ***OK*** for at gemme.
   {% endtab %}

{% tab title="macOS" %}

1. Vælg en sessionspost af typen ***Websted***, og klik på ***Rediger post*** på fanen ***Rediger***. Under ***Generelt*** skal De klikke på ***Websted*** og derefter på fanen ***Logon***. Aktivér ***Automatisk udfyldning af logon***, og deaktiver ***Automatisk send***.
2. Under ***Sikkerhed – Sikkerhedsindstillinger*** skal De aktivere ***Tillad adgangskode i variabel***. Denne valgmulighed skal være aktiveret for at sende adgangskoden til fjernsessionen.
3. Under ***Forbindelse – Hændelser*** skal De klikke på fanen ***Efter åbning*** og tilføje følgende i afsnittet ***Indtastningsmakro***: `$USERNAME${TAB}$PASSWORD${ENTER}`.
4. Klik på ***Gem***.
   {% endtab %}
   {% endtabs %}


---

# 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/rdm/da/knowledge-base/how-to-articles/remote-desktop-manager-typing-macro-to-perform-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.
