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 - UAC dennied my install without display dialog box

Reply
 
Old 03-31-2008   #1 (permalink)


Vista 32bit
 
 

UAC dennied my install without display dialog box

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.

My System SpecsSystem Spec
Old 03-31-2008   #2 (permalink)


Windows 7 RC
 
 

Re: UAC dennied my install without display dialog box

Quote  Quote: Originally Posted by nicolasc View Post
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.
Nicolas:

Welcome to the Vista Forums

It's good to hear that you are leaving the UAC enabled. It is an integrated security feature of Vista. As to why it is not prompting you is a good question. I don't have an immediate answer for you, but will continue researching the issue.
My System SpecsSystem Spec
Old 03-31-2008   #3 (permalink)
Jesper


 
 

RE: UAC dennied my install without display dialog box

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:
Quote:

>
> 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
>
My System SpecsSystem Spec
Old 03-31-2008   #4 (permalink)


Vista 32bit
 
 

Re: UAC dennied my install without display dialog box

Thank you 4 all your helps, it's very usful for me.
My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Temporarily display dialog box with last login info... VB Script
Re: How to display a variable value in a dialog box and how to readuser input? VB Script
Re: How to display a variable value in a dialog box and how to read user input? VB Script
How to display or add Color dialog box in asp.net .NET General
An error occurred while attempting to display the Windows Live ID Sign-In dialog. Vista mail


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