What is 'Run as Administrator' in Windows 7?

41,997

Solution 1

On Windows 7 (as well as Vista), an administrator account does not necessarily run a program with administrator priveleges. As an administrator, you have the credentials to perform administrator functions (creating/modifying user permissions being one of them, etc.). However programs are still run in a secured mode, in which they are prevented from doing specific functions (access to certain hardware/software properties, etc.). To allow access to these properties, you can run a program in "run as administrator" mode which grants access. For specifics on what can and cannot be performed, I would search online or read up on the Microsoft developer websites.

Solution 2

Under XP, the privileges given to applications you launched were the same as those you would get interacting directly with the OS. Under Vista and 7, they're not - unless you deliberately choose to use your powers by elevating the application; choosing Run as Administrator is one way to elevate an application. (Some apps are marked as only making sense when run as admin so when you run them you'll get the dialog even though you didn't choose Run as Administrator.)

Vista also moved the boundaries of what you need admin powers for. Under XP you needed to be an admin to change the time zone, or to switch the calculator from standard to scientific. As a result pretty much everyone was an admin. Plus developers (who were all admins because they installed things often) all tested as admins and their stuff worked, so they shipped it, and then found out it only worked for admins - a bug they generally solved by making all the users admins. The problem with that was malicious code (you may have heard a lot of malicious code targets Windows) could likely run with high powers and mess up your machine.

Under 7, you can live a pretty ordinary life without elevating unless you're installing something, and you always know whether you're using your admin powers or not. Non elevated apps can't write anywhere under Program Files, can't write to some parts of the registry, and so on. But if the app is well written, that won't be an issue for you. Sometimes when you have an old app (say from XP times) that doesn't seem to work properly on Vista or 7, people will suggest you run it as administrator. But in general, pay it no attention and you'll be fine.

Solution 3

Basically even though you're logged on as an admin... you're not an admin. The "Run as Administrator" is Window's knock off of the "sudo" command for linux. It's meant to prevent unintentional changes on the system, but for most turns into more of an annoyance.

Share:
41,997

Related videos on Youtube

Kaushik
Author by

Kaushik

Been here two years...and trying to get from question asker to question answerer :) j2ee programmer working for a bank. And working towards new career options and better work life balance.

Updated on September 17, 2022

Comments

  • Kaushik
    Kaushik over 1 year

    On my Windows 7 machine, I am an administrator. I see, when I right click an app, it has an option Run as Administrator. What does this mean?

    Also, if I am logged in as administrator, what significance does this have: Run as Administrator? Why does it need to be mentioned explicitly?

  • Richard Herron
    Richard Herron over 13 years
    By "unintentional changes" you mean viruses, right?
  • Prerak Diwan
    Prerak Diwan over 13 years
    @richardh not always but in general yes.
  • Moab
    Moab over 13 years
    It is not recommended to use this hidden admin account on a regular basis, when running in this account UAC is turned off and protected mode in IE is disabled.
  • Nicholas Hortance
    Nicholas Hortance about 10 years
    Not a sudo knock-off. In Unix, sudo doesn't add anything if you're already root. In Windows Run as Admin is useful even for admins.