Users

All Posts (3)

avatar

pdpplaque

Command Line Session not using Credential Set

avatar
avatar
avatar
avatar

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

Command Line Session not using Credential Set

avatar
avatar
avatar
avatar

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?

Command Line Session not using Credential Set

avatar
avatar
avatar
avatar

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.

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.

1 - 3 of 3 items