How to change the default Program Files installation directory location in Windows 8 and Windows 7

Program Files is the one of most important directories in Windows. Usually it is located on the system drive and serves as the default installation location for all software. It is recommended by Microsoft to use this folder to store installed apps. In more recent versions of Windows, the Program Files folder is protected by special file system access rights so only administrators with elevated permissions can write to it when UAC is on. The default path to this folder is C:\Program Files. 64-bit versions of Windows additionally have the C:\Program Files (x86) folder which is used to store 32-bit programs. In this article, we will see how to change the location of the Program Files default installation directory used by app installers.