1. Start a registry editor.
2. Navigate to the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Curr entVersion subkey.
3. Double-click ProgramFilesDir.
4. Change the disk volume and directory to the location at which you want to install your applications, and click OK.
5. Close the registry editor and restart your computer.