On TechRepublic: Windows 7: Slower to boot than Vista?
BNET Business Network:
BNET
TechRepublic
ZDNet

May 29th, 2008

Dear Microsoft: Please get UAC right this time

Posted by Ed Bott @ 1:22 pm

Categories: Security, Windows 7, Windows Vista

Tags: Dialog Box, Permission, Window, Control Panel, Microsoft Windows Vista, Microsoft Corp., UAC, Microsoft Windows Vista (Longhorn), Construction, Advertising & Promotion

Alex Eckelberry of Sunbelt Software vents, intelligently, about Windows Vista’s UAC conundrum:

UAC could certainly have been handled better. It does something the security industry has been well aware of for a long time — it creates the “cry wolf” problem of popup fatigue (people turn off or ignore the popups after awhile). Vista is more secure than XP, despite what others might say, but it still gets infected. Since over 80% of all infections are based on social engineering, the popups should focus on that weak point. If UAC targeted the key areas where people run into trouble (as opposed to harassing the user on inane actions), it would be far more helpful and potentially make a really significant impact on infection rates.

Absolutely right. A single request for permission doesn’t bother most people. What gets under the skin is the second UAC prompt, and the third, and the fourth, and so on. The closer together those dialog boxes arrive, the more annoying the phenomenon.

I was all prepared to lay out my modest proposal for how Microsoft should tweak UAC in Windows 7. And then I said, “Hey, wait a minute! I already did this.”

And sure enough, with a little help from Google I was able to reread “How Microsoft can save User Account Control.” which I wrote way back in May 2006, while Vista was still in beta. In that post, I offered four “suggestions that might ease the pain” of UAC. Two years later, I think those recommendations are still valid, so I’m reprinting them here, with a little updated commentary on each one:

Create a special Admin Mode. Power users would appreciate a UAC option that lets an administrator respond to a single prompt and temporarily open a session that runs with full administrative permissions. The devil is in the details, of course. How do you keep people from choosing this option as the default?

I sure hope someone at Microsoft has been actively working on a way to implement this type of behavior, which I like to think of as Advance Consent mode. In Vista as it exists today, I can do this by switching into silent consent mode (as I describe in Fixing Windows Vista, Part 2: Taming UAC), but that setting is persistent, in the current session and in future sessions. If I forget to switch UAC back to its normal behavior, I’ve made myself more vulnerable to a variety of attacks. The default settings could exit Advance Consent mode after a specified time - say, 15 minutes -  in which I take no activity that would have required UAC approval.

Put a time limit on UAC. [E]ach UAC prompt is tied to a single process. When that process ends, so does the elevated set of permissions. But what if a UAC consent dialog box elevated your permissions for 10 minutes? Long enough to install a couple of programs or make a series of system tweaks, but not so long that you forget and fall victim to a piece of malware.

I think this should be an option in every UAC dialog box. It can be hidden, just as the Options section of IE7’s Close dialog box is hidden by default. Give me a check box that says “Automatically approve elevation requests for the next 10 minutes.” That way, I get to approve the first UAC dialog box and then don’t have to worry about a flurry of additional, related UAC prompts.

Provide easy options to open Control Panel and/or Explorer with full Admin rights. As I indicated earlier, it takes only a right-click and a quick OK to open either of these windows with full permissions. So why not offer those options on the Start menu?

This is an especially important change to make for Control Panel. If I open Control Panel and double-click an icon with the UAC shield, that consent should transfer to any other action I execute from Control Panel, until I close the Control Panel window. This feature might work especially well in tandem with the next suggestion.

Identify applications running in an elevated context. Today, if I open two Windows Explorer sessions – one as a standard user and another using an administrator’s process token – I have no way to distinguish which is which. A text label in the title bar, or a blood-red border around the window, would help prevent this convenient shortcut from becoming a security hole.

For Command Prompt sessions, this was addressed (too subtly, in my opinion) in Vista RTM. When you run Cmd.exe as an Administrator, the word “Administrator:” appears in front of the window title in the title bar. I still like the idea of the blood-red border.

As I noted in that original May 2006 post, “Microsoft has to deal decisively with the perception that UAC imposes an unacceptable tradeoff between performance and security. In its current incarnation, too many people are likely to dismiss it completely, and if that happens, everyone loses.”

That plea fell on deaf ears two years ago. Maybe, after more than a year of user complaints and frustration, someone is finally ready to listen.

Ed BottEd Bott is an award-winning technology writer with more than two decades' experience writing for mainstream media outlets and online publications. See his full profile and disclosure of his industry affiliations.

Email Ed Bott

Subscribe to Ed Bott's Microsoft Report via Email alerts or RSS.

  • Talkback
  • Most Recent of 130 Talkback(s)
