Jump to content

Recommended Posts

Posted

Hello Gurus!

I was wondering for the Runas command, if we do not specify the username/password, if we can prompt for it before continuing code. This means

I would like the end users to enter their username/password, instead of it being predefined. Would a GUI have to be used or can we use Runas predefined AutoIt command.

In other words, something like:

RunWait(@COMSPEC & " /c start runas /env /user:$promptuser cmd.exe")
Send("setup.exe")

Any ideas appreciated.

Thank you!

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...