> For the complete documentation index, see [llms.txt](https://docs.tailent.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tailent.com/remote-desktop-automation/setting-up-the-remote-context.md).

# Setting up the remote context

In order to run an automation with the Remote Desktop minimized, follow these steps:

Note: These steps must be done on the machine that runs the Remote Desktop, not the Remote Desktop itself.

Note: All instances of Remote Desktop must be closed.

1\) In the Windows search bar, type "run"(or Windows Key + R) and the following window should pop up:

<div align="left"><figure><img src="/files/qExcTIAVPUkiAi0WR5Ey" alt=""><figcaption><p>Run box</p></figcaption></figure></div>

In it, type "regedit" and press Ok.

2\) In the Registry Editor's search bar, type: "Computer\HKEY\_CURRENT\_USER\SOFTWARE\Microsoft\Terminal Server Client" and press Enter.

<figure><img src="/files/DAmpIseeqVSTGmMgjcp6" alt=""><figcaption></figcaption></figure>

3\) In the folder that you have just opened, right click -> select "New" -> select "DWORD (32-bit) Value"

<figure><img src="/files/PSjZen7igcU7CggEdqpC" alt=""><figcaption></figcaption></figure>

Change the name of the newly created file to "RemoteDesktop\_SuppressWhenMinimized"

4\) Open the file and in the "Value data" field, put 2 (it's 0 by default).

<figure><img src="/files/N1iUfRQu5lfEYTclnObd" alt=""><figcaption></figcaption></figure>

Click "OK" to save

5\) Restart the PC.