If you have privilege elevation
you should be able to do whatever you want with non-system files. And I think shortcuts to programs should be included in that.... (Read the rest)
Posted by: SamCPP Posted on: 07/31/08 You are currently: a Guest | | Terms of Use
Simpler idea  spark555 | 05/29/08
Well-written apps already behave that way  Ed BottZDNet Moderator | 05/29/08
Most apps are not written for Vista  SamCPP | 05/29/08
I didn't say written for Vista  Ed BottZDNet Moderator | 05/29/08
you should learn what permissions are  qmlscycrajg | 05/29/08
Don't think that's the reason...  cgdams | 05/30/08
If you have privilege elevation  SamCPP | 07/31/08
Hmmm - seems to work for me...  cgdams | 05/30/08
I may try the search  SamCPP | 07/31/08
UAC's file and registry virtualization already does it  qmlscycrajg | 05/29/08
just use the admin account or enjoy the ride in the passanger seat  pupkin_z | 05/29/08
Locks on houses ae so inconvenient.  CobraA1 | 05/29/08
Is anyone home?  klumper | 05/29/08
RE: Dear Microsoft: Please get UAC right this time  spark555 | 05/29/08
What are you talking about?  wolf_z | 05/30/08
UAC time delay  jeffbean12@... | 05/29/08
Some times a compromise on useability is needed.  DevGuy_z | 05/30/08
You're assuming that privilege escalation...  bmerc | 05/30/08
That's not a real issue.  DannyO_0x98 | 05/30/08
The time limit causes other problems.  alcedes | 06/06/08
You miss the point  Ed BottZDNet Moderator | 06/06/08
RE: Dear Microsoft: Please get UAC right this time  spark555 | 05/29/08
So what's your suggestion to go about doing it?  ye | 05/29/08
Nice in concept but difficult in practice  SamCPP | 05/29/08
Emulate Unix sudo  D. T. Schmitz | 05/29/08
What benefit would this have for the majority...  ye | 05/29/08
(nt)Several programs that impliment sudo in windows already exist  toadlife | 05/29/08
But that's not good enough...  bmerc | 05/30/08
sudo is not built in functionality  ye | 05/30/08
Unix sudo is unsafe  qmlscycrajg | 05/29/08
You don't have a clue, do you?  n0neXn0ne | 05/31/08
Unforutately that feature results in a security hole.  ye | 06/01/08
when ...  n0neXn0ne | 06/01/08
RE: Emulate Unix sudo (RBAC)  n0neXn0ne | 05/30/08
Sorry Ed but I have to disagree about the caching.  ye | 05/29/08
As in all areas of life you have to strike a balance...  DevGuy_z | 05/30/08
I agree. But then we'd have people whining about how...  ye | 05/30/08
Yes (about the whining) but then you just....  DevGuy_z | 05/30/08
UAC is not a system wide elevation.  ye | 06/01/08
RE: Dear Microsoft: Please get UAC right this time  bjs_z | 05/29/08
Some thoughts.  TripleII | 05/29/08
Forgot backward compatibility part.  TripleII | 05/29/08
Won't work. Microsoft has already done...  ye | 05/29/08
Yes, it does, if they want it to.  TripleII | 05/29/08
Again: Trying to enforce "Written for Windows 7" has...  ye | 05/29/08
We aren't communicating.  TripleII | 05/29/08
That's unrealistic. People are already whining about...  ye | 05/30/08
Re: That's unrealistic. People are already whining about...  Michael Kelly | 05/30/08
...  Linux User 147560 | 05/30/08
Re: ...  Michael Kelly | 05/30/08
@Michael Kelly: I think MS has a thick skin. After all they...  ye | 05/30/08
I think this is not a bad idea...but is it all that  middleuser | 05/30/08
Keep in mind...  TripleII | 05/29/08
Malware would find a way...  wolf_z | 05/30/08
I meant drive by.  TripleII | 05/30/08
A quick summary in replyable place.  TripleII | 05/30/08
Fixing Installers  gtg781w | 05/29/08
Not sure that's a good idea  Ed BottZDNet Moderator | 05/29/08
Re: Not a good idea  notsofast | 05/30/08
No, that's not how it works  Ed BottZDNet Moderator | 05/30/08
Hmm  beoz | 05/30/08
Right  Ed BottZDNet Moderator | 05/30/08
Correct again  beoz | 06/02/08
Check Folder and Search Options  Ed BottZDNet Moderator | 05/31/08
Ed, that is how it works  notsofast | 05/30/08
I hate to say you're wrong, Ed....  johnlgalt@... | 05/31/08
Another thought:  johnlgalt@... | 05/31/08
Both Explorer and Iexplore are different  Ed BottZDNet Moderator | 05/31/08
To summarize and clarify...  Ed BottZDNet Moderator | 05/31/08
I just did exactly that  Ed BottZDNet Moderator | 05/31/08
I can repro if...  Ed BottZDNet Moderator | 05/31/08
Looks like that's correct  notsofast | 05/31/08
it works already in this way  qmlscycrajg | 05/29/08
Are we even using the same OS?  cfischer83@... | 05/29/08
I don'tsee it much either  tech_walker | 05/29/08
RE: Dear Microsoft: Please get UAC right this time  MowGreen | 05/30/08
RE: Dear Microsoft: Please get UAC right this time  MowGreen | 05/30/08
Don't shoot me dead  alanrr | 05/30/08
Permissions set when process starts  Ed BottZDNet Moderator | 05/30/08
Gee, you think...  Jeremy W | 05/30/08
I totally agree. Microsoft please listen!  DevGuy_z | 05/30/08
UAC  Jim from NoVA | 05/30/08
As long as you're using modern software  Michael Kelly | 05/30/08
Which brings us back to the software developers and not...  ye | 05/30/08
Then don't use it...  Bob in Atlanta | 05/30/08
can only designate shortcuts with "Run as Administrator"  Jim Johnson | 05/30/08
Developers can aleady do that  Ed BottZDNet Moderator | 05/30/08
Part of Windows?  beoz | 05/30/08
Nevermind, Johnny can't read apparently  beoz | 05/30/08
RE: Dear Microsoft: Please get UAC right this time  terraterm | 05/30/08
Huh?  Ed BottZDNet Moderator | 05/30/08
RE: Dear Microsoft: Please get UAC right this time  s0121@... | 05/30/08
RE: Dear Microsoft: Please get UAC right this time  Ashtonian | 05/30/08
Here, read this  Ed BottZDNet Moderator | 05/30/08
uac irritations  hansonjb | 05/30/08
Those are *permission* issues, not UAC  wolf_z | 05/30/08
Agreed  Ed BottZDNet Moderator | 05/30/08
Put it on developers, again...  No_Ax_to_Grind | 05/30/08
You're confused...  Ed BottZDNet Moderator | 05/30/08
Care to bet?  No_Ax_to_Grind | 05/30/08
UAC is a result of the Law of Unintended Consequences  SauceMaster | 05/30/08
Easing the pain  Yagotta B. Kidding | 05/30/08
Agree completely. Let's hope they listen  GeiselS@... | 05/30/08
Now that I'm used to it Don't change it!  marks055@... | 05/30/08
Master Joe Says...  MasterJoe | 05/30/08
Well, in all fairness....  johnlgalt@... | 05/31/08
I don't know any software that requires more than  marks055@... | 05/30/08
Correct....  johnlgalt@... | 05/31/08
I'm not saying some people don't get this  marks055@... | 05/31/08
RE: Dear Microsoft: Please get UAC right this time  johnlgalt@... | 05/31/08
I published that tip first  Ed BottZDNet Moderator | 05/31/08
Perfect Way To Fix UAC  davidcantu1970@... | 05/31/08
Once again:  ye | 05/31/08
LOL Thanks YE  marks055@... | 05/31/08
Not sure why some people say UAC is perfect  Speednet | 06/01/08
I only received a single prompt  ye | 06/01/08
Add folder in Program Files folder = one prompt  Ed BottZDNet Moderator | 06/01/08
It's kind of funny, the how-to UAC is in their face  devlin_X | 06/01/08
It's kinda funny how OSS advocates...  ye | 06/01/08
Correction: Substitute "zealot" for advocates"  ye | 06/01/08
RE: It's kinda funny ...  n0neXn0ne | 06/01/08
What true would that be?  ye | 06/01/08
One more... elevation and the command prompt...  Ambivi | 06/01/08
Ed Bott and I Agree!  chessmen | 06/02/08
RE: Dear Microsoft: Please get UAC right this time  ValhalaU | 06/05/08
Send UAC to Recycle Bin!!!!  rgeiken@... | 06/06/08
Options section IE7 Close dialog box is hidden by default  bsoplinger | 06/11/08
That's my point  Ed BottZDNet Moderator | 06/12/08
UAC Is Just Useless ( Really ! )  rock2007@... | 06/28/08
You don't understand UAC  Ed BottZDNet Moderator | 06/28/08

What do you think?

SponsoredWhite Papers, Webcasts, and Downloads

Click Here
advertisement

Recent Entries

Premier Vendor Content Whitepapers, webcasts & resources from our Power Center Sponsors
advertisement

Archives

ZDNet Blogs

White Papers, Webcasts, and Downloads

Meet Doc

  • Here to help you with your Document Management Needs
  • Doc is an enigma. Born to a Russian ballerina and a German electrical engineer, he grew up in various locations in the United States. He’s seen the insides of more brands, versions, and generations of printer and printer-related hardware than almost anyone.
  • To learn more about this mysterious figure check out his blog on ZDNet and his Workspace on TechRepublic. You’ll be glad you did.
  • Produced by
    ZDNet and