Forcing programs to run with standard user privileges

  • Thread starter Thread starter ainkami
  • Start date Start date
A

ainkami

Guest
How do I prevent Vista from asking for privilege escalation, and just
force a program to run with standard user privileges? Are there any
ways within Vista that will allow this? If not, I have heard that
editing the RunAsInvoker value associated with the .exe file will
accomplish this. Are there any programs out there that can do so?


--
ainkami
 
Re: Forcing programs to run with standard user privileges

ainkami wrote:
> How do I prevent Vista from asking for privilege escalation, and just
> force a program to run with standard user privileges? Are there any
> ways within Vista that will allow this?



Not if you must use applications that have not been properly designed
for the OS. Fully compatible applications would not need elevated
privileges to run.




--

Bruce Chambers

Help us help you:
http://www.catb.org/~esr/faqs/smart-questions.html

They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety. ~Benjamin Franklin

Many people would rather die than think; in fact, most do. ~Bertrand Russell

The philosopher has never killed any priests, whereas the priest has
killed a great many philosophers.
~ Denis Diderot
 
Re: Forcing programs to run with standard user privileges


ainkami;550442 Wrote:
> How do I prevent Vista from asking for privilege escalation, and just
> force a program to run with standard user privileges? Are there any ways
> within Vista that will allow this? If not, I have heard that editing the
> RunAsInvoker value associated with the .exe file will accomplish this.
> Are there any programs out there that can do so?


Hi Ainkami,

Welcome to the Vista x64 Forums. :party:

If the program needs administrator privileges to run, it will not run
properly without them. You can do one of these options to get rid of the
UAC prompt though.

http://www.vistax64.com/tutorials/80938-user-account-control-uac-elevate-privilege-level.html


http://www.vistax64.com/tutorials/48893-user-account-control-uac.html


http://www.vistax64.com/tutorials/67567-administrator-account.html


Hope this helps,
Shawn


--
brink

*There are no dumb questions, just the people that do not ask them.*
VISTA FORUMS X64 (\"HTTP://WWW.VISTAX64.COM/\")
*Please post feedback to help others.*
 
Re: Forcing programs to run with standard user privileges

Like everyone else says, the chances of a program working as a standard user
when it is designed to run as an admin is slim.

I am not aware of a program that automates the "runasinvoker" process.

Registry key:
HKEY_CURRENT_USER\Software\Microsoft\Windows
NT\CurrentVersion\AppCompatFlags\Layers

Create a string value with a name equal to the path and filename of the
program (e.g. c:\program files\program\program.exe), and a value of
RUNASINVOKER.


--
- JB
Microsoft MVP Windows Shell/User

"ainkami" <ainkami.31x5yz@no-mx.forums.net> wrote in message
news:ainkami.31x5yz@no-mx.forums.net...
>
> How do I prevent Vista from asking for privilege escalation, and just
> force a program to run with standard user privileges? Are there any
> ways within Vista that will allow this? If not, I have heard that
> editing the RunAsInvoker value associated with the .exe file will
> accomplish this. Are there any programs out there that can do so?
>
>
> --
> ainkami
 
Re: Forcing programs to run with standard user privileges

brink wrote:
> ainkami;550442 Wrote:
>> How do I prevent Vista from asking for privilege escalation, and just
>> force a program to run with standard user privileges? Are there any ways
>> within Vista that will allow this? If not, I have heard that editing the
>> RunAsInvoker value associated with the .exe file will accomplish this.
>> Are there any programs out there that can do so?

>
> Hi Ainkami,
>
> Welcome to the Vista x64 Forums. :party:
>
> If the program needs administrator privileges to run, it will not run
> properly without them. You can do one of these options to get rid of the
> UAC prompt though.
>
> http://www.vistax64.com/tutorials/80938-user-account-control-uac-elevate-privilege-level.html
>
> http://www.vistax64.com/tutorials/48893-user-account-control-uac.html
>
> http://www.vistax64.com/tutorials/67567-administrator-account.html




I know I'm replying to a 2 month old post....

These directions where only "sort of" helpful. Yes, it shows me how to
get Vista to run the program as Administrator.

But then it prompts for the Administrator password. This is bad.


I want to be able to allow my students to run a particular program (a
program that in my case controls an oscilloscope) that seems to need to
run as Administrator. Their accounts are all "normal" accounts (no
Admin privs). I do *not* want to give them the Administrator/root
password (for obvious reasons).


What I need is a way to run the program as Administrator, without having
Vista ask me for the Administrator password.


SURELY there has to be a way to do this, isn't there. After all, "chmod
4711" has been around in the unix world for 30+ years (meaning this
isn't exactly a new concept)....

--

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Chris Barnes AOL IM: CNBarnes
chris-barnes@tamu.edu Yahoo IM: chrisnbarnes
 
Re: Forcing programs to run with standard user privileges

Would it maybe be possible to get the machines off the network and setup an
admin user for this purpose?


"Chris Barnes" <chris-barnes@tamu.edu> wrote in message
news:OJ8AsKpbIHA.4144@TK2MSFTNGP05.phx.gbl...
> brink wrote:
>> ainkami;550442 Wrote:
>>> How do I prevent Vista from asking for privilege escalation, and just
>>> force a program to run with standard user privileges? Are there any ways
>>> within Vista that will allow this? If not, I have heard that editing the
>>> RunAsInvoker value associated with the .exe file will accomplish this.
>>> Are there any programs out there that can do so?

>>
>> Hi Ainkami,
>>
>> Welcome to the Vista x64 Forums. :party:
>>
>> If the program needs administrator privileges to run, it will not run
>> properly without them. You can do one of these options to get rid of the
>> UAC prompt though.
>>
>> http://www.vistax64.com/tutorials/80938-user-account-control-uac-elevate-privilege-level.html
>>
>> http://www.vistax64.com/tutorials/48893-user-account-control-uac.html
>>
>> http://www.vistax64.com/tutorials/67567-administrator-account.html

>
>
>
> I know I'm replying to a 2 month old post....
>
> These directions where only "sort of" helpful. Yes, it shows me how to
> get Vista to run the program as Administrator.
>
> But then it prompts for the Administrator password. This is bad.
>
>
> I want to be able to allow my students to run a particular program (a
> program that in my case controls an oscilloscope) that seems to need to
> run as Administrator. Their accounts are all "normal" accounts (no Admin
> privs). I do *not* want to give them the Administrator/root password (for
> obvious reasons).
>
>
> What I need is a way to run the program as Administrator, without having
> Vista ask me for the Administrator password.
>
>
> SURELY there has to be a way to do this, isn't there. After all, "chmod
> 4711" has been around in the unix world for 30+ years (meaning this isn't
> exactly a new concept)....
>
> --
>
> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
> Chris Barnes AOL IM: CNBarnes
> chris-barnes@tamu.edu Yahoo IM: chrisnbarnes
 
Back
Top