RunAs commandline syntax?

D

Dennis

Can someone please direct me to complete commandline
syntax (& examples) for the 'RunAs' command?
I need to execute some processes from within the User
Login Script and/or batchfiles which require Administrator
rights while executing under a general User
profile/login. Can the Administrator's 'secret_password'
be concealed in any way, or referenced in another file?
Thanks for help.
 
T

Torgeir Bakken (MVP)

Dennis said:
Can someone please direct me to complete commandline
syntax (& examples) for the 'RunAs' command?
I need to execute some processes from within the User
Login Script and/or batchfiles which require Administrator
rights while executing under a general User
profile/login. Can the Administrator's 'secret_password'
be concealed in any way, or referenced in another file?

Hi

Some Runas wrapper utilities or alternatives that might help you:
http://groups.google.com/[email protected]
 
A

Al Dunbar [MS-MVP]

In case this is not obvious from the google hits Torgeir provided, NO, you
cannot obscure the administrator's password with ANY kind of reliability if
you are using plain old runas. In fact, don't even think of trying to use it
for your particular purpose.

The other available solutions all have merits, but you had best do a threat
risk analysis before implementing any of them.

/Al
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

automatic runas with password 2
importprf via login script (GPO) 1
runas dos command 6
Visual Studio RunAs 5
SRP and Run As... 1
Redirect > FAILS in Win2000 4
Run MSI from Command Line 2
Instal programs at logon 3

Top