Jump to content

using run as admin


bok
 Share

Recommended Posts

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

Link to comment
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

Link to comment
Share on other sites

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
 Share

  • Recently Browsing   0 members

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