> 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/troubleshooting-articles/auto-typing-macro-not-working-in-rdp-entry.md).

# Auto typing macro not working in RDP entry

If your auto typing macro no longer works with an RDP entry, the issue may be that Remote Desktop Manager does not automatically focus on the RDP session tab when the connection is established. As a result, the macro is sent to the wrong window.

#### Solution

Configure Remote Desktop Manager to automatically focus the RDP session when connecting:

1. In Remote Desktop Manager, go to ***File*** – ***Settings***.
2. Navigate to ***Entry types*** – ***Sessions*** – ***Remote Desktop (RDP)***.
3. Under the ***Advanced*** section, enable ***Grab focus on connect***.
4. Click ***Save*** to apply your changes.

Once enabled, Remote Desktop Manager will automatically bring the RDP session tab into focus when connecting, allowing the auto typing macro to execute correctly.


---

# 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/troubleshooting-articles/auto-typing-macro-not-working-in-rdp-entry.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.
