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

2 Strange UAC quirks

Update your Vista Drivers
Reply
 
Thread Tools Display Modes
Old 05-14-2007   #1 (permalink)
Arthur Dent
Guest


 

2 Strange UAC quirks

Okay... so i'm running with UAC enabled now (actually always was, just
changed from no-prompt to prompt)...

Now, i have two funny little quirks to pick on, and maybe someone knows why,
or how to fix these.

1st, just a silly quirk. ... I have two shortcuts - one to Sql Server 2005
Management Console, and one to PL/SQL Developer (an ORACLE developer tool).
Both programs have problems when running in limited mode, and need to be
elevated to function properly.
On both shortcuts, i right-clicked and propertied them. I clicked "Open file
location...". Then i right-clicked on the actual exe files, clicked
properties, and on the "Compatibility" tab i turned on "Run this program as
an administrator".
Now the weird thing. When i click the shortcuts (in the startmenu)... both
of them prompt me to run them as administrator, as expected. HOWEVER --- Sql
Server prompts me with a UAC standard "dialog box" with traditional buttons
of "Continue" and "Cancel", where as plsqldev prompts me with a UAC "task
pane" (those NEW 'dialog boxes' introduced with Vista) with the options of
"Cancel" and "Allow".

Can anyone explain to me why two exes, with UAC-configuration exactly the
same, prompt me with two different interfaces??


2nd, why for some actions, does UAC prompt you for elevation, but for other
actions, it FIRST prompts you and says "You will be prompted for this,
continue?" and then when you say yes, it prompts you AGAIN... with the
_real_ prompt? Why the double-prompt in some instances??


cheers all, and thanks for the info.
- Arthur Dent.


My System SpecsSystem Spec
Old 05-14-2007   #2 (permalink)
James Matthews
Guest


 

Re: 2 Strange UAC quirks

I have the same issue with Wing IDE for python! Now the reason is becuase if
the exe is signed and microsoft can tell where it comes from then it will
give you the continue or cancel but if it cannot then it will give you the
other one!

--

http://www.goldwatches.com/watches.asp?Brand=39
"Arthur Dent" <hitchhikersguideto-news@yahoo.com> wrote in message
news:8F20F0A9-158F-4C09-A6F4-873EA362129B@microsoft.com...
> Okay... so i'm running with UAC enabled now (actually always was, just
> changed from no-prompt to prompt)...
>
> Now, i have two funny little quirks to pick on, and maybe someone knows
> why, or how to fix these.
>
> 1st, just a silly quirk. ... I have two shortcuts - one to Sql Server 2005
> Management Console, and one to PL/SQL Developer (an ORACLE developer
> tool). Both programs have problems when running in limited mode, and need
> to be elevated to function properly.
> On both shortcuts, i right-clicked and propertied them. I clicked "Open
> file location...". Then i right-clicked on the actual exe files, clicked
> properties, and on the "Compatibility" tab i turned on "Run this program
> as an administrator".
> Now the weird thing. When i click the shortcuts (in the startmenu)... both
> of them prompt me to run them as administrator, as expected. HOWEVER ---
> Sql Server prompts me with a UAC standard "dialog box" with traditional
> buttons of "Continue" and "Cancel", where as plsqldev prompts me with a
> UAC "task pane" (those NEW 'dialog boxes' introduced with Vista) with the
> options of "Cancel" and "Allow".
>
> Can anyone explain to me why two exes, with UAC-configuration exactly the
> same, prompt me with two different interfaces??
>
>
> 2nd, why for some actions, does UAC prompt you for elevation, but for
> other actions, it FIRST prompts you and says "You will be prompted for
> this, continue?" and then when you say yes, it prompts you AGAIN... with
> the _real_ prompt? Why the double-prompt in some instances??
>
>
> cheers all, and thanks for the info.
> - Arthur Dent.


My System SpecsSystem Spec
Old 05-14-2007   #3 (permalink)
Arthur Dent
Guest


 

Re: 2 Strange UAC quirks

Hmm... that kinda makes sense, technically. . Thanks for the info!
Though practically, i am a little baffled why they would do that.
i mean, both warn you, both say it may be dangerous, both want your
permission to proceed, ... i wonder what the logic was for doing two
completely different UIs, as opposed to say, one, with a green vs. a red bar
across the top, or different icons, to make them distinct.

Ah well... the great mysteries that comprise the beast of Windows! LOL
..

still baffled about the second quirk though --- the mysterious
"double-headed prompt"--- shiver m'timbers!!

