ie8 fix
madison

Fixing Windows Vista, Part 2: Taming UAC

By | April 29, 2008, 10:41pm PDT

The User Account Control feature in Windows Vista has been known to drive normally level-headed people over the edge with frustration. If you find it annoying, you might be tempted to turn it off. According to Microsoft research, somewhere between 12 and 16 percent of all Windows Vista users do exactly that. But before you take such a radical step, it helps to understand what UAC is actually doing on your behalf and how you can tone down its hard edges without sacrificing its protection.

The biggest misconception I hear about UAC is that it’s just another silly “Are you sure?” dialog box that users will quickly learn to ignore. That’s only one small part of the overall UAC system. The point of UAC is to allow you to run as a standard user, something that is nearly impossible in Windows XP and earlier Windows versions. In fact, with UAC enabled (the default setting) every user account in Windows Vista runs as a standard user. When you try to do something that requires administrative privileges, you see a UAC consent dialog box. If you’re an administrator, you simply have to click Continue when prompted. If you’re running as a standard user, you have to provide the user name and password of a member of the Administrators group.


  Image Gallery: I’ve created a walkthrough gallery that shows how to tone down the hard edges of UAC without sacrificing its protection.   UAC's Secure Desktop is a hard block   It's best to have only one Administrator account  

UAC has four major benefits:

  1. On a shared computer, you can set up standard user accounts for users who don’t have the experience or training to make smart decisions about installing software or making system changes. As a result, they won’t be able to do any damage if a malicious website fools them into trying to install a piece of spyware or a Trojan.
  2. As an administrator, you get a warning before a piece of software attempts to make a change that can adversely affect the system. In Windows XP, clicking OK to a single malicious installer program could install a dozen programs in the background, with no warning to you. In Vista with UAC, you’ll have to give consent to each installation (and presumably will say No, early and often.)
  3. Badly written programs sometimes try to write user data to system areas, such as the Windows or Program Files folder or a registry key that affects all users. In Windows XP, running this type of program as a standard user would probably cause the program to fail. With Vista, those operations are intercepted and written to a virtualized location in your user profile. The program thinks it wrote a file to the Windows folder, but the actual file appears in your profile.
  4. Internet Explorer 7 runs in Protected Mode when UAC is on. That causes processes in a browser window to run at a low integrity level, where they’re blocked from interacting with processes that have a higher integrity level. The net effect is to stop entire classes of web-based attacks in their tracks.

Microsoft product unit manager David Cross made some remarks several weeks ago that have been widely misinterpreted. He was quoted as saying that the reason Microsoft added UAC to Windows Vista was “to annoy users.” The reality is that UAC shouldn’t be annoying, and consent dialog boxes shouldn’t be common. If you’re being pestered with UAC prompts all day long, you should be annoyed at the software developer that wrote the crappy program that’s responsible for those prompts, and you should in turn annoy them until they fix it.

But if you do find UAC annoying in day-to-day use, I recommend that you try one or more of the alternatives described in this post before resorting to the “nuclear alternative” of completely disabling it. The three techniques I outline here (with illustrations in the accompanying screenshot gallery) can help cut the annoyance factor dramatically

Page 2: Stop annoying UAC “fade to black” slowdowns

Page 3: Create an Administrator account that’s free of UAC prompts

Page 4: Use shortcuts to start programs in admin mode without UAC prompts

Next –>

Topics

Ed Bott is an award-winning technology writer with more than two decades' experience writing for mainstream media outlets and online publications.

Disclosure

Ed Bott

Ed Bott is a freelance technical journalist and book author. All work that Ed does is on a contractual basis.

Since 1994, Ed has written more than 25 books about Microsoft Windows and Office. Along with various co-authors, Ed is completely responsible for the content of the books he writes. As a key part of his contractual relationship with publishers, he gives them permission to print and distribute the content he writes and to pay him a royalty based on the actual sales of those books. Ed's books written prior to fall 2011 have been distributed by Que Publishing (a division of Pearson Education) and by Microsoft Press. As of November 2011, Ed is a partner in the independent publishing company Fair Trade Digital Exchange, which exclusively publishes his books.

