Jump to content

Run-as from a batch file


ahmedramzi

Recommended Posts


because of security reasons you cant. You can use sanur to pass password (in plaintext) to runas command or (better solution) use AutoIt and create small script... Once I created tool to create one-purpose exe files, that will launch specified command with higher privileges, I will try to find it for you.

Link to comment
Share on other sites

if you use the /savecred switch, you will only have to enter the password once. windows will remember the password if you use runas in the future. this works only under win xp as far as i know.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...