Sign in to follow this  
Followers 0
wking

use autoit to run vbs

3 posts in this topic

Hi,

I'm newbie to autoit scripting.

I have a vbs login script that adds an account to the the local administrator group of computer, thus the script needs to be run under a domain admin or any account that have permission to do that. I know that the autoit RunAs function can handle stuffs such as deploying application to a client PC using (domain) admin account, providing the admin account credential.

How to do the same in running that vbs login script so that the script will be executed under my admin account?

Thank you very much for your help.

Share this post


Link to post
Share on other sites



heaps thanks for your help, i can get it work now using that line you wrote.

again, thank you.

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  
Followers 0