How can I use runas command with the password together then we can run it
with prompt to enter password?
many thanks for any advice
--
Golden_au
How can I use runas command with the password together then we can run it
with prompt to enter password?
many thanks for any advice
--
Golden_au
runas /user:userid command
i.e. runas /user:administrator notepad.exe
You can run runas /? to find out more information about the syntax.
Jack Doyle, Systems Engineer
ScriptLogic Corporation
http://www.scriptlogic.com
The RUNAS command, by design for security reasons, will not allow a password
to be stored.
I'm not completely positive, but I recall that using the PROFILE option will
execute the profile, and the GPssociated with it.
There are a couple of ways to get info to the command once it begins
executing via stack redirection, but a script has to runas a runas, if that
makes any sense.
Word to the wise: Re-entrance is discouraged unless a re-entrant procedure
language is used (like REXX's INTERPRET facility, which redirects the RESS
interpreter to execute instructions stored or stacked.
"Golden_au" <Goldenau@discussions.microsoft.com> wrote in message
news:D7B35013-B3DC-4AA3-9DC6-9ABB26CBB54D@microsoft.com...
> How can I use runas command with the password together then we can run it
> with prompt to enter password?
>
> many thanks for any advice
> --
> Golden_au
> How can I use runas command with the password together then we can run it
> with prompt to enter password?
>
> many thanks for any advice
runas spc on www.robotronic.de/runasspcen.html
is a similar tool like runas. But you can pass a password on a simple
way or from an encrypt file.
Bookmarks