Jump to content

RunAsSet problem.


Recommended Posts

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

  • Developers

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

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

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...