"James Matthews" <jamesmatt18@gmail.com> wrote in message
news:8F419726-F776-4E94-9190-25DA9BA819B4@microsoft.com...
>I have the same issue with Wing IDE for python! Now the reason is becuase
>if the exe is signed and microsoft can tell where it comes from then it
>will give you the continue or cancel but if it cannot then it will give you
>the other one!
>
> --
>
> http://www.goldwatches.com/watches.asp?Brand=39
> "Arthur Dent" <hitchhikersguideto-news@yahoo.com> wrote in message
> news:8F20F0A9-158F-4C09-A6F4-873EA362129B@microsoft.com...
>> Okay... so i'm running with UAC enabled now (actually always was, just
>> changed from no-prompt to prompt)...
>>
>> Now, i have two funny little quirks to pick on, and maybe someone knows
>> why, or how to fix these.
>>
>> 1st, just a silly quirk. ... I have two shortcuts - one to Sql Server
>> 2005 Management Console, and one to PL/SQL Developer (an ORACLE developer
>> tool). Both programs have problems when running in limited mode, and need
>> to be elevated to function properly.
>> On both shortcuts, i right-clicked and propertied them. I clicked "Open
>> file location...". Then i right-clicked on the actual exe files, clicked
>> properties, and on the "Compatibility" tab i turned on "Run this program
>> as an administrator".
>> Now the weird thing. When i click the shortcuts (in the startmenu)...
>> both of them prompt me to run them as administrator, as expected.
>> HOWEVER --- Sql Server prompts me with a UAC standard "dialog box" with
>> traditional buttons of "Continue" and "Cancel", where as plsqldev prompts
>> me with a UAC "task pane" (those NEW 'dialog boxes' introduced with
>> Vista) with the options of "Cancel" and "Allow".
>>
>> Can anyone explain to me why two exes, with UAC-configuration exactly the
>> same, prompt me with two different interfaces??
>>
>>
>> 2nd, why for some actions, does UAC prompt you for elevation, but for
>> other actions, it FIRST prompts you and says "You will be prompted for
>> this, continue?" and then when you say yes, it prompts you AGAIN... with
>> the _real_ prompt? Why the double-prompt in some instances??
>>
>>
>> cheers all, and thanks for the info.
>> - Arthur Dent.

>


My System SpecsSystem Spec
Old 05-15-2007   #4 (permalink)
Jimmy Brush
Guest


 

Re: 2 Strange UAC quirks

Hello,

1- The different UI's do indeed represent the difference between a
signed and unsigned executable.

UAC displays the difference between different types of applications
that request elevation. You will see a different UI between Windows
applications (blue bar), non-windows signed applications (grey bar),
unsigned applications (yellow bar), and untrusted publishers (red
bar).

Why?

This helps to prevent against "hijacking" attacks.

One way a malicious application might attempt to get on your system is
by throwing its own UAC prompt when you are normally expected to see a
UAC prompt for a trusted program.

For example, if you run say the SQL Server Management console, you are
expecting to see a UAC prompt, because you know it will require
permission to run.

A malicious program may somehow find a way to make it so that when it
detects you are going to run this program, it runs its own malicious
program before the intended program can run.

The idea here is that you will accept the UAC prompt for the malicious
program thinking the prompt is for the trusted program that you are
wanting to run.

By having completely differnet UAC prompts for different types of
programs, this threat is minimized, since you are much more likely to
notice, read, and dismiss an unusual UAC prompt for an application, as
opposed to if all UAC prompts looked the same.

2- This happens because there are some instances where a UAC prompt
would not give you enough information as to what is going on for you
to know whether to proceed.

For example, if you are deleting a group of files in Windows Explorer
and you need to provide your consent to delete one of the files in the
group, two things must be displayed to you:

1- which files is cauing the problem
2- then, finally, the UAC prompt

Since the UAC prompt cannot contain application-customizable messages
(this would allow malicious applications to put malicious and
deceiving messages into a uac prompt), the only way to handle these
situations is to display two prompts back to back...

first, the informational prompt *from the application* that tells you
what the application says it is going to do with the elevated power
that it will ask for you in the next uac prompt, and then second, the
real uac prompt *from the system* that allows you to approve or deny
the giving of elevating privileges to the application.

- JB
Microsoft MVP - Windows Shell

On Mon, 14 May 2007 22:34:55 -0400, "Arthur Dent"
<hitchhikersguideto-news@yahoo.com> wrote:

>Okay... so i'm running with UAC enabled now (actually always was, just
>changed from no-prompt to prompt)...
>
>Now, i have two funny little quirks to pick on, and maybe someone knows why,
>or how to fix these.
>
>1st, just a silly quirk. ... I have two shortcuts - one to Sql Server 2005
>Management Console, and one to PL/SQL Developer (an ORACLE developer tool).
>Both programs have problems when running in limited mode, and need to be
>elevated to function properly.
>On both shortcuts, i right-clicked and propertied them. I clicked "Open file
>location...". Then i right-clicked on the actual exe files, clicked
>properties, and on the "Compatibility" tab i turned on "Run this program as
>an administrator".
>Now the weird thing. When i click the shortcuts (in the startmenu)... both
>of them prompt me to run them as administrator, as expected. HOWEVER --- Sql
>Server prompts me with a UAC standard "dialog box" with traditional buttons
>of "Continue" and "Cancel", where as plsqldev prompts me with a UAC "task
>pane" (those NEW 'dialog boxes' introduced with Vista) with the options of
>"Cancel" and "Allow".
>
>Can anyone explain to me why two exes, with UAC-configuration exactly the
>same, prompt me with two different interfaces??
>
>
>2nd, why for some actions, does UAC prompt you for elevation, but for other
>actions, it FIRST prompts you and says "You will be prompted for this,
>continue?" and then when you say yes, it prompts you AGAIN... with the
>_real_ prompt? Why the double-prompt in some instances??
>
>
>cheers all, and thanks for the info.
>- Arthur Dent.

My System SpecsSystem Spec
Reply
Update your Vista Drivers

Thread Tools
Display Modes



Similar Threads
Thread Thread Starter Forum Replies Last Post
Failed to Play Test Tone, other assorted bugs/quirks GaWd Vista General 23 01-11-2008 02:35 PM
Internet Explorer 7 and Windows Vista Quirks traquino98 Vista General 0 11-25-2007 01:14 AM
oscdimg and PowerShell - quirks? perimere PowerShell 2 06-08-2007 11:28 AM
2 Strange UAC quirks Arthur Dent Vista General 3 05-15-2007 02:44 AM
Start menu GUI quirks Roof Fiddler Vista General 0 09-16-2006 11:17 PM


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