> 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/sending-windows-credentials-to-teamviewer.md).

# Afsendelse af Windows-legitimationsoplysninger til TeamViewer

Automatiser Windows-logon i TeamViewer-sessioner ved at bruge en indtastningsmakro med legitimationsvariabler i Remote Desktop Manager.

Mange brugere har bedt om muligheden for at automatisere logonprocessen på et Windows-system via TeamViewer.

Da vi ikke kan sende adgangskoden automatisk inde i TeamViewer-sessionen, skal De gøre det med en indtastningsmakro.

1. Åbn Remote Desktop Manager.
2. Tilføj en ny post, og vælg ***Indtastningsmakro*** under ***Makro/script/værktøj***.
3. Angiv ***$USERNAME${TAB}$PASSWORD${TAB}{ENTER}*** i det generelle felt for indtastningsmakroen.

   <div data-gb-custom-block data-tag="hint" data-style="info" class="hint hint-info"><p>Bemærk, at den <em><strong>indledende ventetid</strong></em> er konfigureret til 5 sekunder. Det varierer afhængigt af den enkelte brugers system.</p></div>
4. Klik på ***Tilføj*** for at gemme.
5. Åbn posten ***Administration af legitimationsoplysninger***.

De kan oprette en post ***Administration af legitimationsoplysninger*** i Remote Desktop Manager ved at klikke på ***Tilføj en ny post – Administration af legitimationsoplysninger*** og vælge ***Brugernavn/adgangskode***.

6. Gå til egenskaberne for legitimationsposten, og aktivér ***Tillad adgangskode i variabel*** under ***Sikkerhedsindstillinger***.
7. Klik på ***Opdater*** for at gemme.

### Devolutions Server og Devolutions Cloud

Hvis De har en Devolutions Server eller Devolutions Cloud, skal De aktivere ***Tillad adgangskodevariabel i makroer***.

1. Gå til ***Administration – Systemindstillinger*** i båndet i Remote Desktop Manager.
2. Vælg ***Adgangskodeadministration – Adgangskodepolitik – Tillad adgangskodevariabel i makroer***.

Det næste trin sker, når TeamViewer-sessionen er åben, og legitimationsoplysningerne er klar til at blive angivet.

3. Højreklik på legitimationsposten, og vælg ***Makroer/scripts/værktøjer - Send legitimationsoplysninger*** (eller det navn, De gav posten).

Sæt til sidst musemarkøren i det relevante logonfelt, så klarer indtastningsmakroen resten.

### Id angivet i stedet for legitimationsoplysninger i TeamViewer-posten

Hvis De har angivet et id i stedet for legitimationsoplysninger i TeamViewer-posten, kræves variablen ***$TOOL\_PASSWORD$***.

1. Åbn Remote Desktop Manager.
2. Tilføj en ny post, og vælg ***Indtastningsmakro*** under ***Makro/script/værktøj***.
3. Angiv ***$TOOL\_PASSWORD${TAB}{ENTER}*** i det generelle felt for indtastningsmakroen.
4. Klik på ***Tilføj*** for at gemme.
5. Gå til egenskaberne for TeamViewer-posten, og vælg ***Hændelser – Efter åbning***.
6. Udfør en makro automatisk enten ved at skrive makroen eller ved at knytte til en makropost.
7. Klik på ***Opdater***.

Den post, hvor makroen ***$TOOL\_PASSWORD$*** henter legitimationsoplysningerne, skal være tilknyttet.

8. Rediger TeamViewer-posten, og gå til ***Administrationsværktøjer***.
9. Vælg ***Tilknyttet (boks)*** og posten i rullemenuerne ***Legitimationsoplysninger***.
10. Klik på ***Opdater*** for at gemme.


---

# 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/sending-windows-credentials-to-teamviewer.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.
