Jump to content
Sign in to follow this  
au3scr

Run as

Recommended Posts

RunAsSet will only be logged as that user when you Run or RunWait something.

If you have

C:\test.exe (compiled from au3) =

MsgBox(0, "test", @UserName )

and

call.au3 =

RunAsSet( "Username", "Domain", "Password" )

Run( "C:\test.exe" )

Then when call.au3 calls test.exe, test.exe will display the new username.

Share this post


Link to post
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
Sign in to follow this  

×
×
  • Create New...