On occasion, Ed accepts consulting assignments. In recent years, he has worked as an expert witness in cases where his experience and knowledge of Microsoft and Microsoft Windows have been useful. In each such case, his compensation is on an hourly basis, and he is hired as a witness, not an advocate.

Ed does not own stock or have any other financial interest in Microsoft or any other software company. He owns 500 shares of stock in EMC Corporation, which was purchased before the company's acquisition of VMware. In addition, he owns 350 shares of stock in Intel Corporation, purchased more than two years ago. All stocks are held in retirement accounts for long-term growth.

Ed does not accept gifts from companies he covers. All hardware products he writes about are purchased with his own funds or are review units covered under formal loan agreements and are returned after the review is complete.

Biography

Ed Bott

Ed Bott is an award-winning technology writer with more than two decades' experience writing for mainstream media outlets and online publications. He's served as editor of the U.S. edition of PC Computing and managing editor of PC World; both publications had monthly paid circulation in excess of 1 million during his tenure. He is the author of more than 25 books on Microsoft Windows and Office, including the recently released Windows 7 Inside Out.

214
Comments

Join the conversation!

Just In

RE: Fixing Windows Vista, Part 2: Taming UAC
beijing2008 14th Sep
Beautiful, I love it!! chanel wallet
0 Votes
+ -
Ed, You Rock
Mr. Big 29th Apr 2008
Excellent article; thanks a bunch.
0 Votes
+ -
RE: Ed, You Rock
cromwellryan@... 30th Apr 2008
When I initially saw this headline, I was on the verge of irritation, but this is a great article.

I would say that most users in my office never see a UAC prompt for weeks on end, so I'm not sure who these normal users are that have so many issues. I would suggest they look to their software vendor with concern.
0 Votes
+ -
I have this problem
bigsibling 30th Apr 2008
I have several programs that I run regularly that require UAC approval (Visual Studio 2005 is one of them...for some reason). While I do at times find it annoying, it does give me warm fuzzies knowing that my kids or the 5/8 have a lower chance of mussing up my system.

It is great to know I can create shortcuts for known safe programs that pretty much bypass the UAC.
0 Votes
+ -
I hope...
Spiritusindomit@... 30th Apr 2008
That's sarcasm....

You can't create shortcuts that will bypass it, the uac dialogue will still pop. Also, upgrade to 2008.
0 Votes
+ -
Contributr
Did you read this story?
Ed Bott 30th Apr 2008
The last page explains how to create a Scheduled Task that automatically elevates itself without a UAC dialog box. You can then assign that task to a shortcut and run it. I presume that's what he was referring to.
0 Votes
+ -
UAC... is a waste of time
notlehs 1st May 2008
Ed I am sorry, but UAC is a massive waste of time for most users. They will simply always click continue. Why? because they want to install the software they are installing.

We don't want to tweak it so it doesn't pop up...why waste time doing that when 6 clicks eliminates it forever?

UAC is an answer to a problem few have. They problem isn't that people are accidentally installing malicious programs on their PCs... it is that they purposely install crapware in order to gain access to something free. This crapware then delivers its malicious payload. These users are the same users who will simply click continue. A user such as myself, would always install software from a reputable vendor and therefore wouldn't need to worry about these issues. It is no coincidence that most of us who aren't trying to get free crapware do not encounter these problems with or without UAC.

UAC is disabled on my Vista machine as it has been since about the 50th prompt during initial setup of my machine. The Windows software firewall....also has been disabled from moment one as it has the same issue... prompt... prompt....prompt. Third Party Firewall software works much better and with WAY less prompting...When MS decides to find a way to not prompt me to death, I might use these features...until then disabled they will be.
0 Votes
+ -
Only half right
klumper 1st May 2008
Not sure it is really fair to call it a waste of time, but it is imo a rather poor implementation of a long overdue 'step in the right direction', that is, a ramping up of platform security. Personally I grin (all right, grimace) and bear the pain, as opposed to ditching UAC altogether.

If you're willing to dance a little, Ed does offer a lot of sensible ideas in this article to make dealing with the admittedly needling redundancies a bit more bearable. Hopefully Microsoft will listen to its user base and critics and get it right the next time around -- they're not far from making this happen (assuming they listen).

That said, I do empathize with much of what you've written, and feel it reflects the sentiments of the public at large (whom I deal with regularly on such issues).

