Article ID: 933700 - Last Review: October 27, 2007 - Revision: 1.4 Microsoft does not support changing the location of the Program Files folder by modifying the ProgramFilesDir registry value
On This PageINTRODUCTIONMicrosoft does not support changing the location of the Program Files folder by modifying the ProgramFilesDir registry value. If you change the location of the Program Files folder, you may experience problems with some Microsoft programs or with some software updates. MORE INFORMATIONThe ProgramFilesDir registry value is located in the following registry subkey: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion When you set the ProgramFilesDir registry value to use a location other than the default location, Microsoft hotfixes, updates, and security updates do not update files that are in the default location. Therefore, you may experience system instability and unexpected problems with Microsoft programs and software updates. For example, you may experience any of the following problems:
Note The Internet Explorer installation folder is located in the Program Files folder. If you change the location of the Program Files folder, you may experience unexpected issues that may affect the stability of Windows. The list of binary files that are protected by Windows File Protection, together with the locations of these files, is coded in Internet Explorer. You cannot modify these locations in Internet Explorer. The following programs use the standard Windows APIs to determine the location of the Internet Explorer installation folder:
Note When we developed Internet Explorer 7, we decided to use the standard method to determine the location of the Windows Internet Explorer 7 installation folder. This decision was made to help increase the stability of Windows Internet Explorer 7. The decision was also made to help reduce the risk of problems that you may experience with regard to compatibility with other programs and with regard to Windows Internet Explorer 7 serviceability. Steps to change the ProgramFilesDir registry value to use the default location for the Program Files folderImportant This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:322756
(http://support.microsoft.com/kb/322756/
)
How to back up and restore the registry in Windows To change the location of the Program Files folder back to the default location, follow these steps:
APPLIES TO
| Other Resources Other Support Sites
CommunityGet Help NowArticle Translations |






Windows Live
Facebook
Twitter
Linkedin
Digg it
Yahoo
Delicious
StumbleUpon
Yammer
Reddit
Technorati
FriendFeed
Email
Back to the top
