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

# Remote Desktop Manager typing macro to perform authentication

{% tabs %}
{% tab title="Windows" %}
With Remote Desktop Manager, it is possible to send credentials through a typing macro using variables.

1. Open the ***Properties*** of a ***Website*** session entry. In the left menu, make sure you are in ***Common – General***.
2. Click the ***Login*** tab to access the ***Settings*** section.
3. Enable ***Autofill login*** and disable ***Auto submit***.

   <figure><img src="https://cdnweb.devolutions.net/docs/docs_en_kb_KB4835.png" alt=""><figcaption></figcaption></figure>
4. In the left menu, navigate to ***Security – Security settings***.
5. Under ***Password***, enable ***Allow password in variable***. This option needs to be enabled to send the password to the remote session.

   <div data-gb-custom-block data-tag="hint" data-style="warning" class="hint hint-warning"><p>If the option is greyed out, you need to activate <em><strong>Allow password variables for all entries</strong></em> and <em><strong>Allow password variable in macros</strong></em> in <em><strong>Administration – System settings – Password Policy</strong></em>.Also, if you are using the <em><strong>Linked (vault)</strong></em> credential mode in your entry, you will need to enable the <em><strong>Allow password in variable</strong></em> option in the linked credential entry as well.</p></div>

   <figure><img src="https://cdnweb.devolutions.net/docs/RDMW2083_2024_3.png" alt=""><figcaption></figcaption></figure>
6. In the left menu, navigate to ***Connection – Events***.
7. Click on the ***After Open*** tab. In the ***Typing macro*** section, paste the following: `$USERNAME${TAB}$PASSWORD${ENTER}`.

   <figure><img src="https://cdnweb.devolutions.net/docs/docs_en_kb_KB4837.png" alt=""><figcaption></figcaption></figure>
8. Click ***OK*** to save.
   {% endtab %}

{% tab title="macOS" %}

1. Select a ***Website*** session entry and click on ***Edit entry*** in the ***Edit*** tab. Under ***General***, click on ***Website***, then on the ***Login*** tab. Enable ***Autofill login*** and disable ***Auto submit***.

<figure><img src="https://cdnweb.devolutions.net/docs/RDMM2011_2024_3.png" alt=""><figcaption></figcaption></figure>

2. In ***Security – Security settings***, enable ***Allow password in variable***. This option needs to be enabled to send the password to the remote session.

<figure><img src="https://cdnweb.devolutions.net/docs/RDMM2009_2024_3.png" alt=""><figcaption></figcaption></figure>

3. In ***Connection – Events***, click on the ***After open*** tab and add in the ***Typing macro*** section: `$USERNAME${TAB}$PASSWORD${ENTER}`.

<figure><img src="https://cdnweb.devolutions.net/docs/RDMM2010_2024_3.png" alt=""><figcaption></figcaption></figure>

4. Click on ***Save***.
   {% 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.devolutions.net/rdm/knowledge-base/how-to-articles/remote-desktop-manager-typing-macro-to-perform-authentication.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
