Discussion Locked

RUNAS command

0 helpful
4 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Hi

I know exactly how to use the runas command in a batch file, however I don't know how to automate it so that the batch job doesn't ask for a paasword everytime you try to run an app.

Ex.

runas /user:admin05 c:\apps\trutrack\trutrack.exe
is there a way to add a password after the users name?

4 replies

by syscokid

Maybe something like

Echo password |runas /user...etc

| is the pipe character, above the \ on my keyboard.

This discussion is closed to new replies.