RunAs With Password

August 18, 2015

This post is just a reminder for myself Smile

Try this command :

runas /user:Administrator “cmd” < “C:\Users\%me%\Desktop\pass.txt”

Keep the file blank if you use a blank password for this user.

It will feedback the password to the RunAs cmd.