12

I have a Windows XP computer at work, which does not have administrator privileges. Normally the IT department has to give me permission every time I want to install a program, but today I was able to install JabRef on my own.

As a beginner, I don't really understand how that could work, but I am quite curious! Can anybody explain why some programs can be installed without administrator privileges?

0

4 Answers 4

5

A program "installation" consists of writing some files and perhaps writing some Registry entries. If those writes are made to locations in your user folders and your user Registry hive, there is no need for administrative access. A program's executable files can be located anywhere.

13

As kreemoweet and Andrew mentioned, the most common cause is a program's install location.

Programs installed to system folders like Program Files or Program Files (x86) will always require Administrator rights when installing. Programs installed to user-specific folders like AppData usually won't require administrator rights.

Pro tip: If a program's installer requests admin rights, try seeing if a portable version is available, or change the install path to a folder that isn't Program Files.


While install location is the most common reason a program may require admin rights, it is not the only reason.

Requires Admin rights

  • Installing to system-level directories.
    • Program Files, Program Files (x86), Windows
  • Modifying system-wide registry entries under HKEY_LOCAL_MACHINE
  • Installing device drivers
  • Installing ActiveX controls
  • Configuring Windows Updates
  • Viewing or changing another user's folders or files

Does not require Admin rights

  • Installing to user-level directories
  • Modifying HKEY_CURRENT_USER in Registry

As an interesting aside, Google Chrome will install to Program Files if the user has admin rights, but will silently fall back to AppData if the user does not have Administrator rights.


Sources

0
4

Certain directories and programs are protected by the system to that they can only be written to by users with a certain level of permission (e.g. Administrators).

It's possible that your program did not write to such a directory (e.g. C:\Program Files) or invoke such a program (e.g. regedit, to modify your registry).

It's also possible - if you are on an Active Directory environment - your IT department has allowed certain programs to install or allowed you to install programs in certain circumstances - either intentionally or by mistake. The policies set by your IT department are pushed out to your machine invisibly, so you wouldn't be aware anything had changed.

Your best bet is to contact your IT department and notify them. Not only will they likely be able to explain it, but if you've found a security risk they can likely identify and fix it.

0

There are many different examples of this in Windows OS. If the program doesn't evoke the administrator, or the administrator group then it will not need to be installed by an admin. If the program doesn't make changes to the system in anyway. The other possibility is that, the IT department forgot to remove your permissions to install software.

2
  • There is no UAC in Windows XP, so it's irrelevant.
    – kreemoweet
    Aug 27, 2013 at 16:26
  • @kreemoweet good point
    – nate
    Aug 27, 2013 at 18:58

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .