# Install RDP

Let's consider an example of a robot that demonstrates how to install a program on remote computers via RDP, working with RDP sessions sequentially and in parallel, as well as connecting to an already open RDP session.

The main project diagram looks like this (for convenience, the blocks of the diagram are numbered):

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXcm4Phb0yVKnLUk2jmGenT44DpCAmlEyeXMk-r2kUNrpNsWm003QMblIfzTJ8IzdWVD_a29T6Cl055Qx809jI_IKq-XIqs5lN2vzeGUMomYIfl2mUW6trpahpxMMfzOl_sAbUb7WQ?key=TMyE3Z4vpe5xrsGss5URen6M" alt=""><figcaption></figcaption></figure>

**Note:** *In some diagrams, there are no connecting lines; in this case, it indicates that the robot has three operating modes, and depending on the selected mode, the connecting line should be moved to see how the diagram will work in another mode.*

1. **Block "Start"** (any diagram begins from this block).
2. **Block "Copy files to clipboard"** allows saving files from the list or a single file to the clipboard. This block has one property "Files/File" (a list of file paths or a path to a single file).

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXctHwStddHShncG_BcGQ2CHBa2m5cUvcJyyXWU-WjO9HAM20kWec6tgQfI485R4ozoTqfz6ZYuCk05piM5aCoyQ3BXL83hYcNu0Kh0hS6EuAxEMyw4WR0VjORCbhHODMXzXMkcxqw?key=TMyE3Z4vpe5xrsGss5URen6M" alt=""><figcaption></figcaption></figure>

3. **Block "Process"** allows creating scenarios consisting of several diagrams. The execution of the scenario will continue from the "Start" block of the specified project diagram. The execution of the scenario will return to the current block and continue in the current diagram as soon as the "End" block in the external diagram is reached. For the "Process" block, the property "Diagram name" is specified (the name of the diagram file where the execution of the scenario will continue, in this case: Sequentially).

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXcoXf3LtwCXGWoPiUGuKAa7cxmWRm61NjUTvTMEfVFuQ1lb7vayDvlGVRIbFeJeFQYcofh1x-YmqayuuQlLRnYRzD-bQb7zsQfq1b0OT8W-_AIKF9niFWiYariRQ6_uU2cVU4NCpg?key=TMyE3Z4vpe5xrsGss5URen6M" alt=""><figcaption></figcaption></figure>

4. **Block "Process"** allows creating scenarios consisting of several diagrams. The execution of the scenario will continue from the "Start" block of the specified project diagram. The execution of the scenario will return to the current block and continue in the current diagram as soon as the "End" block in the external diagram is reached. For the "Process" block, the property "Diagram name" is specified (the name of the diagram file where the execution of the scenario will continue, in this case: In Parallel).

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXf8FoEvuCx828X6ai9h09bcYzNN8wD0zOgx-QDt-lOKWCnUd5_E5vAsJCLON6PzyF2te0bfONb2nA1gFsoBhvs21iRyH2sxibN7XbIWMgUIqgicfjUtEH_jChP2LN2-AQK9ytVELg?key=TMyE3Z4vpe5xrsGss5URen6M" alt=""><figcaption></figcaption></figure>

5. **Block "Process"** allows creating scenarios consisting of several diagrams. The execution of the scenario will continue from the "Start" block of the specified project diagram. The execution of the scenario will return to the current block and continue in the current diagram as soon as the "End" block in the external diagram is reached. For the "Process" block, the property "Diagram name" is specified (the name of the diagram file where the execution of the scenario will continue, in this case: Connection).

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXeYrwZF4mhVoD2NNzTnhMzZKJmGWRviergSSxogLX0je-CKYROBJ3yvkocyBgih2WQIUhgF7T_avYYpDxasXPPAc6Oma4NNlSuVWBSocZQxtF27qfYCLqdgioSKO53zw1QoZWLF?key=TMyE3Z4vpe5xrsGss5URen6M" alt=""><figcaption></figcaption></figure>

6. 7. and 8. **Block "End"** (this block completes the execution of the scenario or returns the subprocess diagram to the main process).

