Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Program shortcuts point to wrong folder locations

12 Apr 2016   #1
dira1

Windows 7 Ultimate x64
 
 
Program shortcuts point to wrong folder locations

Hello, new to the forum.

First of all, I want to apologize in advance if this has been asked and possibly solved earlier, I tried performing a search but couldn't find anything. If there already is a solution to my problem on the forum, I would be grateful if someone can provide a link.

So basically, my problem is that start menu and desktop shortcuts for all programs I install point to the wrong locations.
This problem started happening after I recently reinstalled Windows, and as always, modified the registry to change the default "Program files" to the D:\ partition (My C:\ partition is reserved for Windows only)

I have made that change on earlier Windows installations, without any issues, but this time, shortcuts for all programs I install point to: D:\Program Files(x86)\, when in reality, most of these programs are 64 bit, and are located in the D:\Program Files\ directory.
The problem seems to only apply to 64 bit applications. If I install a 32 bit program, it will install in the x86 folder, and the shortcut will work properly.


I would greatly appreciate if anyone can come up with a solution to this problem as it is really annoying, because it basically renders all my start menu and desktop shortcuts useless.

Thank you in advance for any replies.




Attached Images
Program shortcuts point to wrong folder locations-chromeerrormessage.png 
My System SpecsSystem Spec
.
12 Apr 2016   #2
torchwood

W7 home premium 32bit/W7HP 64bit/w10 tp insider ring
 
 

Maybe im missing something here but
I thought that you could not put 32bit progs in a 64bit folder and vice versa.
From what youve said, it sounds like you configured that folder as 32bit, but named it 64bit.

Roy
My System SpecsSystem Spec
12 Apr 2016   #3
RolandJS

Windows 7 Professional 64-bit
 
 

I'm certain Windows doesn't care about cross-overs between c:\program files and c:\program files (x86). I'm not sure haviing a d:\program files is a good idea, that's really coming up against Windows prime.
My System SpecsSystem Spec
.

12 Apr 2016   #4
dira1

Windows 7 Ultimate x64
 
 

Quote   Quote: Originally Posted by torchwood View Post
Maybe im missing something here but
I thought that you could not put 32bit progs in a 64bit folder and vice versa.
From what youve said, it sounds like you configured that folder as 32bit, but named it 64bit.

Roy
Hi, thank you for your reply. I haven't placed 32 programs in 64 bit folders or vice versa. Programs install properly into their respective folders, the problem is that the program shortcuts point to wrong locations. Shortcuts for 64 bit programs point to the 32 bit folders.
My System SpecsSystem Spec
12 Apr 2016   #5
dira1

Windows 7 Ultimate x64
 
 

Quote   Quote: Originally Posted by RolandJS View Post
I'm certain Windows doesn't care about cross-overs between c:\program files and c:\program files (x86). I'm not sure haviing a d:\program files is a good idea, that's really coming up against Windows prime.
I don't really have any programs installed in C:\Program Files as I changed the registry to install all programs to D:\Program Files\ and D:\Program Files (x86)\ as soon as I installed Windows.
The problem doesn't seem to be that Windows is confused as to where to install the programs themselves, but rather when creating shortcuts, it's making 64 bit program shortcuts point to the 32 bit folder even though the programs themselves are installed in the correct 64 bit folder.
My System SpecsSystem Spec
12 Apr 2016   #6
whs
Microsoft MVP

Vista, Windows7, Mint Mate, Zorin, Windows 8
 
 

Don't disect the system. Leave it all in one and the same place. Then you won't have those kinds of problems. See my logo on the bottom.
My System SpecsSystem Spec
12 Apr 2016   #7
dira1

Windows 7 Ultimate x64
 
 

For example, in the screenshot in my original post, Google Chrome is a 64 bit application, and the path is: D:\Program Files\Google\Chrome\Application\chrome.exe
But the shortcut (which was created automatically upon installation) points to: D:\Program Files (x86)\Google\Chrome\Application\chrome.exe , which is an invalid path.

These are the registry entries i modified:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion - Changed ProgramFilesDir and ProgramFilesDir (x86) to point to their corresponding locations on drive D:\. I actually just changed the drive letter.

And then I did the exact same change while using run to open %systemroot%\syswow64\regedit and changed the values there as well.
My System SpecsSystem Spec
18 May 2016   #8
dira1

Windows 7 Ultimate x64
 
 

Still no solutions to this. Anyone got any tips?
My System SpecsSystem Spec
19 May 2016   #9
RonWesley

Windows 10
 
 

program Files > for 64 bit programs (executables and binary files).
program Files (x86)> for 32 bit programs (executables and binary files)
My System SpecsSystem Spec
Reply

 Program shortcuts point to wrong folder locations




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
Point new program installations to C:\Program Files NOT (x86)
I have always kept my programme installation directories in C:\Program Files and would prefer to keep it that way. So many programmes these days default to C:\Program Files (x86). It is a pain to keep editing the location required when setting up a new machine. Is there any way to persuade new...
General Discussion
Shortcuts that open programs in custom window locations?
I don't know if this is something supported by the OS, but I figured I'd ask as I'm having difficulty finding a way to do it with Chrome (which is annoying as I did it with Firefox using two profiles and MKlinks to share the cache folder/history/bookmarks/etc). Anyway, the desired result is...
Customization
All shortcuts point to the wrong Program Files folder
Hi, Today I was asked to help in a problem with shortcuts in Windows 7 which pointed to the wrong non-existing location. The issue refers too all shortcuts connected with the Program Files folder. As I didn't know what is the issue the first idea was to create a completely new profile (i.e....
General Discussion
Moving library folder locations mistake, help!
Hi, I recently repartitioned my new laptop so the OS is on the C drive and I'd like all the User/Library stuff on the D drive. It all seems to have gone well except for the Music folder which was the first one I did. I was following this guide; Redirect a folder to a new location
Customization
how to see where new system shortcuts point
I have been trying to get my very important Vista Hoe Preimum personal machine on the network for about a month now. Am now thinking about doing an upgrade to Ultimate to repair it but I seem to have a file system issure that CHKDSK did not fix. Since I can not post in the vista area I thought...
Network & Sharing
Intellipoint Shortcuts Display Wrong Icons
Hello, I have installed Intellipoint 7.0 and the shortcuts display the wrong icons. I have tried uninstalling and re-installing Intellipoint, and deleting the IconCache.db to no avail. If you right-click and select properties the change icon button is disabled. I would normally just create new...
Drivers


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 23:45.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App