Enabling Remote Desktop Connections
- 최종 업데이트2020/05/06
Enabling Remote Desktop Connections
This topic provides information about using Remote Desktop applications to run your automated processes.
Running Automated Tasks under a Minimized Session
When you minimize a remote desktop window (the window that displays the desktop of the remote computer), the operating system switches the remote session to the non-GUI mode and does not display windows and controls.
As a result, Automation Anywhere is unable to interact with the application GUI. At this point, the automated GUI task fails.
To run GUI tasks on a remote computer while minimizing the remote desktop window, change the registry keys on the computer from which you connect to the remote Automation Anywhere workstation. Complete the following steps:
- Log into the computer from which you connect to remote computers.
- Close all open remote desktop sessions.
- Click Start -> Run (or Windows + R).
- In the Run dialog window, type "regedit" and press Enter.
The Registry Editor starts.
- Navigate to one of the following registry keys, depending on whether you want to
modify the remote desktop settings only for the current user or for all users on the
computer:
- HKEY_CURRENT_USER\Software\Microsoft\Terminal Server Client
- HKEY_LOCAL_MACHINE\Software\Microsoft\Terminal Server Client
- Create a DWORD value named RemoteDesktop_SuppressWhenMinimized and set it to 2.
When you minimize the Remote Desktop Connection window on your computer, the remote computer GUI should not be affected, making the GUI available to your automated tasks.
- Close the Registry Editor.
Using VNC - An alternative to Remote Desktop
In general, Remote Desktop applications do not allow automation software to run or perform tasks when you minimize or close the window. Remote Desktop creates a session for every connection made to the remote machine. Under this session, it provides the connecting machine with complete rights to control the remote machine.
However, when disconnecting from or minimizing the remote window, Remote Desktop retrieves the rights and any access to the GUI of the remote machine is lost. This causes automated tasks to lose control of the remote system, and they do not run as expected.
- VNC establishes connections with the remote system in a different manner from Remote Desktop. VNC physically connects to the remote system, rather than creating sessions for each connection. The connection retains controls on the remote GUI, even when the VNC window is minimized or disconnected.
- Your automated tasks can continue to run in the same manner as they do on a local machine.