Sign in to follow this  
Followers 0
bok

using run as admin

4 posts in this topic

is there a way to get atoit to run cmd as admin in vista? and i know about shortcuts but i need this to be able to run on a seperate computer without the user is needed to do anything else than click a button

Share this post


Link to post
Share on other sites



dosent do the trick

i need this to be run as admin

RunWait (@ComSpec & " /c " & "IPCONFIG.EXE /release")

RunWait (@comspec & " /c " & "IPCONFIG.EXE /renew")

runas only let you choose a user to run it from but in vista you have to rightclick and choose run as admin

Share this post


Link to post
Share on other sites

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