"Run As" command issues

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
 
S

Steven L Umbach

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top