Can you use a password with runas command?

  • Thread starter Thread starter Don
  • Start date Start date
D

Don

Is there a way to set up a cmd file with the runas command
using a password? It prompts you for one but I think it
would be really handy if I could make a cmd or bat file
that specifies BOTH username and password.

Thanks.

Don
 
I don't believe runas supports that, but you can use su.exe if you have the
W2K Resource Kit.

Ray at work
 
Back
Top