How do I set a program to run with Administrator privileges?

M

Mark F

How do I set a program to run with Administrator privileges?


I know that I can turn off User Account Control (UAC) if I am running
from an Administrator account, but then UAC if off until I turn it
on.

I want to flag a specific file as running with administrator
privileges.

It would be nice if the system monitored the file from then on to
ensure that the contents didn't change.

Two options are required:
. File always runs elevated
. file runs elevated if started by a user who has the privilege
to allow running elevated. (It is up to me to make sure that
I only use this "always run elevated" option on programs that
make sure that they can't be tricked into using such elevated
rights to access data that is not intended. This shouldn't
be a problem since it is how things have worked since before
1964.)


(I've posted about this before, but I recently saw an article in
a major computer magazine that suggests turning off UAC for
your process if you want to be able to run a program with elevated
privileges and not have to manually authorize it each time.)
 
D

Dave-UK

Mark F said:
How do I set a program to run with Administrator privileges?


I know that I can turn off User Account Control (UAC) if I am running
from an Administrator account, but then UAC if off until I turn it
on.

I want to flag a specific file as running with administrator
privileges.

It would be nice if the system monitored the file from then on to
ensure that the contents didn't change.

Two options are required:
. File always runs elevated
. file runs elevated if started by a user who has the privilege
to allow running elevated. (It is up to me to make sure that
I only use this "always run elevated" option on programs that
make sure that they can't be tricked into using such elevated
rights to access data that is not intended. This shouldn't
be a problem since it is how things have worked since before
1964.)


(I've posted about this before, but I recently saw an article in
a major computer magazine that suggests turning off UAC for
your process if you want to be able to run a program with elevated
privileges and not have to manually authorize it each time.)
You can't easily select one program to dodge UAC. There was a method I read
about regarding Vista, but it involved downloading some sort of Microsoft
developer software and creating a database of safe programs.
As UAC regards Program Files as a sensitive folder you could try uninstalling your
troublesome software and re-installing to C:\Users instead of C:\Program Files.
That sometimes works but the real fix is to get the software updated to run with UAC.
 

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