Sending Windows credentials to TeamViewer

Many users have requested the ability to automate the login process on a Windows system through TeamViewer.

Since we are not able to send the password automatically inside the TeamViewer session, you would need to accomplish this with a typing macro.

  1. Open Remote Desktop Manager.
  2. Add a new entry and select Typing Macro under Macro/Script/Tool.
  3. Enter $USERNAME${TAB}$PASSWORD${TAB}{ENTER} in the general field of the typing macro.

Please note that the initial wait has been configured to 5 seconds, this varies depending on each user system.

  1. Click Add to save.
    $USERNAME${TAB}$PASSWORD${TAB}{ENTER}
    $USERNAME${TAB}$PASSWORD${TAB}{ENTER}
  2. Open your Credential Management entry.

You can create a Credential Management entry in Remote Desktop Manager by clicking Add a new entry – Credential Management and selecting Username / Password.

  1. Go the properties of your Credential entry and enable Allow password in variable under Security Settings.
  2. Click Update to save.
    Allow password in variable
    Allow password in variable

Advanced data source

If you have an advanced data source, you will need to enable Allow password variable in macros.

  1. Go to Administration – System Settings in the ribbon of Remote Desktop Manager.
  2. Select Password Management – Password Policy – Allow password variable in macros.
    Password Management – Password Policy – Allow password variable in macros
    Password Management – Password Policy – Allow password variable in macros

The next step happens when the TeamViewer session is open and credentials are ready to be entered.

  1. Right-click on your credential entry and select Macros/Scripts/Tools - Send Credentials (or the name you gave your entry).
    Macros/Scripts/Tools - Send Credentials
    Macros/Scripts/Tools - Send Credentials

In conclusion, put the mouse cursor in the appropriate login field and the typing macro will do the rest.

ID entered instead of credentials in the TeamViewer entry

If you have entered an ID instead of credentials in the TeamViewer entry, a $TOOL_PASSWORD$ variable is required.

  1. Open Remote Desktop Manager.
  2. Add a new entry and select Typing Macro under Macro/Script/Tool.
  3. Enter $TOOL_PASSWORD${TAB}{ENTER} in the general field of the typing macro.
  4. Click Add to save.
    $TOOL_PASSWORD${TAB}{ENTER}
    $TOOL_PASSWORD${TAB}{ENTER}
  5. Go to the properties on your TeamViewer entry and select Events – After Open.
  6. Execute a macro automatically by either writing the macro or linking to a macro entry.
  7. Click Update.
    Events – After Open
    Events – After Open

The entry where the $TOOL_PASSWORD$ macro fetch the credentials must be linked.

  1. Edit your TeamViewer entry and go to Management Tools.
  2. Select Linked (vault) and your entry in the Credentials drop-down menus.
  3. Click Update to save.
    Select Linked (vault)
    Select Linked (vault)
Devolutions Forum logo Give us Feedback