After you back up your registry...
Navigate to:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Curr entVersion
Find ProgramFilesDir whose default should be C:\Program Files
Change this to whatever directory you wish. D:\Program Files for example
For future the best thing to do would be unplug the other hard drive during windows installation then plug in after its done.