Hi Marc,
this is not possible, see the following article:
http://www.microsoft.com/technet/sec.../aapgch03.mspx
Note: It is not possible to input the password as a command-line parameter
to runas.exe, because it would not be secure to do so.
Altough it is not recomanded you can find similar tools on the internet that
will satisfy your needs.
Regards
Marius Bejan
"maren" wrote:
> I'm trying to get a program to run as system login with administrative
> privileges without giving the user at the computer admin privileges. Putting
> a "runas" statement in the logon script that gives the program in question
> administrative privileges. However...
>
> ....I can't seem to find a way to add the proper administrative password in
> the runas.exe syntax. When the script is run, it prompts the user for the
> password for the administrative account it is attempting to run as.
> Obviously, we do not want our users to know the administrative passwords. We
> need runas to automatically enter the administrative username and password
> credentials so that the program will run with admin privileges
> transparently, not prompting the user.
>
>
> Any ideas on this?
>
>
> Thanks in advance.
>
>
> Marc
>
>
>