In a proper environment you have an normal user account and a administrator account (not named administrator).
i would like to build in an template or external tool (Maybe SysInternals ShellRunAs) to be able to "run as different user" option.
How am I able to build this in the RoyalTS tool?
Kind Regards, Frank
it depends on your exact requirement. In general, you can start external tools elevated but it requires you to run Royal TS elevated as well. Please refer to the following KB for more information:
I hope this helps.
I'm not familiar with ShellRunAs but the limitation as described in the KB is from Windows. As far as I know, you can't create an elevated process from an unelevated account. If this is your requirement and want to create elevated processes from Royal TS, you need to run Royal TS elevated. I'm not aware of any other solution.
You can configure the external app connection type to start with a different credential. All you need to do is to configure a credential in the Credentials page (you may also set it up to prompt for a credential using the Specify a credential name option and put a ? in the name), then under Advanced you need the checkbox:
Still, the limitation, that you can't start an elevated process from an unelevated one will apply - at least the last time I checked.
I understand. That's why I mentioned the ability to prompt for credentials. As mentioned above, configure the credential option to "Specify a credential name". Then enter a ? as the credential name. At "connect" time, you will get a prompt where you can enter username and password.
Alternatively, you can also just run any script/batch file which prompts for your credential and continues from there.
Let me know if this helps.
Can you please create a support ticket by emailing us some screenshots and details to support(-at-)royalapplications.com
Also, please provide which version you are using.
We will look into it.