FATIHTALI Posted May 1, 2008 Share Posted May 1, 2008 Hello I am trying RunasSet but It couldn't work. am I idiot? When I run program popup saying Yes you are admin but notepad never be open... Also I tried other exe I never be comple. Please help me. ; Are we already admin? If Not IsAdmin() Then RunAsSet('FATIH', 'DOMAIN_name', 'Password') Run ("C:\WINDOWS\notepad.exe", "C:\WINDOWS") Exit EndIf MsgBox(0, 'Message', 'yes you are admin now..') Startup Agent It is my small Startup Agent. You can install programs on startup Domain pc without Admin rights. Link to comment Share on other sites More sharing options...
Developers Jos Posted May 1, 2008 Developers Share Posted May 1, 2008 Means to me that the person running it is a member of the Administrators group. THe program only runs when the user is not at Admin level. SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
FATIHTALI Posted May 2, 2008 Author Share Posted May 2, 2008 Means to me that the person running it is a member of the Administrators group.THe program only runs when the user is not at Admin level.Jos thank you so much. I resolved it. I have tried it it is working well... Startup Agent It is my small Startup Agent. You can install programs on startup Domain pc without Admin rights. Link to comment Share on other sites More sharing options...
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