bok Posted August 15, 2008 Posted August 15, 2008 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
dbzfanatic Posted August 15, 2008 Posted August 15, 2008 Did you search or read the help file? RunAs will do what you need. Go to my website. | My Zazzle Page (custom products)Al Bhed Translator | Direct linkScreenRec ProSimple Text Editor (STE) [TUTORIAL]Task Scheduler UDF <--- First ever UDF!_ControlPaste() UDF[quote name='renanzin' post='584064' date='Sep 26 2008, 07:00 AM']whats help ?[/quote]
bok Posted August 16, 2008 Author Posted August 16, 2008 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
dbzfanatic Posted August 16, 2008 Posted August 16, 2008 Did you try #RequireAdmin at the top of your code? Most times children processes will have the same rights. Go to my website. | My Zazzle Page (custom products)Al Bhed Translator | Direct linkScreenRec ProSimple Text Editor (STE) [TUTORIAL]Task Scheduler UDF <--- First ever UDF!_ControlPaste() UDF[quote name='renanzin' post='584064' date='Sep 26 2008, 07:00 AM']whats help ?[/quote]
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now