Windows Vista Forums
Vista Forums Home Join Vista Forums Tech Publications Windows 7 Forum Vista Tutorials Webcasts Tags

Welcome to Vista Forums we are your forum for Windows Vista help and discussion. 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

Question on running priviledge?

Update your Vista Drivers
Reply
 
Thread Tools Display Modes
Old 12-19-2006   #1 (permalink)
Polaris
Guest


 

Question on running priviledge?

Hi Experts:

I have a few questions on user privilege under Vista:

(1) If I login Vista as an admin and then start to run some applications
normally, are those apps running with admin privilege? Or I have to
right-click the app and then fire it up through "Run as administrator"?

(2) Suppose a batch file starts 3 apps, if I run the batch file using the
"Run as administrator" option, will the 3 applications be running with admin
privilege?

Thanks in Advance!
Polaris



My System SpecsSystem Spec
Old 12-19-2006   #2 (permalink)
Colin Barnhorst
Guest


 

Re: Question on running priviledge?

The answer to (1) is no. You are running as a standard user with admin
rights when needed. If a program needs admin priviledges you will still be
prompted for consent. A standard user without admin rights would also be
prompted but for an admin password.

"Polaris" <etpolaris@hotmail.com> wrote in message
news:O5XsLa9IHHA.2236@TK2MSFTNGP02.phx.gbl...
> Hi Experts:
>
> I have a few questions on user privilege under Vista:
>
> (1) If I login Vista as an admin and then start to run some applications
> normally, are those apps running with admin privilege? Or I have to
> right-click the app and then fire it up through "Run as administrator"?
>
> (2) Suppose a batch file starts 3 apps, if I run the batch file using the
> "Run as administrator" option, will the 3 applications be running with
> admin privilege?
>
> Thanks in Advance!
> Polaris
>


My System SpecsSystem Spec
Old 12-19-2006   #3 (permalink)
Jimmy Brush
Guest


 

RE: Question on running priviledge?

> (2) Suppose a batch file starts 3 apps, if I run the batch file using the
> "Run as administrator" option, will the 3 applications be running with admin
> privilege?


Yes. Any processes spawned by an admin process will automatically inherit
the admin privileges, without prompting.

- JB
My System SpecsSystem Spec
Old 12-20-2006   #4 (permalink)
David Hearn
Guest


 

Re: Question on running priviledge?

Just to clarify a little.

If a program *which is UAC aware* needs admin privileges you will still
be prompted for consent. If a non UAC aware program (ie. legacy, not
updated for Vista) needs admin privileges for some function calls, those
calls will fail, probably crashing the application.

UAC dialogs and auth requests are not free.

D

Colin Barnhorst wrote:
> The answer to (1) is no. You are running as a standard user with admin
> rights when needed. If a program needs admin priviledges you will still
> be prompted for consent. A standard user without admin rights would
> also be prompted but for an admin password.
>
> "Polaris" <etpolaris@hotmail.com> wrote in message
> news:O5XsLa9IHHA.2236@TK2MSFTNGP02.phx.gbl...
>> Hi Experts:
>>
>> I have a few questions on user privilege under Vista:
>>
>> (1) If I login Vista as an admin and then start to run some
>> applications normally, are those apps running with admin privilege? Or
>> I have to right-click the app and then fire it up through "Run as
>> administrator"?
>>
>> (2) Suppose a batch file starts 3 apps, if I run the batch file using
>> the "Run as administrator" option, will the 3 applications be running
>> with admin privilege?
>>
>> Thanks in Advance!
>> Polaris
>>

>

My System SpecsSystem Spec
Old 12-20-2006   #5 (permalink)
David Hearn
Guest


 

Re: Question on running priviledge?

Doh, just to clarify further! With regard to non UAC aware apps, some
admin functions regarding writing to Program File or HKLM will actually
work if Virtualisation is enabled, but the data will be written to the
user-specific virtual stores.

To further confuse matters, if an application *is* UAC aware, then
Virtualisation is disabled by the OS and if that app did not specify in
its manifest that it requires Admin privs yet tries to do admin
functions (including writing to Program Files/HKLM) then it will also
fail and possibly crash.

D

David Hearn wrote:
> Just to clarify a little.
>
> If a program *which is UAC aware* needs admin privileges you will still
> be prompted for consent. If a non UAC aware program (ie. legacy, not
> updated for Vista) needs admin privileges for some function calls, those
> calls will fail, probably crashing the application.
>
> UAC dialogs and auth requests are not free.
>
> D
>
> Colin Barnhorst wrote:
>> The answer to (1) is no. You are running as a standard user with
>> admin rights when needed. If a program needs admin priviledges you
>> will still be prompted for consent. A standard user without admin
>> rights would also be prompted but for an admin password.
>>
>> "Polaris" <etpolaris@hotmail.com> wrote in message
>> news:O5XsLa9IHHA.2236@TK2MSFTNGP02.phx.gbl...
>>> Hi Experts:
>>>
>>> I have a few questions on user privilege under Vista:
>>>
>>> (1) If I login Vista as an admin and then start to run some
>>> applications normally, are those apps running with admin privilege?
>>> Or I have to right-click the app and then fire it up through "Run as
>>> administrator"?
>>>
>>> (2) Suppose a batch file starts 3 apps, if I run the batch file using
>>> the "Run as administrator" option, will the 3 applications be running
>>> with admin privilege?
>>>
>>> Thanks in Advance!
>>> Polaris
>>>

>>

My System SpecsSystem Spec
Reply
Update your Vista Drivers

Thread Tools
Display Modes



Similar Threads
Thread Thread Starter Forum Replies Last Post
Lost my administration priviledge Kzee Vista account administration 0 03-26-2008 09:51 PM
CPU running at max when running programs allblue Vista hardware & devices 2 08-29-2007 09:52 AM
Question for those running 64bit Vista ... Bret Butcher Vista General 6 06-25-2007 07:23 PM
Re: Question for those running 64bit Vista ... Bret Butcher Vista Games 4 06-25-2007 07:10 PM
Question on running priviledge? Polaris Vista General 4 12-20-2006 04:23 AM


Complimentary Industry Resources

Vista Forums has joined forces with TradePub.com to offer you a new, exciting, and entirely free professional resource. Visit http://vistax64.tradepub.com today to browse our selection of complimentary Industry magazines, white papers, webinars, podcasts, and more across 34 industry sectors. No credit cards, coupons, or promo codes required. Try it today!




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 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 51