Need to execute a program with elevated permissions all the time.

G

Guest

Hello,

I currently run a software for roughly 200 users and it has been working
great with people logged in as just regular restricted users. An
administrator would have to run the program once on a new computer to
register the OCX and DLL files but that was all. Recenlty we upgraded to a
newer version that handles registering OCX files and DLL files differently
and they attempt to register them everytime you launch the program which
obviously causes a problem becuase my users don't have rights to register DLL
and OCX files. I am looking to find a way to either create a script that
will launch the program with elevated permissions so that it can register the
files. Or I am looking for a way to possibly give my users rights just to
register OCX and DLL files. So far I have found nothing real helpful on the
net and the company the software is with basically told me to make everyone
an administrator which I almost not a option. If anyone could help me with
this problem it would be greatly appriciated.

I have attemtped using runas from the command line but it always asks for a
password. I have also tried launching it as a task with elevated permissions
but that still doesn't seem to work properly.

Thanks,

Mike Walton
Network+
 
P

Pegasus \(MVP\)

FireMike84 said:
Hello,

I currently run a software for roughly 200 users and it has been working
great with people logged in as just regular restricted users. An
administrator would have to run the program once on a new computer to
register the OCX and DLL files but that was all. Recenlty we upgraded to a
newer version that handles registering OCX files and DLL files differently
and they attempt to register them everytime you launch the program which
obviously causes a problem becuase my users don't have rights to register DLL
and OCX files. I am looking to find a way to either create a script that
will launch the program with elevated permissions so that it can register the
files. Or I am looking for a way to possibly give my users rights just to
register OCX and DLL files. So far I have found nothing real helpful on the
net and the company the software is with basically told me to make everyone
an administrator which I almost not a option. If anyone could help me with
this problem it would be greatly appriciated.

I have attemtped using runas from the command line but it always asks for a
password. I have also tried launching it as a task with elevated permissions
but that still doesn't seem to work properly.

Thanks,

Mike Walton
Network+

This is really a problem that the provider of your software should
have a solution for. If they designed it this way then I expect that
they have thought of a way around your problem.
 
G

Guest

I agree it is but they actually tell us that to run there software everyone
has to be a local administrator on their machine.

Thanks for the post
-Mike
 
P

Pegasus \(MVP\)

This is equivalent to you buying a car that can only
be driven by a qualified car mechanic. I would never
touch such poorly written software.

If you know which registry keys you need to modify
then you can run regedt32.exe and use it to adjust
the permissions for these keys.

As an alternative, if your users get validated by a domain
then you can include the "Domain users" group in the local
"Administrator" group. This lets them do anything on
the local PC but it won't give them elevated access
rights on the domain.
 

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