After reading several forum topics I still can't get RunAs on a command line working.
I want to add a command line item, in this case "%windir%\explorer.exe \\share\folder". The \\share\folder is in a different AD Domain so I want to run this as a different user. I have created a credential entry in my private vault with my Admin username and password of that specific domain.
(see image1 below) So I created a new entry and under General settings I set:
"%windir%\explorer.exe" as value of the Run field
"\\share\folder" als value of the arguments field
selected my private vault entry in the credentials field
I already tried this:
(see image2) Under General->Run As tab changed to current session (I could not select credentials from my private vaulte here);
(see image3) Under Management->Tools changed Credentials to Use Session Credentials (I could not select credentials from my private vaulte here either);
Although I tried all of this, I still can't get access to this folder.
To wrap all above things up, see screenshots below:

image1

image2

image3
How to setup this entry?
I also want to know which session type should I use? Command Line (External Application) under miscellaneous or Command Line under Macro/Script/Tool?
Can you please try checking NetOnly?
Stéfane Lavergne
Hi,
Tried that without any luck.