ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

DonationCoder.com Software > Find And Run Robot

Possible new facility: runas for aliases

(1/2) > >>

oblivion:
I occasionally use a Microsoft gadget called Active Directory Users and Computers. (Catchy, I know. I'd call it ADUC but Cody might get nasty.)

Anyway, I set up a FARR alias (AD) for it but I need to run it as a different user to get the appropriate level of access. I can right-click and get run as Admin but the trick I use on the desktop (shift-right-click adds "run as different user" to the context menu) doesn't work in FARR.

So a couple of suggestions: one, add shift-right-click support to programs in the FARR list. Two, allow a tweak for an alias that will always ask for userid and password for that particular thing.

I appreciate that usually, anything that can be described in a couple of sentences is probably horrifically complicated to implement ... :)

Ath:
Can you use the cmd internal command runas? (Not a FARR user... :-[)

Open a cmd prompt and enter runas/? to get the default help on available command-line arguments, or visit https://ss64.com/nt/runas.html for that same helptext and some examples.

oblivion:
Can you use the cmd internal command runas? (Not a FARR user... :-[)
-Ath (November 18, 2019, 01:50 PM)
--- End quote ---
I could, if I didn't worry about exposing my password. Runas on the command line can be given username and password, or just username and have it prompt for password, but I can't script all that if I want to avoid storing the password as plain text.

The nice thing about shift-right-click is that you get a proper Windows uid/password dialog.

Ath:
Where is FARR more secure in asking for a password opposed to entering it in a Windows CMD prompt (without any character echo'ed)?  :huh:  If a keyboard hook would be installed on your system it could see the password in both cases. And I don't know if it's even possible for an application to induce the standard Windows popup-prompt for a password.

oblivion:
Where is FARR more secure in asking for a password opposed to entering it in a Windows CMD prompt (without any character echo'ed)?
-Ath (November 20, 2019, 01:19 AM)
--- End quote ---
That's not really what I was asking for - I just want FARR to be able to trigger the existing Windows functionality, either by allowing me to shift right click from the results window, or by letting me set an option for an alias to always trigger the run as another user function. Having FARR ask for the uid and password is asking too much, I recognise.

It didn't occur to me that I might be able to trigger it in a CMD window without storing anything - I'll experiment.

Navigation

[0] Message Index

[#] Next page

Go to full version