Ability to add VPN routes in a single command prompt window?
0 vote
For VPN connections you have the ability to specify commands that should be executed after the VPN connection has been established. We use this functionality to add several routes to different subnets which are reachable via the VPN.
To add these routes, Remote Desktop Manager executes the ROUTE ADD command using a command prompt with administrative permissions. Since we have enabled UAC, this action causes UAC to confirm the creation of a route. This is not a problem in itself, however it becomes annoying when there are multiple routes that need to be created. For each route that has to be created, UAC pops up asking the user to confirm the action.
Is there a way for Remote Desktop Manager to create all the routes using a single administrative command prompt? This way the user only needs to confirm the action once instead of 4 times (when creating 4 routes).
Screenshots of our VPN configuration:

Hello,
Our engineering department will look at your request and see if something can be done.
As of now, if you start RDM as an administrator, is it working?
Best regards,
Jeff Dagenais
Yes, if I open RDM as an administrator, we don't have to confirm the creation of the routes. I think this can be a suitable workaround, but I would prefer it if RDM can be opened as a normal user and only escalate the permissions if needed (such as when the routes need to be added).
If this isn't possible, we can make sure RDM always run as an administrator though so we don't have to deal with the frequent UAC popups.
We would need to add an option to "Run as batch" and one for "Force elevated" so that the batch is elevated so that it doesn't prompt on each sub-step in the batch.
We've added it to our internal to-do list.
Best regards,
Stéfane Lavergne
Hello,
The ability to run multiple Route commands with a single command prompt will be implemented with version 2019.2.23.0.
Regards
Jonathan Del Signore