1/ Open the Registry Editor by selecting Start > Run > Regedit.
2/ Navigate to HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion.
3/ In the right pane, double-click ProgramFilesDir and change the path in the String Editor to the drive and folder you want (i.e. H:\Program Files). You must also modify the entry for ProgramFilesPath. If your path is H:\ like mine is, the path would be H:\Program Files