mRemoteNG Managing AnyDesk Connections


Maintaining connections to clients, workstations, and servers over various protocols such as RDP, VNC, SSH, AnyDesk or TeamViewer can be challenging to manage with out the right tool. The tool I found best to manage this is mRemoteNG. As I switched from using TeamViewer for clients, I needed to sort out how to add these connections to my mRemoteNG sites.


To get started, we first need to create an External Tool. We do this by clicking Tools - External Tools


Select "New" at the top left of the main dialog


Under Display Name give it a name to use. File name we are calling PowerShell and for our arguments  we are taking insight from the AnyDesk and mRemoteNG support files and using; 

"'%PASSWORD%' | &'C:\Program Files (x86)\AnyDesk\AnyDesk.exe' %USERNAME%'@ad' --with-password"


Once this is done, we can create out connection.



In our new connection we fill out the information like we normally would with the username and password (minus @ad, we added it to our one liner), but for protocol we now select Ext.App for our External Applications and select the External Tool we just added - in my case AnyDesk Connection. 

Provided everything is configured properly, you should be able to double click your connection and connect to the AnyDesk client.

Note: I had issues with long passwords that use special characters such as "!". Also had issues with "Try to integrate" so I left that disabled in the External Tool I created.

What exactly is happening?

We are using the %PASSWORD% and %USERNAME% variable from mRemoteNG username and password field to pipe into AnyDesk where we have used the available command --with-password to let it know that we were including a password. I simply included '@ad' following the %USERNAME% variable to avoid having to include it in every connection. 

You can find out more about functions and possibilities for your connections below:

mRemoteNG External Tool functions 
https://mremoteng.readthedocs.io/en/master/howtos/external_tools.html#start-external-application

No comments:

Post a Comment

My Experience

  • __

  • March 2021 - Present

    Technical Consultant

    • Offering recommendations on Networking and Server requirments for prospecting customers
    • Providing technical support on installation and training
  • March 2020 - March 2021

    Currently open to opportunities!

  • 2016 - March 2020

    IT/HSE Coordinator

    • Providing effective troubleshooting solutions involving printers, desktops and mobile devices - maintaining connectivity, end user satisfaction and functionality
    • Composing various documentation providing training in I.T, HSE and standard operating procedures as to ISO 9001:2015 standardization
  • 2018 - 2019

    Network Administrator Diploma, triOS College

  • 2008 - Present (.part time)

    IT Support Specialist

    • Build and support specialized workstations and gaming pc’s, providing cost effective solutions based on customers expectations and requirements
    • Provide on-site, remote and similar managed services through Windows RDS, Quick Assist and TightVNC with secured tunneling
  • __

  • 2012 - 2016

    Technical Advisor

    • Research, design and prototype various engineered specifications utilizing additive manufacturing to iterate design concepts, potential flaws and plausibility
    • Troubleshoot PLC’s, maintaining and developing various process controls with pneumatic and hydraulic circuits
  • 2011 - 2012

    Demanufacturing Technician

    • Provide technical documentation on the identification, safety precautions and dismantling procedures of desktops, servers, monitors and televisions
    • Identify and categorize desktops, server and networking equipment for potential resale
  • 2006-2011

    IT Support Specialist

    • Compiled prospects of our search engine optimization to restore and maintain online presence resulting in streamlined control and analysis of our ranking,
    • Install horizontal runs providing clean and structuralized cable management
    • Perform scheduled backups creating archival storage of sensitive data