UAC dennied my install without display dialog box

Posted: 03-31-2008, 08:08 AM

I do lsf installing on Vista, UAC is enabled, type "lsfmon -install" i
command line and will call OpenSCManager(), there is no dialog bo
displayed and give error "Access is denied". If I turn on the featur
"Run this program as adminstor" of lsfmon.exe, there is no problem, s
I want to know why Vista do not give out UAC dialog box for elevation

--
nicolasc

UAC dennied my install without display dialog box


Responses to "UAC dennied my install without display dialog box"

Jesper
Guest
Posts: n/a
 
RE: UAC dennied my install without display dialog box
Posted: 03-31-2008, 04:37 PM
UAC did not deny your install. UAC has nothing to do with it. UAC, in terms
of the elevation prompt, is only invoked if (a) an application asks for it,
or (b) if an application is automatically detected as an installer, or (c)
you have told the OS you want that application elevated. In this case,
neither is true, but you tried to perform a privileged operation
(creating/modifying a service) so the security infrastructure in the
operating system denied it.

The only part UAC would have played in this is that it strips the
Administrators SID out of your token, without which, this operation fails.
That is why you have to elevate to perform administrative tasks.

UAC does not include the vast majority of security infrastructure in the OS,
so blaming it for poorly written software or failing to understand how the OS
works is not a productive way to solve problems.
---
Your question may already be answered in Windows Vista Security:
http://www.amazon.com/gp/product/047...otectyourwi-20


"nicolasc" wrote:
>
> I do lsf installing on Vista, UAC is enabled, type "lsfmon -install" in
> command line and will call OpenSCManager(), there is no dialog box
> displayed and give error "Access is denied". If I turn on the feature
> "Run this program as adminstor" of lsfmon.exe, there is no problem, so
> I want to know why Vista do not give out UAC dialog box for elevation.
>
>
> --
> nicolasc
>
nicolasc
Guest
Posts: n/a
 
Re: UAC dennied my install without display dialog box
Posted: 04-01-2008, 02:07 AM

Thank you 4 all your helps, it's very usful for me

--
nicolasc
 
LinkBack Thread Tools Display Modes
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to display a dialog box during logon Albert Windows XP Work Remotely 0 05-05-2006 01:58 PM
How can I display the TCP/IP settings dialog programmatically? Klaus Windows XP Embedded 4 11-02-2005 07:32 AM
Always display a fix user name in the Log On to Windows dialog box? @(none) Customize Windows XP 5 03-06-2004 09:03 PM
failure to display sone dialog screensp Windows XP Help & Support 0 11-08-2003 11:59 PM
Epson Stylus Color 800 printer won't display Despooler dialog box Chuck Mason Windows XP Printers / Scanners / Fax 0 08-24-2003 11:47 PM