Justin James and George Ou how have a few interesting takes on this very subject on Ou's new Technology For Mortals Blog that you might want to visit: Microsoft's Achille's Heel
http://www.formortals.com/Home/tabid/36/EntryID/16/Default.aspx
0 Votes
+ -
Waste? IMO - Not!
rhonin 1st May 2008
UAC has been a nice tool I use at home.
Four teens each with their own pc.
I can do what I need in their logon w/o having to login as the admin and it has been great stopping them from 'installing' items they should not.

Far fewer issues than when they were on 2000/xp.
0 Votes
+ -
did you read the article?
evilkillerwhale@... 30th Apr 2008
it explains how to bypass...
0 Votes
+ -
Wow, what kind of magic are those users dabbling in?
Kid Icarus-21097050858087920245213802267493 1st May 2008
because after using Vista for a couple of months I see dialog after dialog of UAC prompts for same dang thing over and over and over...mostly for MS's apps. Soooooo should we be looking at that vendor as the cause of the problems? wink
0 Votes
+ -
More likely.
rtk 1st May 2008
you've "tweaked" your system into a total disaster.

Very few MS apps would request elevation, unless you screwed up the permissions on your folder structures.

It doesn't take any magic.
0 Votes
+ -
Hmm, that's funny
Kid Icarus-21097050858087920245213802267493 1st May 2008
I didn't have to "tweak" anything for every control panel to ask if I need permission or for many apps to repeatedly ask for the same permission over and over. Nope, no tweaking done on my part.

Sluffing off a complaint as someone who knows nothing, huh? Nice. Do you always defend MS this way?

It could never be MS's implementation of this silly "feature" now could it?

Besides, do you really think a yes or no box makes your computer safe? At least require some password credentials or something, but oh wait, if MS did that the UAC would be even more annoying because it goes off for the most trivial reasons.

How does a UAC prompt help the security of your computer if you have launched that same app 20 times previously? See? It doesn't make sense.

It's a tacked on fake feature.
0 Votes
+ -
It really is.
rtk 1st May 2008
Any control panel app that affects machine rather than user settings should require elevation.

Any program that accesses or changes machine rather than user settings needs to elevate.

I'm not "sluffing off a complaint" about a ligitimate complaint, I'm questioning how you'd manage to misconfigure a machine to the point you can't open any app without it asking to elevate.

It's surely not the default, nor the experience of the mass majority.

If you need help understanding least privilege and rights elevation, maybe you could search out one of the hundreds of explanations available online.
0 Votes
+ -
Really?
Kid Icarus-21097050858087920245213802267493 1st May 2008
I need to asked if I really want to open a control panel
every time over and over with the same app in my session?
Even if I close and open it again. A control panel that I
specifically clicked on to open and do nothing else? Really?

Wow, now that's security.

There's a reason it's just a simple yes or no question being
tacked on to your actions. Otherwise it would be a
nightmare. There's a difference between thoughtfully
knowing when to raise privileges and just willy nilly asking
if you would like to cancel or allow just about everything
you do.

And as far as that not being the default, you're wrong. I
did nothing special in my install to "tweak" anything. That's
just Vista through and through.
0 Votes
+ -
yup, really.
rtk 1st May 2008
according to MS, and witnessed on our now 50+ installs of Vista, 90% of user sessions have 0 UAC prompts, less than 2% see more than 4.

Do you spend your day tweaking your control panel applets? Most users "use" their pc, and least for some portion of their session.

On a corporate network, over the shoulder elevation has made standard user accounts an easily achievable goal. On XP and below it was an absolute nightmare.
0 Votes
+ -
Contributr
Betraying gross ignorance
Ed Bott 1st May 2008
I tried to dispense with the misconception that UAC consent dialogs are simple yes-or-no confirmation boxes on page one of this posts, but I guess you were too busy composing your Talkback posts to actually read.

You really need to get some basic facts about what UAC is and how it works before you try to pontificate on it. Did you know there are actually books written about this stuff?
0 Votes
+ -
Ignorance?
Kid Icarus-21097050858087920245213802267493 1st May 2008
So the average Vista user now needs to read books on UAC to
realize that annoying isn't annoying?

