Why does software install to AppData and others to Program Files?

  • Thread starter Deleted member 2913
  • Start date

Ink

Administrator
Verified
Staff Member
Jan 8, 2011
22,490
As far as I know, Program Files and Program Files (x86) require Admin Permissions for files to be created and run, this includes something to do with the Windows Registry as well.

AppData can allow software such as Firefox and Chrome be installed without Admin approval, that's why a Standard user account can install their own browser and why it's better for security purposes.

http://stackoverflow.com/questions/16276139/difference-between-program-data-and-appdata
One of the benefits of installing to Program Files is that is exactly where the user expects it to go. Usually users go here first to look where the program is installed. The biggest downside is that the user needs administrative privileges, which isn't always required by the program.
http://stackoverflow.com/questions/12427245/installing-in-program-files-vs-appdata
http://superuser.com/questions/8039...er-install-firefox-to-their-c-users-xx-folder
Where Should I Write Program Data Instead of Program Files?

Please correct, if information is not accurate. :)


Mod Edit: Changed thread title by @yesnoo
 

jamescv7

Level 85
Verified
Honorary Member
Mar 15, 2011
13,070
These are vice versa since the purpose of installation of programs is to place the files in an easy and functional matter to avoid messy and confusing directories.

So AppData usually place for the logs, other non-operational components and meanwhile Program Files for critical files that needs to function properly and tightly secure,
 

shmu26

Level 85
Verified
Honorary Member
Top Poster
Content Creator
Well-known
Jul 3, 2015
8,153
Some apps install to AppData so employees at companies can use the app. Employees are often assigned to Standard user accounts, and they can't install anything that lands in Program Folders, because it needs admin privileges for the installation.
 

TairikuOkami

Level 36
Verified
Top Poster
Content Creator
Well-known
May 13, 2017
2,567
I wonder, why some install to %ProgramData% instead of %AppData%? One game installs a mod to %ProgramData% and people have constant problems running it, so the the dev says, that they have to run it as admin. It can be solved by taking ownership, but it does not make sense then.

EDIT: P.S. There is also %LocalAppData%, so it is only getting complicated. :)
 
Last edited:

About us

  • MalwareTips is a community-driven platform providing the latest information and resources on malware and cyber threats. Our team of experienced professionals and passionate volunteers work to keep the internet safe and secure. We provide accurate, up-to-date information and strive to build a strong and supportive community dedicated to cybersecurity.

User Menu

Follow us

Follow us on Facebook or Twitter to know first about the latest cybersecurity incidents and malware threats.

Top