Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Vista Newsgroups > Vista security

Vista - Forcing programs to run with standard user privileges

Reply
 
Old 12-20-2007   #1 (permalink)


Vista 32bit HP
 
 

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?

My System SpecsSystem Spec
Old 12-20-2007   #2 (permalink)


Vista x64 Ultimate SP2, Windows 7 Ultimate x64
 
 

Re: Forcing programs to run with standard user privileges

Quote  Quote: Originally Posted by 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
My System SpecsSystem Spec
Old 12-21-2007   #3 (permalink)
Jimmy Brush


 
 

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
My System SpecsSystem Spec
Old 02-13-2008   #4 (permalink)
Chris Barnes


 
 

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
My System SpecsSystem Spec
Old 02-16-2008   #5 (permalink)
Barry Haertel


 
 

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
My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Programs Won't Run under Standard User Accounts Vista account administration
Forcing my application to run with administrative privileges Vista security
Standard User account cannot see/access all programs Vista account administration
Standard Users Privileges Vista account administration
Problems Installing programs needing Administrator Privileges Vista General


Vista Forums 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 Ltd

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