Entry types events settings

Remote Desktop Manager gives you the flexibility to automatically run operations before or after establishing a connection.

These operations are defined via the Events section of a session's properties. Define a script or a command line which executes at the appropriate time with the provided parameters, such as the session ID or username. For example, events can be used to execute an external batch file or application that prompts the user for more information, or to update a log on a remote server.

KB4618

Settings

The Events section is composed of four tabs. All of them can execute the same events. But at specific times, such as before the connection is established or after its interruption.

OPTION DESCRIPTION
None No script, command line or message prompt is executed.
Script Select a script file to execute The VBScript (*.vbs) file is the only supported format.
Command Line Enter a command line to execute.
Message Prompt Enter a message to display.
Macros/Scripts/Tools Select a Macros/Scripts/Tools entry from the data source.
PowerShell Select a PowerShell script from a local drive.
Copy to clipboard Provide text to copy to the clipboard.

Before Connect – Miscellaneous

The Miscellaneous section of the Before Connect tab allows to power on the remote device before trying to establish the connection.

Please note that for the Wake-on-LAN feature to work:

  • The remote device must support the Wake-on-LAN feature.
  • The MAC address must be filled out in the Information section of the session properties.

KB4619

OPTION DESCRIPTION
Power On Mode Enable the Wake-on-LAN.
Wait timeout Enter the delay before retrying the to wake the remote device.
Retry count Enter the number of time to try to wake the remote device.

After Connect – Macro

KB4620

This feature simply uses a basic mechanism of sending keystrokes provided by the .NET Framework, emulating someone using the keyboard. It sends the keystrokes to the operating system itself, and they are handled by WHATEVER application has the focus at that time. If the focus is switched to another window, the credentials will most likely be revealed by being typed in a text area.

Be advised that using this feature in an environment where passwords must be hidden from the user is highly discouraged.

OPTION DESCRIPTION
Execute automatically Execute the macro automatically when the session is open.
Initial wait Enter the delay before the macro is executed.
Type Select how the macro is executed. Select between:
Default: enter a typing macro manually.
Link: select an existing Macros/Scripts/Tools from the data source.
Typing macro Enter the typing macro to execute.
Macro password Enter a password to prompt for before executing the macro.
Delay time Enter the delay time for the {DELAY} instruction.
Command Enter the delay time between each command.