I guess all those that are PO'd with UAC's implementation just
need to sit down and read books to realize that it isn't
REALLY annoying.

Great, I'll take that into consideration when someone asks me
about Vista's UAC. Brilliant.
0 Votes
+ -
re: Ignorance?
rtk 1st May 2008
you need to decide if you want to claim it's annoying or useless.

If you can't understand the necessity of using your pc daily as a reduced privileged user, you're not the right person to be advising people on computer security.

The average computer user needs to understand that running as root is bad, that's all you need to tell anybody.
0 Votes
+ -
Contributr
Seat belts are annoying
Ed Bott 2nd May 2008
Driving would be much more convenient if we didn't have to stop and put on seat belts every time we started the car.

That's basically what you're arguing.

I repeat: You're not going to make a coherent argument until you understand what you're arguing about.
0 Votes
+ -
Disable UAC Tutorials
pcwizkid.tech.talk@... 2nd May 2008
I've recorded the steps I toke to disabling UAC on video here:
http://pcwizkid.blogspot.com/2008/02/disable-user-account-control-popups.html

Cheers all.
PCWizKid
0 Votes
+ -
Beautiful, I love it!! chanel wallet
0 Votes
+ -
RE: Fixing Windows Vista, Part 2: Taming UAC
ddanboyle@... 29th Apr 2008
Finally! A journalist that spends time telling us how to make our vista experience better instead of endlessly trashing it.

So many journalists think they are providing some "value" by telling me that vista sucks, over and over and over. In fact, they just drive me to ignore them, and their advertisers, over and over and over.

I think I'll create a vista gadget, called the vista haters counter, listing each journalist and the number of times they trash the product. Then we will know who to spam. 140 million of us is a good number to bring this about.

Keep up the good work.
0 Votes
+ -
Good Article, But Vista Still A Loser
chessmen 30th Apr 2008
Why bother with UAC at all? Just stick with Windows XP. Vista doesn't do anything that Windows XP doesn't do better.

If you are really in the mood for change, try the new Ubuntu that just came out. Very fast! (and free).
0 Votes
+ -
XP, regardless of third party tools, will never be as secure as Vista with UAC.

If you're bored and want to play between work sessions, try the new Ubuntu.
i can tell chessmen you don't know much about vista have you ever used it.

if so did you use the os or just install it found it to be way over your head and then uninstalled it and downgraded back to xp.
0 Votes
+ -
Vista
claymann39@... 1st May 2008
Just because someone prefers XP over Vista does not mean they have never tried it. I alpha/beta tested Longhorn/vista for years. I prefer Xp professional anyday over vista. XP can do anything better than vista. The vista os is a bloated, drm baked pig wearing lipsticked, county fair cashcow for microsoft! period.
0 Votes
+ -
Have used... feel the same way.
Raymond Danner 1st May 2008
I feel the same way as chessmen does. Vista is decidedly a loser. It is ludicrous for the user to have to put up with substandard speed, constant annoyance by UAC even on Microsoft programs (the worst I've ever had was 3 prompts for the same Control Panel app) and of course, that long, long wait after the screen goes dud before the UAC prompt finally comes up. (and before you ask, this is on a HP dv6408nr, which is a dual-core Turion-64, and it runs XP like you'd never believe.)

Don't even ask about the problems I've had with hibernation not working when it ought, and with shutdown taking over half an hour with nothing running in taskbar or the Systray!

Vista Home Premium has, for me, been a headache from day one. If there was a way for me to install clean, I would in a heartbeat, but I don't think my laptop came with the Vista DVD. (seems like it did, but I'm not 100% certain)
0 Votes
+ -
Message has been deleted.
evilkillerwhale@... Updated - 30th Apr 2008
  • Flagged
0 Votes
+ -
Limited User Accounts
Jim1977 3rd May 2008
I am one of the few (very, very few) people who actually can set up WinXP in a Limited User Account and get everything to run properly. It is not for the average person. But whenever I see the UAC prompt in Vista, I remember how much more work it is to set up XP securely. I will take the UAC prompts any day of the week, though some of them are redundant and MS can probably remove a few in the next Service Pack. But if you don't like seatbelts, that is your decision.
0 Votes
+ -
Ed,