**Diagram "Copy file to RDP"**\
This diagram was partially created using the [“Recording” Sherpa Designer](https://docs.sherparpa.ru/en/sherpa-rpa/sherpa-designer/rabota-v-sherpa-designer/osnovnoe-menyu/panel-razrabotka/menyu-zapis/zapis-deistvii-polzovatelya). The diagram demonstrates the process of copying a file from the clipboard to RDP.<br>

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXckWf1bRFPVJtjJxdNN8xR1zlPFdb6vKiXrEAfjiJEgv3xygTd2jSijVNUNSHaL3ZhOJwXJKW8fU3PmAjNx0ktvpBQOZ8kC_tsj-v-m3Chklw7GJ6NeKEMtCq6YyZMOKTqmwHVa?key=TMyE3Z4vpe5xrsGss5URen6M" alt=""><figcaption></figcaption></figure>

1. **Block "Start"** (any diagram begins from this block).
2. **Block "Click Mouse"** allows emulating a click on a specified selector element of the application. This block has the following properties:

* Selector (identifier of the user interface element);
* Action (selecting the action, in this case, left mouse click);
* Process ID (a variable that stores the process identifier. Indicates which application to work with);
* Delay before (delay in seconds before executing the block);
* X Offset (relative click offset on the X coordinate from the top left corner of the element);
* Y Offset (relative click offset on the Y coordinate from the top left corner of the element).

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXeu64pdEaZg_w64EtXEm9M_o5a2_rPspd1iC6BY6s8T6xQw-WUcFi4WL_c67IPgiJiLmuCbVEUrYHyzzeMmyxtfIKSn1yn-U7Ske6oX8nepiXQhW-Lgl-rM3SCCY06iNRvJ__0iuA?key=TMyE3Z4vpe5xrsGss5URen6M" alt=""><figcaption></figcaption></figure>

3. **Block "Press Keys"** allows emulating key presses on the keyboard. This block has the following properties:

* Keys (the keys to be emulated, this property is set as a variable);
* Process ID (a variable that stores the process identifier and the browser tab used by this block);
* Interactive (when the flag is set, pauses will be inserted between key presses);
* Pause time (pause between key presses in milliseconds).

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXfzdYey023yGHQ63dqGVg0kG7AG17ZbXnYBLLihGp7E6r2EdgeHZoAr6p7c4PdgjMmDh32JoyS33ItTQ7jOhhyhOThn1QfCObwDAT3t4tG1TaxlmAOZqNsB8rZ3AIeBf1P6zJCz?key=TMyE3Z4vpe5xrsGss5URen6M" alt=""><figcaption></figcaption></figure>

4. **Block "End"** (this block completes the execution of the scenario or returns the subprocess diagram to the main process).

**Diagram "Install File"**

The "Install File" diagram was created using the "Recording" function of Sherpa Designer. In this case, by default, the required file is already on the desktop.

**Note:** *To specify which session to work with, it is necessary to assign the value of the session's $ProcessID to the variable $Connection. The session can be either created or connected.*

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXcrWngl0rtE8WzR6_mrLbID1zKlPcrjgpbs3PakWgr_JwjV3yfOYJEFnU9FRfe6ZFrQXUzDx6kfFsfETIO5y4J7Adg7NtNNAGaZjIzy-Lx6sj-8GG-vT22xMOPx_yvqCov8dETBTQ?key=TMyE3Z4vpe5xrsGss5URen6M" alt=""><figcaption></figcaption></figure>

**Diagram "Connection"**

This diagram demonstrates connecting to already existing RDP sessions.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXdX10yianMtHyVDpdubwZYJVOYfx9zO6msC5FzwvY5TDjBSF5Jil1j4B8Vbuzh7roLbNXmPx71RfxNVSuISl6wEHBM5vJPLZSgNRkmW6dXoE7AJ7DJ84yqcgHhVyUJNnLWcx3tulg?key=TMyE3Z4vpe5xrsGss5URen6M" alt=""><figcaption></figcaption></figure>

1. **Block "Start"** (any diagram begins from this block).
2. **Block "Connect to Session"** allows connecting to an already created RDP session. This block has one property "Server" (the name of the server with which the RDP connection is initialized, to which it should connect). The output is the process ID (a variable that stores the process identifier. Indicates which application to work with. If the specified application is minimized or its window is covered by other windows, it will be brought to the foreground. When working with browsers, the process ID additionally indicates the specific browser tab with which the block should work).

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXet8XNPP82N_tdIWj3f-mXPE4gO4pyUbt7g9PHKWaQ-QAJGXWwhYafGyI4crKvRawaZ3zOPyecCFXOEF_GW1kp10ckWqDViftZYW-u_ukmrYa7kWhCoPjTHEiXdwECr2OyWjnME3w?key=TMyE3Z4vpe5xrsGss5URen6M" alt=""><figcaption></figcaption></figure>

3. **Block "Log"** allows outputting arbitrary messages and/or variable values to the log during the execution of the robot's scenario. This block has the property "Value". A text constant is specified in quotes, and the variable name starts with the $ symbol. That is, this block logs the following message in case of an error: "Session not found".

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXeLObfLCNuLSb1TV8BnEOh39sKt4pjuvk91NM4TG2jDWPz7BbexRz-PINauPWvEgDFBXGJuNSa3JlxImaTuIiI0jgv0pjJaHZ0ZGFGyIM8KgVptxjg6kqwgpsYnb8hQCEH1MwKRMw?key=TMyE3Z4vpe5xrsGss5URen6M" alt=""><figcaption></figcaption></figure>

4. **Block "Assign Value to Variable"** sets new values for one or more variables. In this case, one value is specified in the properties, which needs to be assigned to one variable, accordingly.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXe3BU5r5Fx0GqCgvH47OPIu5CvzJNZk_usmFQ6qsBAmt2orRtxGAuQb0PrQPbh2sPqGm6kwhI2RfwUhy_ouSa-cm1f8UN0WQ0RnOtP-dnMnz0nlvfEPJnA0OA9Cpj6PgRip62cM?key=TMyE3Z4vpe5xrsGss5URen6M" alt=""><figcaption></figcaption></figure>

5. **Block "Process"** allows creating scenarios consisting of several diagrams. The execution of the scenario will continue from the "Start" block of the specified project diagram. The execution of the scenario will return to the current block and continue in the current diagram as soon as the "End" block in the external diagram is reached. For the "Process" block, the property "Diagram name" is specified (the name of the diagram file where the execution of the scenario will continue).

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXcdqG2MD_w2TU2j1GUIY1HbvBilXLmCxfz-iyVFYFAktTwIdzRqKduqHSMZZXpBtU-eZ1buAmjkG6sMlXzabEaiFZOyMrjejjz8nlCQ21PdMv0kg0z32Ywfq2t2qcpJmMwNMDkLVA?key=TMyE3Z4vpe5xrsGss5URen6M" alt=""><figcaption></figcaption></figure>

6. **Block "Process"** allows creating scenarios consisting of several diagrams. The execution of the scenario will continue from the "Start" block of the specified project diagram. The execution of the scenario will return to the current block and continue in the current diagram as soon as the "End" block in the external diagram is reached. For the "Process" block, the property "Diagram name" is specified (the name of the diagram file where the execution of the scenario will continue).

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXcXWxNDShUAr5I6Nr-pdnJncNLZ4Ofe_OFNOtc4PxOIS-gC7-dcE4H3Drunn-O-1TjwofgHx45_0dy7U1Ot3PW_ct0jE0_fZL5Bmt9NkNDgt09O1oCo5U9bI_HTAa_8xFzeDB19?key=TMyE3Z4vpe5xrsGss5URen6M" alt=""><figcaption></figcaption></figure>

7. **Block "End"** (this block completes the execution of the scenario or returns the subprocess diagram to the main process).

**Diagram "In Parallel"**

This diagram demonstrates parallel work with RDP sessions.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXfEoOI6VTXZiB2d_kuH_-SO55vyjvlIoJpF5laVH-J3KQ9nxrQOADYBSuiRnSjS_qrEI8Y0E7nzoB9tvA2ejVZghGpuo7sQXeuqAMMuseYCrwrlGlYlLpFVR0q_t_P94-wAf9xl2Q?key=TMyE3Z4vpe5xrsGss5URen6M" alt=""><figcaption></figcaption></figure>

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXfdljREcfeviKkX1GeEmcLXB8Wb-mViJjHlwU4AG1QgO2S7KHBPVP8C2OCmQ0OFYJ9Tpvz6zxufE7MncSekIor4v8bXkv0cyCb4lzgNJ8uflW5OpCt638HbyfqwlGjRKt8GQKKpaQ?key=TMyE3Z4vpe5xrsGss5URen6M" alt=""><figcaption></figcaption></figure>

1. **Block "Start"** (any diagram begins from this block).
2. **Block "Generate Connection"** allows generating a connection to a remote computer via RDP. The result of the block is a data string that is identical to the contents of the .rdp file. In this case, a connection is generated for the server "wintest1". This block has the following properties:

* Server (the server for connection, in this case, the domain is specified);
* Username (the username for authorization);
* Password (the password for authorization);
* Display settings (allows selecting the size in which the remote computer's screen will be initialized. Possible values: Full screen - full-screen mode; other values "Width"x"Height" of the screen);
* Clipboard redirection (when the flag is set, the local clipboard will be available on the remote machine);
* Connection quality (connection quality).

The output is a connection string (a data string for connecting to the remote computer. The content of the string is identical to the contents of .rdp files).

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXfNsy5HeySlI_KU3p-eMWVBaXZvy-PWBZHrOQrqCZtpM5LeF4Foqr7WZ74C-yaVhLEWjXhJUmr_0V3ssXtK_xzfGgwJYLVKmwhxsYXr8q4yJyM1ACx1Dm06p-7Qrhs0FBasr_sknQ?key=TMyE3Z4vpe5xrsGss5URen6M" alt=""><figcaption></figcaption></figure>

3. **Block "Generate Connection"** allows generating a connection to a remote computer via RDP. The result of the block is a data string that is identical to the contents of the .rdp file. In this case, a connection is generated for the server "winhome". This block has the following properties:

* Server (the server for connection, in this case, the domain is specified);
* Username (the username for authorization);
* Password (the password for authorization);
* Display settings (allows selecting the size in which the remote computer's screen will be initialized. Possible values: Full screen - full-screen mode; other values "Width"x"Height" of the screen);
* Clipboard redirection (when the flag is set, the local clipboard will be available on the remote machine);
* Connection quality (connection quality).

The output is a connection string (a data string for connecting to the remote computer. The content of the string is identical to the contents of .rdp files).

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXda9wIERLrDRULy-26ATf8RncGzaVgtrysoxIuzYZ9IifwztTY5s_UGAArk1x2R2QfnaCHf2ORgS_3BzGIljcQoe368pCMxR460t6sUqCBZ68vm-1NE_7g09HkHZy0_o4GQs-oEsQ?key=TMyE3Z4vpe5xrsGss5URen6M" alt=""><figcaption></figcaption></figure>

4. **Block "Generate Connection"** allows generating a connection to a remote computer via RDP. The result of the block is a data string that is identical to the contents of the .rdp file. In this case, a connection is generated for the server "winwork". This block has the following properties:

* Server (the server for connection, in this case, the domain is specified);
* Username (the username for authorization);
* Password (the password for authorization);
* Display settings (allows selecting the size in which the remote computer's screen will be initialized. Possible values: Full screen - full-screen mode; other values "Width"x"Height" of the screen);
* Clipboard redirection (when the flag is set, the local clipboard will be available on the remote machine);
* Connection quality (connection quality).

The output is a connection string (a data string for connecting to the remote computer. The content of the string is identical to the contents of .rdp files).

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXcFmh4kXK88oxslbSf-5q714LXW4i7lDk-9w98zfQs8a8eAaoVa_ipP_J9JEiki8pJQSnbIvKBSj8_-0MndocsupvUFoO-FJEFRAV7c06BKIrF9cNpjNK-WT7w7oZmDfORGM4e2Bw?key=TMyE3Z4vpe5xrsGss5URen6M" alt=""><figcaption></figcaption></figure>

5. **Block "Create Connection"** allows creating a connection to a remote computer via the RDP protocol. This block has the property "Connection String" (the connection string to the rdp file, here the connection string generated by the "Generate Connection" block from the same category is specified). The output is the process ID (a variable that stores the process identifier. Indicates which application to work with. If the specified application is minimized or its window is covered by other windows, it will be brought to the foreground. When working with browsers, the process ID additionally indicates the specific browser tab with which the block should work).

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXcanT-RlDrJDsc4hhNkiGxsINRjhTswTPFvL5yGtD1SX3KiN4FlJPUWizgcfty1xGpBr2qs6a974bePv14aY2vwd_0lslkOiW6PHGnFMqzfWppV4dtyduJB-VD4ZxOVsfCBqros?key=TMyE3Z4vpe5xrsGss5URen6M" alt=""><figcaption></figcaption></figure>

6. **Block "Create Connection"** allows creating a connection to a remote computer via the RDP protocol. This block has the property "Connection String" (the connection string to the rdp file, here the connection string generated by the "Generate Connection" block from the same category is specified). The output is the process ID (a variable that stores the process identifier. Indicates which application to work with. If the specified application is minimized or its window is covered by other windows, it will be brought to the foreground. When working with browsers, the process ID additionally indicates the specific browser tab with which the block should work).

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXdB6xn2e7yyrlJ-qHXR_23h7pGaL-IR8fF8Yb09bouhdPLJGgprgsnexO-RSBD711NFzC6GX4h9Z3E894HyScNK43twWx_cx8ftNtU6WIdsxjjzhxeKt86AgJV6IOQ23VUqzii8?key=TMyE3Z4vpe5xrsGss5URen6M" alt=""><figcaption></figcaption></figure>

7. **Block "Create Connection"** allows creating a connection to a remote computer via the RDP protocol. This block has the property "Connection String" (the connection string to the rdp file, here the connection string generated by the "Generate Connection" block from the same category is specified). The output is the process ID (a variable that stores the process identifier. Indicates which application to work with. If the specified application is minimized or its window is covered by other windows, it will be brought to the foreground. When working with browsers, the process ID additionally indicates the specific browser tab with which the block should work).

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXf3fI-oBJu5dflsQNm2KtHWyPra6HInN4JxdzHOKqEvamJQcxvcowjx-cUAB-gWG281KdWaNvcjk8BOfPXG9kznHfdLz6Koh09U-T_gTIiGdWD1mEzTRYSIIf4kp7cMpXm174ozGQ?key=TMyE3Z4vpe5xrsGss5URen6M" alt=""><figcaption></figcaption></figure>

8. **Block "Assign Value to Variable"** sets new values for one or more variables. In this case, one value is specified in the properties, which needs to be assigned to one variable, accordingly.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXfU60GpHqAMamybJhykd3EhzIv13ctcEvnUD3zsihTMpJLmJKPDNdpyErrkhMDisThXKnghCW7o6is-IwtrQPwNFl6Q_wHKUgThaCXyaPrtLr8PXe_GOYkZA6cMOyjHGT-Cau9jCw?key=TMyE3Z4vpe5xrsGss5URen6M" alt=""><figcaption></figcaption></figure>

9. **Block "Process"** allows creating scenarios consisting of several diagrams. The execution of the scenario will continue from the "Start" block of the specified project diagram. The execution of the scenario will return to the current block and continue in the current diagram as soon as the "End" block in the external diagram is reached. For the "Process" block, the property "Diagram name" is specified (the name of the diagram file where the execution of the scenario will continue).

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXeshq10yPyQWyXMnBQRLkn7Gjr_pzFdDxGSt4317wb-hSAw1YtV5tvd7n-9MWVsXXsHdtk5ANNkyFCTnNdLxdu85mwdAHroOH_OJs6Q7IYhrREIIlWyo9zTe3WnJkW4XsdSe1Outg?key=TMyE3Z4vpe5xrsGss5URen6M" alt=""><figcaption></figcaption></figure>

10. **Block "Assign Value to Variable"** sets new values for one or more variables. In this case, one value is specified in the properties, which needs to be assigned to one variable, accordingly.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXcygCPjfYeEa20yFubWxEsX7K6QlUCzK0sJIXhNCPKVel8VP19Effr213EcCx-u5T2MJ6A9o-AXEa9yyB4jPRqbe3-nX-Q8yW3YrFyMsNv5vLf4Wyg7qlpqm9Tv5FnzFy1NTllNLw?key=TMyE3Z4vpe5xrsGss5URen6M" alt=""><figcaption></figcaption></figure>

11. **Block "Process"** allows creating scenarios consisting of several diagrams. The execution of the scenario will continue from the "Start" block of the specified project diagram. The execution of the scenario will return to the current block and continue in the current diagram as soon as the "End" block in the external diagram is reached. For the "Process" block, the property "Diagram name" is specified (the name of the diagram file where the execution of the scenario will continue).

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXcTTCWI4gAmgIJyQUjYzO6ZFckDRRBV4NphBMfPiFCEN-J_0KG1BKvKGMuPHVoaxF_RHOl8qCxE8mWnjjmLdtu66SflwuQp82pY-8Qer8rnPLKXugs2x0zYWCSerdmoQS8cVnXB?key=TMyE3Z4vpe5xrsGss5URen6M" alt=""><figcaption></figcaption></figure>

12. **Block "Assign Value to Variable"** sets new values for one or more variables. In this case, one value is specified in the properties, which needs to be assigned to one variable, accordingly.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXcTTCWI4gAmgIJyQUjYzO6ZFckDRRBV4NphBMfPiFCEN-J_0KG1BKvKGMuPHVoaxF_RHOl8qCxE8mWnjjmLdtu66SflwuQp82pY-8Qer8rnPLKXugs2x0zYWCSerdmoQS8cVnXB?key=TMyE3Z4vpe5xrsGss5URen6M" alt=""><figcaption></figcaption></figure>

13. **Block "Process"** allows creating scenarios consisting of several diagrams. The execution of the scenario will continue from the "Start" block of the specified project diagram. The execution of the scenario will return to the current block and continue in the current diagram as soon as the "End" block in the external diagram is reached. For the "Process" block, the property "Diagram name" is specified (the name of the diagram file where the execution of the scenario will continue).

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXcTTCWI4gAmgIJyQUjYzO6ZFckDRRBV4NphBMfPiFCEN-J_0KG1BKvKGMuPHVoaxF_RHOl8qCxE8mWnjjmLdtu66SflwuQp82pY-8Qer8rnPLKXugs2x0zYWCSerdmoQS8cVnXB?key=TMyE3Z4vpe5xrsGss5URen6M" alt=""><figcaption></figcaption></figure>

14. **Block "Assign Value to Variable"** sets new values for one or more variables. In this case, one value is specified in the properties, which needs to be assigned to one variable, accordingly.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXcLAIiZisc4COUXORV42j7AXcSNne_5e8APKp3W3fp9wREfAV5j7aU853Ko7nabUun-m850ExJO751EHEZ7mguSXNig53drr-atGYNMsfGciuk21Vo6LU312fxWx98ptzv_LrAihQ?key=TMyE3Z4vpe5xrsGss5URen6M" alt=""><figcaption></figcaption></figure>

15. **Block "Process"** allows creating scenarios consisting of several diagrams. The execution of the scenario will continue from the "Start" block of the specified project diagram. The execution of the scenario will return to the current block and continue in the current diagram as soon as the "End" block in the external diagram is reached. For the "Process" block, the property "Diagram name" is specified (the name of the diagram file where the execution of the scenario will continue).

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXd9F1DD5_e9iLi0qo8h6Hrc4s0Qd5_zGZKBXqdlUw6zABSKJs7xb__VjmSmeyJTnaa77SbWjVb7Xx8Q8dZ48NgVtiyjs6mcX2X2crw_1DgTGhxDtCcEKYJDDINKNtsGuKAq4vfcHQ?key=TMyE3Z4vpe5xrsGss5URen6M" alt=""><figcaption></figcaption></figure>

16. **Block "Assign Value to Variable"** sets new values for one or more variables. In this case, one value is specified in the properties, which needs to be assigned to one variable, accordingly.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXcygCPjfYeEa20yFubWxEsX7K6QlUCzK0sJIXhNCPKVel8VP19Effr213EcCx-u5T2MJ6A9o-AXEa9yyB4jPRqbe3-nX-Q8yW3YrFyMsNv5vLf4Wyg7qlpqm9Tv5FnzFy1NTllNLw?key=TMyE3Z4vpe5xrsGss5URen6M" alt=""><figcaption></figcaption></figure>

17. **Block "Process"** allows creating scenarios consisting of several diagrams. The execution of the scenario will continue from the "Start" block of the specified project diagram. The execution of the scenario will return to the current block and continue in the current diagram as soon as the "End" block in the external diagram is reached. For the "Process" block, the property "Diagram name" is specified (the name of the diagram file where the execution of the scenario will continue).

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXdzHhQpkA62DaaPRMIhwc40jL3FqnSCg3gkDMkRir0kDN147OXQR_7VtYkSYNVbp-gc-QgPqeCRDGBjO1MQ3nG8UpQjdxqbAnQ9NrLW5AQ4VrE1iZLeYgilrBdS9sK_YAcg4zrz?key=TMyE3Z4vpe5xrsGss5URen6M" alt=""><figcaption></figcaption></figure>

18. **Block "Assign Value to Variable"** sets new values for one or more variables. In this case, one value is specified in the properties, which needs to be assigned to one variable, accordingly.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXcTTCWI4gAmgIJyQUjYzO6ZFckDRRBV4NphBMfPiFCEN-J_0KG1BKvKGMuPHVoaxF_RHOl8qCxE8mWnjjmLdtu66SflwuQp82pY-8Qer8rnPLKXugs2x0zYWCSerdmoQS8cVnXB?key=TMyE3Z4vpe5xrsGss5URen6M" alt=""><figcaption></figcaption></figure>

19. **Block "Process"** allows creating scenarios consisting of several diagrams. The execution of the scenario will continue from the "Start" block of the specified project diagram. The execution of the scenario will return to the current block and continue in the current diagram as soon as the "End" block in the external diagram is reached. For the "Process" block, the property "Diagram name" is specified (the name of the diagram file where the execution of the scenario will continue).

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXfIUNNiAgiaxJey65UNgP3NsV8_wk6NrIvaceqmc8nYs3CBQK3U_-FZLsA_EcvO0w3JjNlL56-37KV5DfHzcqOqjXE01R5npYvfd33pDBlYesWOiBQDu63QCaTP_PeE8HON0wlfHg?key=TMyE3Z4vpe5xrsGss5URen6M" alt=""><figcaption></figcaption></figure>

20. **Block "Close Connection"** allows closing the specified RDP connection. This block has one property "Process ID" (a variable that stores the process identifier. Indicates which application to work with. If the specified application is minimized or its window is covered by other windows, it will be brought to the foreground. When working with browsers, the process ID additionally indicates the specific browser tab with which the block should work).

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXc1HQhFzWkj5HFrdq39Cznc9xmqFLrWzxTRvnZbpbeF2Wk2Qpa518IdYgkcEGMK7NlY245aQ-QCwhqBWyyK6Lvm1jms0ao5g6IxnJT_wjBvGRQTbnl7OeUTB26ealQXs8ww9gobMQ?key=TMyE3Z4vpe5xrsGss5URen6M" alt=""><figcaption></figcaption></figure>

21. **Block "Close Connection"** allows closing the specified RDP connection. This block has one property "Process ID" (a variable that stores the process identifier. Indicates which application to work with. If the specified application is minimized or its window is covered by other windows, it will be brought to the foreground. When working with browsers, the process ID additionally indicates the specific browser tab with which the block should work).

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXfLZxJ4ef1L7LXZJXacnZ4V0BgGsp0EnUqmzByX7G-FEN6cAAHHgnyxyD2zUit8vAMdnp4syL33lM3Ctr8Koj_WsnLILHzYAH15kuftkGDkUfdhoJgcOnXwst3sfpK03TiqWgyM?key=TMyE3Z4vpe5xrsGss5URen6M" alt=""><figcaption></figcaption></figure>

22. **Block "Close Connection"** allows closing the specified RDP connection. This block has one property "Process ID" (a variable that stores the process identifier. Indicates which application to work with. If the specified application is minimized or its window is covered by other windows, it will be brought to the foreground. When working with browsers, the process ID additionally indicates the specific browser tab with which the block should work).

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXdBya5XA4bqq1X4QIPTKpIKqX9n2vTrqR1inrfjLHHKlGapPqpsGwFZvlquejJIQA0ckH9jyylCtBTaBXf9bmroVgVkiOk4ZP4qoD9HfRc7yo1ds7gVnL0cjikrmgga5DHvrGw-9Q?key=TMyE3Z4vpe5xrsGss5URen6M" alt=""><figcaption></figcaption></figure>

23. **Block "End"** (this block completes the execution of the scenario or returns the subprocess diagram to the main process).

**Diagram "Sequentially"**

This diagram demonstrates sequential work with RDP sessions.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXejd-_uL1lLbPhQQhQ3UxYgvw2y-dvbrjo3FMwko8xb286q1HgsYDW7HjD8dSk5NBiyHTxcmp5ZjWq638XCQl1nTcMEckpDcosUhPXWEEnJ2AEuNTtaVJ7WqRfxa_SaLpLvFyBRnA?key=TMyE3Z4vpe5xrsGss5URen6M" alt=""><figcaption></figcaption></figure>

1. **Block "Start"** (any diagram begins from this block).
2. **Block "Generate Connection"** allows generating a connection to a remote computer via RDP. The result of the block is a data string that is identical to the contents of the .rdp file. In this case, a connection is generated for the server "winwork". This block has the following properties:

* Server (the server for connection, in this case, the domain is specified);
* Username (the username for authorization);
* Password (the password for authorization);
* Display settings (allows selecting the size in which the remote computer's screen will be initialized. Possible values: Full screen - full-screen mode; other values "Width"x"Height" of the screen);
* Clipboard redirection (when the flag is set, the local clipboard will be available on the remote machine);
* Connection quality (connection quality).

The output is a connection string (a data string for connecting to the remote computer. The content of the string is identical to the contents of .rdp files).

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXf7uLTb8SE-Me7h272XQpVC8lI64BKk1Czc0AGag-2sDjLHd4fTI-yyblHtLoMiXT7nlfEjfrLkHOgZ-Jvj4QbEluasttjIA9iprMz7ikMzSHkLJToNO9DOtgbMyiWomYhxpssrZw?key=TMyE3Z4vpe5xrsGss5URen6M" alt=""><figcaption></figcaption></figure>

3. **Block "Generate Connection"** allows generating a connection to a remote computer via RDP. The result of the block is a data string that is identical to the contents of the .rdp file. In this case, a connection is generated for the server "winwork". This block has the following properties:

* Server (the server for connection, in this case, the domain is specified);
* Username (the username for authorization);
* Password (the password for authorization);
* Display settings (allows selecting the size in which the remote computer's screen will be initialized. Possible values: Full screen - full-screen mode; other values "Width"x"Height" of the screen);
* Clipboard redirection (when the flag is set, the local clipboard will be available on the remote machine);
* Connection quality (connection quality).

The output is a connection string (a data string for connecting to the remote computer. The content of the string is identical to the contents of .rdp files).

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXcZE7caHx_fx01LK_MtKd6VQOwt5DkCtzn_j2SEkyRDFJg6RAT0KfFNTpiYbgX-5yGoey_-M8SjMZxeuEEGim7Eq79_7_WuMmEVEcKTNk-Kt8INjz7uotc2Vos-yzQH4Cr1dmtNFQ?key=TMyE3Z4vpe5xrsGss5URen6M" alt=""><figcaption></figcaption></figure>

4. **Block "Generate Connection"** allows generating a connection to a remote computer via RDP. The result of the block is a data string that is identical to the contents of the .rdp file. In this case, a connection is generated for the server "winwork". This block has the following properties:

* Server (the server for connection, in this case, the domain is specified);
* Username (the username for authorization);
* Password (the password for authorization);
* Display settings (allows selecting the size in which the remote computer's screen will be initialized. Possible values: Full screen - full-screen mode; other values "Width"x"Height" of the screen);
* Clipboard redirection (when the flag is set, the local clipboard will be available on the remote machine);
* Connection quality (connection quality).

The output is a connection string (a data string for connecting to the remote computer. The content of the string is identical to the contents of .rdp files).

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXcjlFgn-KOR8P1tauIQYOZnLxQ11wfXqYjFXhe8ePH8m8iL2J9BSULB7rhkgyf3O0rSTU4KJ5iX03hYuQwTkm9N-V2dPG7UlpR71LDma0fz65XVlRNyAGrVHy5I4la0LYSXefG-Ug?key=TMyE3Z4vpe5xrsGss5URen6M" alt=""><figcaption></figcaption></figure>

5. **Block "Create Connection"** allows creating a connection to a remote computer via the RDP protocol. This block has the property "Connection String" (the connection string to the rdp file, here the connection string generated by the "Generate Connection" block from the same category is specified). The output is the process ID (a variable that stores the process identifier. Indicates which application to work with. If the specified application is minimized or its window is covered by other windows, it will be brought to the foreground. When working with browsers, the process ID additionally indicates the specific browser tab with which the block should work).

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXf9C-xsb5aotgaflpkfgHfaUAjtITNqdtIndAxW7nNUHzw7C1mWrTFrfI5vxJhitREsNLB7Zhs2zd9bZ48dkZ-eGqsqsq4wXlNB5prKThTFsHHDEamzFwkYEFhvlOsqeFYCdS8YNw?key=TMyE3Z4vpe5xrsGss5URen6M" alt=""><figcaption></figcaption></figure>

6. **Block "Assign Value to Variable"** sets new values for one or more variables. In this case, one value is specified in the properties, which needs to be assigned to one variable, accordingly.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXdIUH5FQUHxMZ2UoNF3va8YzInDoHRf7J64sEHhZKRaPDYrPR6EP0dFQjv2bTCjQq_KsVIBWBA9RxFg-Iy45iLFFdpZBiof3IYRYOlvOk9whdvnXAy_bsdm7kjjGIHATy7rkWBl2A?key=TMyE3Z4vpe5xrsGss5URen6M" alt=""><figcaption></figcaption></figure>

7. **Block "Process"** allows creating scenarios consisting of several diagrams. The execution of the scenario will continue from the "Start" block of the specified project diagram. The execution of the scenario will return to the current block and continue in the current diagram as soon as the "End" block in the external diagram is reached. For the "Process" block, the property "Diagram name" is specified (the name of the diagram file where the execution of the scenario will continue).

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXehgo7Q3BZxWvRT5OBeqaQ3lzg6DLsczSH5MP9FsYigo4NOX5udyivruuR9O8iGl0_w8IvK7hPW_S-xFxWElKGlYofpF0B88z_kQg2irTjbCKR-CsjtVE5imc5J6Kua-MphBCxvmA?key=TMyE3Z4vpe5xrsGss5URen6M" alt=""><figcaption></figcaption></figure>

8. **Block "Process"** allows creating scenarios consisting of several diagrams. The execution of the scenario will continue from the "Start" block of the specified project diagram. The execution of the scenario will return to the current block and continue in the current diagram as soon as the "End" block in the external diagram is reached. For the "Process" block, the property "Diagram name" is specified (the name of the diagram file where the execution of the scenario will continue).

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXenk58-bNA7im6LVy1E6SifG85BnfDRd-R4VimYhy45CXwa9Boh7QSAhx50PivL3TbXAIdf95hKdGjhHNS7XCxowQnCReYryf-jm6s27Y4MJpDtCyEeJ2BxyWCfyUdONEtkVXQm?key=TMyE3Z4vpe5xrsGss5URen6M" alt=""><figcaption></figcaption></figure>

9. **Block "Close Connection"** allows closing the specified RDP connection. This block has one property "Process ID" (a variable that stores the process identifier. Indicates which application to work with. If the specified application is minimized or its window is covered by other windows, it will be brought to the foreground. When working with browsers, the process ID additionally indicates the specific browser tab with which the block should work).

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXebLhPNgMV4VTLpV58o4UaE4s5EHfVDm7uXDUjhOsnPxWx7_r35dc0LGilZd3-QUpMOsceTls7l9eBzXKp5fq35JRZnR47TywEdUmDvVpsQ5TWcXiqrqUKTbYYorHOxdYVmwKkIWg?key=TMyE3Z4vpe5xrsGss5URen6M" alt=""><figcaption></figcaption></figure>

10. **Block "Create Connection"** allows creating a connection to a remote computer via the RDP protocol. This block has the property "Connection String" (the connection string to the rdp file, here the connection string generated by the "Generate Connection" block from the same category is specified). The output is the process ID (a variable that stores the process identifier. Indicates which application to work with. If the specified application is minimized or its window is covered by other windows, it will be brought to the foreground. When working with browsers, the process ID additionally indicates the specific browser tab with which the block should work).

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXftVsh_OSaIp0jfpLZlgRq7MhmRmYi9Ed-OcrcG2FvRqN-gX_p_pjUc_S-NbmKSTEle5jkqXJRdpIKfMRnN0uDr4TxiCzv8_aNhkb0_9zV34qOVIcQJLyMjM9n-KzhM79HyzJzCqA?key=TMyE3Z4vpe5xrsGss5URen6M" alt=""><figcaption></figcaption></figure>

11. **Block "Assign Value to Variable"** sets new values for one or more variables. In this case, one value is specified in the properties, which needs to be assigned to one variable, accordingly.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXfuP9oyFT0m4GeEIMCEISAujqEHntWyHIG9DENz7_RRnVIXRvY2ZMq51xK4IForeEtQUZNhI02dtg-Hpsoym5caQMYXOuekVF9pmcv0fayxyaRKybIOcNAMzggcrWq_At7pmAOV?key=TMyE3Z4vpe5xrsGss5URen6M" alt=""><figcaption></figcaption></figure>

12. **Block "Process"** allows creating scenarios consisting of several diagrams. The execution of the scenario will continue from the "Start" block of the specified project diagram. The execution of the scenario will return to the current block and continue in the current diagram as soon as the "End" block in the external diagram is reached. For the "Process" block, the property "Diagram name" is specified (the name of the diagram file where the execution of the scenario will continue).

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXe1p5uXxUMk1UxxJKW1C_i0Cs-VHtaOymT4a10J8_rT9kElIrR2N9ZxXRZSPNqA_TLCMNXEQplbxZevwS6AdXJuXFt2etGeLMe-Bdzd2EPnC2e3YMhe-awbsFXrOA1TcWYSkYADYw?key=TMyE3Z4vpe5xrsGss5URen6M" alt=""><figcaption></figcaption></figure>

13. **Block "Process"** allows creating scenarios consisting of several diagrams. The execution of the scenario will continue from the "Start" block of the specified project diagram. The execution of the scenario will return to the current block and continue in the current diagram as soon as the "End" block in the external diagram is reached. For the "Process" block, the property "Diagram name" is specified (the name of the diagram file where the execution of the scenario will continue).

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXfKH08QgYXAvgpZiIbRf8a7a_PKogPbnNfNppnFxRMx4d9FSEJvye4ICJd_vz3l89hPbINQEhaVgWeIdxGTOO3fhbvVjckg8ytTaRS4g2JZHxqSoaW2IJclteGKvyY32REdy0h-nA?key=TMyE3Z4vpe5xrsGss5URen6M" alt=""><figcaption></figcaption></figure>

14. **Block "Close Connection"** allows closing the specified RDP connection. This block has one property "Process ID" (a variable that stores the process identifier. Indicates which application to work with. If the specified application is minimized or its window is covered by other windows, it will be brought to the foreground. When working with browsers, the process ID additionally indicates the specific browser tab with which the block should work).

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXc6L7B6yebnRFwnsHP3PKL1VTAapEqvudqyUKAYU-nhJ5NeaD1YO35t0AKCFvpKnhF9f-RCAeDSQ8nDMeV_Uk8kpEgWcMwkIHBPooPOF-9SUj-BwGaOkcVJUZm68oLqwrzIr2VI?key=TMyE3Z4vpe5xrsGss5URen6M" alt=""><figcaption></figcaption></figure>

15. **Block "Create Connection"** allows creating a connection to a remote computer via the RDP protocol. This block has the property "Connection String" (the connection string to the rdp file, here the connection string generated by the "Generate Connection" block from the same category is specified). The output is the process ID (a variable that stores the process identifier. Indicates which application to work with. If the specified application is minimized or its window is covered by other windows, it will be brought to the foreground. When working with browsers, the process ID additionally indicates the specific browser tab with which the block should work).

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXfh54de0_6-d-kpVwwguFiDa8XatvELmAyqs6mpy80grfVUG34e56WhsT2KBDy9JTozHZVsBd61-hxEo6mJOo-XdLX1kx93qTUv-ozp-wng2wI60vzjFV9Ltn4IcQ82aHKWb9CC9A?key=TMyE3Z4vpe5xrsGss5URen6M" alt=""><figcaption></figcaption></figure>

16. **Block "Assign Value to Variable"** sets new values for one or more variables. In this case, one value is specified in the properties, which needs to be assigned to one variable, accordingly.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXfzG-5CRn7brVcnelmGZcaxvdFuuKRkejlRfgcGD3c0uUZvST5cJx1XKFuDU0FIlzw49-4ATzx1vy_-kBza94IxoezmLA0qcYcyeP-pnQCnPS70u4_UN9TsA9D3Pw547NI2neucJw?key=TMyE3Z4vpe5xrsGss5URen6M" alt=""><figcaption></figcaption></figure>

17. **Block "Process"** allows creating scenarios consisting of several diagrams. The execution of the scenario will continue from the "Start" block of the specified project diagram. The execution of the scenario will return to the current block and continue in the current diagram as soon as the "End" block in the external diagram is reached. For the "Process" block, the property "Diagram name" is specified (the name of the diagram file where the execution of the scenario will continue).

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXcPIba1WwIVdxHk5gWheqVQ98OnBAckCwuTLG_nWxjo9OPsg-baZgf85loasr5oX1WALc0EABoLEjGQhR9o2olZKkos5xEFmmmzGddS2Qk2DMV4fIArWfiQEYZg83gok1DW_e_9SA?key=TMyE3Z4vpe5xrsGss5URen6M" alt=""><figcaption></figcaption></figure>

18. **Block "Process"** allows creating scenarios consisting of several diagrams. The execution of the scenario will continue from the "Start" block of the specified project diagram. The execution of the scenario will return to the current block and continue in the current diagram as soon as the "End" block in the external diagram is reached. For the "Process" block, the property "Diagram name" is specified (the name of the diagram file where the execution of the scenario will continue).

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXdJ9QbXjEwc1krzhoGcJH2WMJxRcqDIlA58JZA7RdttQsstGV6CIJf8hzSEApaTjt-llfZuKwZwVbIwD-duhvEVzdhUKTAQI3qcYeiNDFKxI4e7-tn2_jPYAw1bfhHCuGSk2UrXuQ?key=TMyE3Z4vpe5xrsGss5URen6M" alt=""><figcaption></figcaption></figure>

19. **Block "Close Connection"** allows closing the specified RDP connection. This block has one property "Process ID" (a variable that stores the process identifier. Indicates which application to work with. If the specified application is minimized or its window is covered by other windows, it will be brought to the foreground. When working with browsers, the process ID additionally indicates the specific browser tab with which the block should work).

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXeUxlgmrXX6nlBwPnaRfzBQZidzCLCpJUOxCf3ZgFOaLmf3SR7cCMLc0GFjrlI9CUkFUAHNVwPXcZWe9UCj-FgCObGnh7N4c_zkQXhGSRVXzwZl4orbcGEY1IeffneJ_6fnMC1buw?key=TMyE3Z4vpe5xrsGss5URen6M" alt=""><figcaption></figcaption></figure>

20. **Block "End"** (this block completes the execution of the scenario or returns the subprocess diagram to the main process).


---

# Agent Instructions: 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.sherparpa.ru/en/sherpa-rpa/sherpa-designer/primery-robotov/install-rdp.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.
