Run as user with more authority

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a few applications that my users need to run on a regular basis. They
will not run if the person only has 'user' access. I know how to run the
appication as an administrator on a per useage basis but this isn't good
enough. I don't want to give the user the admin password.
Is there a way to set up these applications to automatically run as an
'admin' without having to enter the admin credentials everytime the
application is started?
 
You can do that with AutoIt's RunAsSet() function.

Provided you encrypt and compile your program, it is reasonably (but not
absolutely) secure against the password being read.

http://autoitscript.com

An issue you will meet is that network connections will be lost with the
change of user. That is a fact of life with the way XP useraccounts work.
 
In
Proud Papa said:
I have a few applications that my users need to run on a regular
basis. They will not run if the person only has 'user' access. I
know how to run the appication as an administrator on a per useage
basis but this isn't good enough. I don't want to give the user the
admin password.
Is there a way to set up these applications to automatically run as an
'admin' without having to enter the admin credentials everytime the
application is started?

I suggest that you instead look into the applications & find out what they
expect the user to have access to. FileMon and RegMon can be very
useful....free downloads from MS (formerly Sysinternals). Make the changes
in the registry & file system permissions & you should have no need for any
sort of runas solution.
 
Back
Top