{"id":8153,"date":"2012-03-07T07:00:00","date_gmt":"2012-03-07T07:00:00","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/oldnewthing\/2012\/03\/07\/why-do-program-files-go-into-the-program-files-directory\/"},"modified":"2012-03-07T07:00:00","modified_gmt":"2012-03-07T07:00:00","slug":"why-do-program-files-go-into-the-program-files-directory","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/oldnewthing\/20120307-00\/?p=8153","title":{"rendered":"Why do program files go into the Program Files directory?"},"content":{"rendered":"<p>Some of Microsoft&#8217;s software certification programs (such as the Windows Logo) require that applications set their default installation location to the Program Files directory. What is the reason for this?\n One technical reason is that this ensures that the directory receives an appropriate default security descriptor. But the Program Files directory was introduced in Windows&nbsp;95, which didn&#8217;t have security descriptors, so that can&#8217;t be the entire reason.\n Rewind the clock to Windows&nbsp;3.1. Microsoft didn&#8217;t provide guidance on where applications should install by default. As a result, they went <i>everywhere<\/i>. Some installed into the root of your C: drive. Some installed to a <code>C:\\LitWare<\/code> directory. Some installed into the Windows directory. It was total chaos.\n Program Files was introduced in an attempt to bring order to chaos. Think of it as painting lines in a parking garage.<\/p>\n<p> <b>Bonus chatter<\/b>: I recall an application compatibility investigation from the Windows&nbsp;95 days. After you installed a particular program, it refused to run. This was clearly a serious problem, even more so when you realized that the program in question was a very popular commercial program. Eventually the source of the problem was identified: When you installed the program, you <i>must accept the default installation location<\/i>. If you tried to install the program somewhere else, it refused to run. The problem was not caused by Windows&nbsp;95; you had the same problem if you installed the program on Windows&nbsp;3.1 to a non-default directory. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Some of Microsoft&#8217;s software certification programs (such as the Windows Logo) require that applications set their default installation location to the Program Files directory. What is the reason for this? One technical reason is that this ensures that the directory receives an appropriate default security descriptor. But the Program Files directory was introduced in Windows&nbsp;95, [&hellip;]<\/p>\n","protected":false},"author":1069,"featured_media":111744,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[26],"class_list":["post-8153","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-oldnewthing","tag-other"],"acf":[],"blog_post_summary":"<p>Some of Microsoft&#8217;s software certification programs (such as the Windows Logo) require that applications set their default installation location to the Program Files directory. What is the reason for this? One technical reason is that this ensures that the directory receives an appropriate default security descriptor. But the Program Files directory was introduced in Windows&nbsp;95, [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/posts\/8153","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/users\/1069"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/comments?post=8153"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/posts\/8153\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/media\/111744"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/media?parent=8153"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/categories?post=8153"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/tags?post=8153"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}