Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Windows › How do I change the default shortcut directory for Windows 7?
New Posts  All Forums:Forum Nav:

How do I change the default shortcut directory for Windows 7?

post #1 of 2
Thread Starter 
I just built my dad a PC, and I'm giving him an SSD for his OS and important programs and a 1TB HDD for data and other programs. Seeing as he's not too technologically savvy, I wanted to make it as easy as I could for him, so I changed the default program installation folder to the HDD with regedit. This works perfectly fine minus one issue: shortcuts.

When a program creates a desktop shortcut, it still links to the default install location even though nothing is there. When I go into properties, it has the correct "Start in" value, but the "Target" field is wrong. Here's a picture of the preferences for your reference:



Obviously having to change the shortcut defeats the whole purpose of ease-of-use. There has to be a quick fix of some sort that I'm missing, but I'm not having any luck finding it. Has anyone else had this issue?
post #2 of 2
Quote:
Originally Posted by Sportsmaniac1322 View Post

I just built my dad a PC, and I'm giving him an SSD for his OS and important programs and a 1TB HDD for data and other programs. Seeing as he's not too technologically savvy, I wanted to make it as easy as I could for him, so I changed the default program installation folder to the HDD with regedit. This works perfectly fine minus one issue: shortcuts.

When a program creates a desktop shortcut, it still links to the default install location even though nothing is there. When I go into properties, it has the correct "Start in" value, but the "Target" field is wrong. Here's a picture of the preferences for your reference:



Obviously having to change the shortcut defeats the whole purpose of ease-of-use. There has to be a quick fix of some sort that I'm missing, but I'm not having any luck finding it. Has anyone else had this issue?

Open the registry editor (regedit) and go here: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion. Look for ProgramFilesDir and change it to the HDD (so e.g. D:\Program Files). I assume these directories need already exist, so create them before changing. You should restart your PC to ensure the settings apply. Do note that there are two default directories: One for 32 bit software, and one for 64 bit software. Be sure to change both!
Main
(9 items)
 
   
CPUMotherboardGraphicsRAM
Xenon Triple Core 3.2 GHz Trinity (Valhalla) ATI Xenos 512 MB GDDR3 @ 700 MHz 
Hard DriveOptical DriveCoolingCooling
250 GB Lite-On DG-16D4S Antec 80mm Tri-Cool SilentX 60mm 
MonitorKeyboardAudio
ASUS VH236 23" 1080p 2ms Generic USB Logitech Keyboard Astro A50 Wireless Headphones 
  hide details  
Reply
Main
(9 items)
 
   
CPUMotherboardGraphicsRAM
Xenon Triple Core 3.2 GHz Trinity (Valhalla) ATI Xenos 512 MB GDDR3 @ 700 MHz 
Hard DriveOptical DriveCoolingCooling
250 GB Lite-On DG-16D4S Antec 80mm Tri-Cool SilentX 60mm 
MonitorKeyboardAudio
ASUS VH236 23" 1080p 2ms Generic USB Logitech Keyboard Astro A50 Wireless Headphones 
  hide details  
Reply
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Windows
Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Windows › How do I change the default shortcut directory for Windows 7?