Discussion Locked

Run As

0 helpful
4 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
In trying to use the run as command in my logon script and I can not figure out how to do it. If anyone has an idea please help.

4 replies

by joseph moore

Yep, you can't use RUNAS in a BAT file, since there is NO WAY to pass the password for the account you are running as to the RUNAS app (unless you are into programming VB, which I have heard will work).
RUNAS is not designed for the BAT file in mind.
You need something else. A tool I found called TQCRUNAS will do this, though.
Go to this link and read up on it:

https://www.techrepublic.com.com/5100-6268-5031897.html
(please remove any spaces)

hope this helps

This discussion is closed to new replies.