In both 7.6.3.0 and 7.9.3.0 beta it appears the command line session type will not use the configured credential set. I tried several different configuation, but each time cmd.exe or the defined application launches with the windows account used to start RDM. This also occurs if the workstation OS is Windows XP or 7. I had to configure the RDM session to use psexec to successfully run the application or command line with a different account. It appears from the RDM documentation this should not be required. Any ideas?
Hi,
If you set a credential to a command line, you can use it as a variable but it's not executed in the credential context.
David Hervieux
Not sure if this is related but is it possible to have the command line execute with the password set? For example, the following commandline I use is:
runas /user:$DOMAIN$\$USERNAME$ /password:$PASSWORD$ "C:\Program Files\Internet Explorer\iexplore http://crmdev/"
It pulls up the domain and username that I specify in credential repository without a problem but it prompts for me to enter the password in the command line window.
Just for a test, could you try to hard code the password?
David Hervieux
No dice. Btw this is a Windows 7 machine I'm using desktop manager on. The command line appears to ignore the password completely and prompts me to enter the user password. One of those nifty Windows security annoyances?
Took a big of Googling and Digging around in these Forums but I found what I was looking for to automate this which was to utilize the Typing Macro - After Connection in the Events tab.
$PASSWORD${ENTER} Simple!
Thanks David for the help since you gave the solution for another related problem here:
http://forum.devolutions.net/topic2236-sql-server-management-studio--nondomain-client.aspx