"Run As" command issues

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

Guest

I have a program that will only seem to run under the "administrator" account
even though the account i installed in under is a member of the admin group
with full permissions to everything.

I right click the shortcut and use the "run as" command to select the
administrator account which works fine. Can I therfore edit the registry or
the "target" or "start in" properties box to automatically select the
administrator account and password using the /User switch or something ?

Any pointers would be of great help
 
The link below explains how to do that with a free runas replacement called
cpau.

http://www.jsifaq.com/SUBO/tip7200/rh7258.htm

I understand there may be ways to make it work with runas but the
administrator credentials would be stored in the batch file in clear text
and cpau encodes the password. Also there should be no reason why you can
not make the application work for any user that is also a local
administrator. My guess is there are some restrictions on the administrators
group or the user is also a member of a group that has deny permissions to
some access control list or has deny permissions for his user account. You
can use SysInternals free filemon to easily track down where access is
denied. --- Steve

http://www.sysinternals.com/Utilities/Filemon.html --- filemon
 
Back
Top