Windows Vista Forums
Vista Forums Home Join Vista Forums Donate Vista Tutorials Tags

Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
Register at Vista forums...the world biggest Windows Vista resource Join Vista Forums Now

Go Back   Vista Forums > Vista Newsgroups > Vista security

Forcing programs to run with standard user privileges

Closed Thread
 
Thread Tools Display Modes
Old 12-20-2007   #1 (permalink)
Newbie


  ainkami is offline

Forcing programs to run with standard user privileges

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?
Old 12-20-2007   #2 (permalink)
Brink's Avatar
Administrator


  Brink is online now

Re: Forcing programs to run with standard user privileges

Quote:
ainkami
View Post
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.

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.

User Account Control (UAC) - Elevate Privilege Level


User Account Control (UAC)


Administrator Account


Hope this helps,
Shawn
Old 12-21-2007   #3 (permalink)
Jimmy Brush
Guest


 

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@xxxxxx-mx.forums.net> wrote in message
news:ainkami.31x5yz@xxxxxx-mx.forums.net...
Quote:

>
> 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
Old 02-13-2008   #4 (permalink)
Chris Barnes
Guest


 

Re: Forcing programs to run with standard user privileges

brink wrote:
Quote:

> ainkami;550442 Wrote:
Quote:

>> 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.
>
> 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.
>
> User Account Control (UAC) - Elevate Privilege Level
>
> User Account Control (UAC)
>
> Administrator Account


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@xxxxxx Yahoo IM: chrisnbarnes
Old 02-16-2008   #5 (permalink)
Barry Haertel
Guest


 

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@xxxxxx> wrote in message
news:OJ8AsKpbIHA.4144@xxxxxx
Quote:

> brink wrote:
Quote:

>> ainkami;550442 Wrote:
Quote:

>>> 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.
>>
>> 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.
>>
>> User Account Control (UAC) - Elevate Privilege Level
>>
>> User Account Control (UAC)
>>
>> Administrator Account
>
>
>
> 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@xxxxxx Yahoo IM: chrisnbarnes
Closed Thread

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Programs Won't Run under Standard User Accounts TexasJack Vista account administration 2 06-07-2008 06:03 AM
Forcing my application to run with administrative privileges Sarah M. Weinberger Vista security 6 04-12-2008 01:58 PM
Standard User account cannot see/access all programs Bethmurs Vista account administration 1 04-04-2008 11:54 PM
Standard Users Privileges Sam Vista account administration 15 07-06-2007 02:22 PM
Problems Installing programs needing Administrator Privileges Tony M Vista General 7 04-12-2007 06:21 PM








Vistax64.com is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media 2005-2008

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50