Nixadmins.net

Why UAC is the best thing that ever happened to Windows

by Mats Hellman on Dec.04, 2009, under Server 2008 r2, Vista, Windows, Windows 7

You’ve probably heard, countless times, why the Windows UAC (User Access Control) is the worst function ever introduced in a Windows operating system. Today we’ll look at it from another point of view. I’m saying it’s the best function introduced in Vista and later. Why? Because it makes it easy to elevate your privileges without holding down the right CTRL button or looking for it in any menu. How? I’ll show you in a minute.

Using any operating system with administrative privileges is a bad idea. It doesn’t matter if your running OS X, Windows, Linux or something else. If you’re running your day to day tasks as an administrator(root) you’re not thinking straight. You should be using as little privileges as possible to get the job done, and here UAC does a beautiful job stepping in as a bridge into administrator land.

I run my Windows 7 as a ordinary user and have two separate administrator account for any admin work I need done. I haven’t had any problems running as a user since I started using Windows 7(never really used Vista that much). I can work efficiently as a user and elevate my privileges at any time if I need to.

UAC isn’t really there for the ordinary user it’s there to protect you as an administrator so you won’t make mistakes you might regret later. It makes you think about what you are doing, even if you are running as an administrator, touch something that’s crucial for the OS it will hit you with an prompt to remind you that this could have consequences. Find it annoying? Don’t. Use it, bend it to your will.

Using UAC to elevate privileges.

A typical situation is you start an installer and it asks you for the name and password for an administrative account. This worked long before Vista or Windows 7. But the great part with Windows 7 is that you can ask for elevated privileges REALLY easily.

Let’s take Active directory Users and Computers as an example. You can run it and browse your organizational units and you can se users without administrative privileges. If you need to open an account or reset a password you will have to elevate your privileges OR you can delegate the tasks to your restricted user or maybe even a co-worker who normally doesn’t work in IT(by creating custom MMC:s).

Anyway to elevate just hit the Windows Logo button, type Active Directory move to Active directory users and computers AND hit SHIFT+CTRL+ENTER. Instead of the program starting with your user privileges Windows tries to elevate and sees that your access token doesn’t have the required rights for this. So it shows you the prompt. Easy as 1,2,3.

UAC_start

This is something most corporate administrators are used to BUT I would like to see home users adapt to this workflow as well. In the example I used the builtin Windows search, but you can start up any program like this. Now that you have read how easy this is, PLEASE create an administrative user to use and remove administrative privileges from your normal account. I promise it will feel natural in a few days and you’ll be a lot safer using your computer.

No related posts.

:, ,

4 Comments for this entry

  • Kevin Yang

    still dont get any good feeling about uac. it’s the most aweful thing. it’s best logically, but worst in reality, because people still dont know when to let the program pass the uac and when not. and can uac keep a virus away?? i dont think so.

  • Kevin Yang

    still dont get any good feeling about uac. it’s the most aweful thing. it’s best logically, but worst in reality, because people still dont know when to let the program pass the uac and when not. and can uac keep a virus away?? i dont think so.

  • Mats Hellman

    Just like other systems Windows can be unsafe or a little less unsafe. Running as a privileged user in day to day tasks is a bad idea in any operating system, not just Windows.
    UAC isn’t there to annoy, it’s there to protect. And if you use a normal user account you won’t see much of UAC, at least in Windows 7.
    And the cons are fewer than the pros. UAC as I said gives me a easy “run as”, if you will. Just hitting SHIFT+CTRL+ENTER and I can start anything from the start menu.
    Windows 7 is the first Microsoft OS I liked from the begining. XP was good, but not until SP1.

  • Don

    UAC fails simply because most people (like me) have absolutely no use for it. Nobody uses my computer except me. In order for someone to gain access to my system, they’d have to know my IP and hack 2 firewalls or somehow land a virus on my system that can bypass my AV program.

    There is basically no chance of anyone gaining control of my system and thus no reason to run UAC at all. Now, don’t get me wrong, I’m well aware that UAC is beneficial to many people. I’m just not one of them.

Leave a Reply

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Visit our friends!

A few highly recommended friends...