In my next life I hope I will have your skills. In this life I do not. Your postings are clear and detailed, but I don't even understand the basic terminology. I just want a VAIO that works. SONY support is supportive but hopeless. Yet from many bitter years of experience, I know I can't expect much better from the other vendors. You are a great resource, but remember, please: we are mere civilians.
0 Votes
+ -
Want good support?
mwagner@... 30th Apr 2008
Buy from Dell next time. They are great, and they don't put a lot of crapware on their systems.

Not like HP/Compaq (shudder) or Sony!
0 Votes
+ -
Excellent recommendation...!
Wolfie2K3 30th Apr 2008
Buy from Dell next time. They are great, and they don't put a lot of crapware on their systems.

Just got off the phone with Dell's support. I've got a client who's got a 3 - 4 year old server with a measly 512 MB of RAM. Mind you, this box is running Windows 2003 SBS, plus Exchange, SQL server, IIS 6, Active Directory and the usual services. It's SLOW!

The Dell tech I got gave me the specs on what RAM I need, plus was patient enough with me to do a little virtual shopping on NewEgg.com to find the exact link for the EXACT memory the box needs. Keep in mind, this box has been out of warranty for at least a year or so.

Now THAT'S service! Oh - and he had a Texas drawl so I guess he's NOT in India, Pakistan or China.

Another client of mine recently got some Vostro laptops that were 99.99999% crapware free. The only bits that weren't part of a standard Windows install were Dell support and service utilities that I left on the box because they might be useful.

The laptops themselves were really nice, felt solid, not cheap in any way - even tho they were sub-$600 laptops.

For all the crap that gets slung at Dell, I've found (at least with my personal experiences) them getting things RIGHT. I wouldn't hesitate to recommend them either.
0 Votes
+ -
Dell is awful
snixon@... 30th Apr 2008
You and I have not been dealing with the same company. Mine is spelled Dell how is yours spelled. The support is condesending and reads from a manual, the Dell apps are weird, and buggy. The last time I had a problem with Brand new D820s I had to threaten to return them in order to get Dell to fix the problem.
I have thrown free Dell computers away rather then inflict the pain of Dell on another.
0 Votes
+ -
HP's business line is ok
t_mohajir 1st May 2008
I bought one of their nx line of business notebooks a couple of years ago and it came with 2 installations cds, the first was for just the OS (XP SP2), and the second was for all the bundled apps. The autorun program on the second cd allowed you to pick and choose which bundled apps you wanted to install. I was very pleasantly surprised.

So the first thing I did was pop in the OS cd and have it reformat and re-install the OS. Then I picked the bundled apps I wanted (only the fingerprint reader software).

I have no experience with HPs home/home office line, so I'm guessing based on your comment that those machines are loaded with crapware with no option to reinstall the OS without the crapware.
0 Votes
+ -
Full of Crapware
jbaviera@... 5th May 2008
HPs consumer versions (ie: XP-Home, Vista-Home Basic/Premium) are full of crapware. No option to install just the OS, also with no option to restore the the system without reformatting the system.
0 Votes
+ -
Dell? No thank you.
angrykeyboarder 19th May 2008
Their customer service sucked even before we (the public) had to speak with "Bob" in Bangalore.

Years ago, a very helpful agent (when they had agents employed in the US by Dell) once put me on hold, then came back and told me his boss said our call had gone on too long!

There was no chit-chat at all. And this was the first (and last) time I'd ever called Dell (after 2 years of ownership).

Then later on, when they laid off their tech support people and outsourced to other countries, I decided there is no way in hell I'll buy from them again.

And I didn't.

If they will give Americans jobs and good customer support, I might consider them again.

The only good thing they've done recently is offer Linux as an option for consumers (albeit a rather *plain* box - no XPS here).

But that's not enough.
0 Votes
+ -
have you tried...
evilkillerwhale@... 30th Apr 2008
any of the other quality vendors? Dell sucks, Gateway can possibly be ok, but usually sucks, Sony installs 11 pounds of crapware on a 12 pound laptop, Toshiba is purposely cheap...

