Jump to content
Sign in to follow this  
FATIHTALI

RunAsSet problem.

Recommended Posts

FATIHTALI

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.

Share this post


Link to post
Share on other sites
FATIHTALI

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.

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  

×