Program shortcuts point to wrong folder locations

dira1

New member
Local time
7:33 AM
Messages
5
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.
 

Attachments

  • chromeerrormessage.png
    chromeerrormessage.png
    19.5 KB · Views: 33
Last edited:

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
MSI
OS
Windows 7 Ultimate x64
CPU
Intel Core i5-4670K
Motherboard
MSI Z87M-G43, Socket-1150
Memory
24 GB
Graphics Card(s)
Nvidia GeForce GTX 770
Hard Drives
500 GB HDD
2 x 250 GB SSD
Antivirus
Norton Internet Security
Browser
Mozilla Firefox
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 Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
medionl/Aspire 6930G/acer x55a
OS
W7 home premium 32bit/W7HP 64bit/w10 tp insider ring
CPU
E5300 dual core
Motherboard
medion MS7366
Memory
3gb
Graphics Card(s)
Nvidia Geforce 7100 Nforce 630i
Monitor(s) Displays
avixc
Internet Speed
n (isp resticted to 72)
Antivirus
mse/pands
Browser
palemoon
Other Info
Belkin Fd7050 n USB using Railink RT2870 drivers, more upto date
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 Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Antec desktop; Acer Aspire laptops
OS
Windows 7 Professional 64-bit
CPU
Desktop i5; Acers i5 & i7
Memory
desktop 16GB; 1 Acer 8GB & 1 Acer 16GB
Hard Drives
1TB split into 2 equal partitions [OS and data] usable by RJS
Internet Speed
AT&T DSL
Browser
FF, GChrome, msIE
Other Info
Windows 7 Firewall, Emsisoft AM/AV, MSE [scan-only], SpywareBlaster, Ruiware/BillP combine
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 Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
MSI
OS
Windows 7 Ultimate x64
CPU
Intel Core i5-4670K
Motherboard
MSI Z87M-G43, Socket-1150
Memory
24 GB
Graphics Card(s)
Nvidia GeForce GTX 770
Hard Drives
500 GB HDD
2 x 250 GB SSD
Antivirus
Norton Internet Security
Browser
Mozilla Firefox
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 Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
MSI
OS
Windows 7 Ultimate x64
CPU
Intel Core i5-4670K
Motherboard
MSI Z87M-G43, Socket-1150
Memory
24 GB
Graphics Card(s)
Nvidia GeForce GTX 770
Hard Drives
500 GB HDD
2 x 250 GB SSD
Antivirus
Norton Internet Security
Browser
Mozilla Firefox
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 Computer

Computer Manufacturer/Model Number
HP, Dell, Gateway, Toshiba - 4 laptops and 2 desktops
OS
Vista, Windows7, Mint Mate, Zorin, Windows 8
CPU
from 1.6GHz Duo to i7
Monitor(s) Displays
2x HP w2207
Hard Drives
5x HDD, 7x SSD, 12x Externals
Keyboard
with trackball - no mices
Mouse
Trackball mice
Internet Speed
DSL 6000
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.
 
Last edited:

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
MSI
OS
Windows 7 Ultimate x64
CPU
Intel Core i5-4670K
Motherboard
MSI Z87M-G43, Socket-1150
Memory
24 GB
Graphics Card(s)
Nvidia GeForce GTX 770
Hard Drives
500 GB HDD
2 x 250 GB SSD
Antivirus
Norton Internet Security
Browser
Mozilla Firefox
Still no solutions to this. Anyone got any tips?
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
MSI
OS
Windows 7 Ultimate x64
CPU
Intel Core i5-4670K
Motherboard
MSI Z87M-G43, Socket-1150
Memory
24 GB
Graphics Card(s)
Nvidia GeForce GTX 770
Hard Drives
500 GB HDD
2 x 250 GB SSD
Antivirus
Norton Internet Security
Browser
Mozilla Firefox
program Files > for 64 bit programs (executables and binary files).
program Files (x86)> for 32 bit programs (executables and binary files)
 

My Computer

Computer type
PC/Desktop
OS
Windows 10
Back
Top