Try Hp, try Mac (with windows on it), try buying a sony then installing Windows yourself. My experience with Hp has been very good, but now that they are pushing their consumer laptops to crap, you might want to look at the business line. They are still really awesome, even if they aren't as aesthetically pleasing as some other brands.
0 Votes
+ -
HP and Vista
davidpeace 1st May 2008
I had an HP laptop before, liked it. Have an HP tablet now and I like the computer itself. But I absolutely cannot stand the constant frustration that I have to put up with with vista. Just one minor example: I put a theme on, with wallpaper, sounds, cursors. Everytime I boot up, the mouse cursors have reverted back to vista aero. I have tried several times to make the cursors I want the default, in a few different ways. Makes no difference. They always start as aero. Everything else about the theme stays, sounds pictures, but I always have to change the mouse cursors.
0 Votes
+ -
I love UAC, I love Ed too
qmlscycrajg 30th Apr 2008
I love UAC, I love Ed too
0 Votes
+ -
Coding around the UAC
deaf_e_kate 30th Apr 2008
There have been some reports of being able to program around the UAC so i guess once that is used in anger (if it really works), the UAC becomes irrelevant.
0 Votes
+ -
Hmm
TheTruthisOutThere@... 30th Apr 2008
If your running as a user (not an admin), " coding around the UAC" would be some kind of elevation of privilige attack, and hopefully something that would be plugged by Microsoft PDQ.
0 Votes
+ -
Not Bypassing
Jhaks 30th Apr 2008
I just read the article and it seems clear that the utility is not bypassing UAC. If the utility was able to install itself without elevation then it would be a hole, but in this case the user obviously gives permission for the utility to be installed and to do whatever it pleases. In this case the installer sets up an elevated process to launch at startup. These developers don't understand how UAC works and what it is intended for.
0 Votes
+ -
Contributr
Working exactly as intended
Ed Bott 30th Apr 2008
Well, RTFA, if you do what your name suggests and read the original article, you will see that they split their program into a service (which runs with System privileges) and a user component that interacts with the service. That's exactly how it's supposed to work. They comlpain that it was much harder to write than it was with XP. Yes, exactly. That's what a lot of malware authors have discovered as well.
0 Votes
+ -
read my original post
deaf_e_kate 30th Apr 2008
I think you are trying to make a point about something i didn't say. I just basically pointed out that some people were claiming coding around UAC.
I've read plenty of claims (and i expect you have too) about exploits deemed not critical by the manufacturor and then they regrade them to critical a few days/weeks later.
0 Votes
+ -
Contributr
Not an exploit
Ed Bott 30th Apr 2008
As I said, this is how a program is supposed to be coded to work with UAC.
0 Votes
+ -
Is there a way...
Jhaks 30th Apr 2008
Ed, is there a way to set up a particular group to not require UAC prompting instead of putting this behavior on the entire admin group? What I'd like to do is use an admin account which requires the UAC prompt without password and another special account that does not require any prompting. I'm not to familiar with groups and these settings so I was wondering if this was possible.
0 Votes
+ -
Contributr
As far as I can tell, no can do
Ed Bott 30th Apr 2008
However, you can change the settings for standard users to require consent rather than a password. If the system is your and yours alone, then you would have two accounts, one with admin privileges and no UAC, and the other a standard account that requires consent rather than credentials. Use Group Policy Editor to change the settings for User Account Control: Behavior of the elevation prompt for standard users. Set it to Prompt for Consent. Or use regedit to change ConsentPromptBehaviorUser to 0.
Jhaks you might try tweakUAC it keeps UAC on but with out the prompts
0 Votes
+ -
Contributr
Does the same as page 3 here
Ed Bott 30th Apr 2008
TweakUAC simply toggles the same registry setting I document on Page 3. It's nice and quite convenient.

Join the conversation!

Formatting +
BB Codes - Note: HTML is not supported in forums
  • [b] Bold [/b]
  • [i] Italic [/i]
  • [u] Underline [/u]
  • [s] Strikethrough [/s]
  • [q] "Quote" [/q]
  • [ol][*] 1. Ordered List [/ol]
  • [ul][*] · Unordered List [/ul]
  • [pre] Preformat [/pre]
  • [quote] "Blockquote" [/quote]
ie8 fix
ie8 fix

The best of ZDNet, delivered

ZDNet Newsletters

Get the best of ZDNet delivered straight to your inbox

Facebook Activity

White Papers, Webcasts, & Resources
ie8 fix
ie8 fix