What is 'Run as Administrator' in Windows 7?

7

2

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?

Kaushik

Posted 2011-01-19T23:53:38.013

Reputation: 193

Question was closed 2016-05-25T18:53:18.353

More info on the issue... http://technet.microsoft.com/en-us/magazine/2006.03.windowsconfidential.aspx

– Joe Internet – 2011-01-20T00:28:22.963

Answers

11

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.

achinda99

Posted 2011-01-19T23:53:38.013

Reputation: 263

6

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.

Kate Gregory

Posted 2011-01-19T23:53:38.013

Reputation: 966

4

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.

James Mertz

Posted 2011-01-19T23:53:38.013

Reputation: 24 787

You can tweak it with the Ultimate Tweaker of despair and doom... er I mean hope.

– Mateen Ulhaq – 2011-01-20T00:10:56.957

By "unintentional changes" you mean viruses, right? – Richard Herron – 2011-01-20T03:47:37.727

@richardh not always but in general yes. – James Mertz – 2011-01-20T03:56:51.940

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. – md1337 – 2014-02-25T15:06:34.020

-1

Where is the administrator account?

Windows 7 has a super Administrator account that is similar to the 'root' account in Unix. The account is created when W7 boots up for the first time but is hidden & turned off by default.

To enable it:

• Start > In the Search field, type CMD

• On the list of available programs, right click the Command Prompt icon and click “Run as Administrator”

• From this elevated command prompt, type net user administrator /active:yes then press Enter

Once the command is successfully carried out, you see the message: ”The command completed successfully”.

Now you will see the Administrator icon on the logon screen. Important: The administrator account is not password protected by default. Do not leave the Administrator account without a password.

• Log on with the account

• Go to the Control Panel, click the User Accounts icon

• Select "Create a password for your account"

Christian Zorn

Posted 2011-01-19T23:53:38.013

Reputation: 1

1It 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. – Moab – 2011-01-26T20:08:43.887