How to change the installation path on disk volumes?

Hello.
I will not go into the details of the changed disk volume.
After that, all programs that were installed on it - began to "swear".
Not very good at system administration, so all is sad and googol has not given results, can be googled.

The question is - how can I change the installation path of the software, so everything's back to normal?
Example:
Was: D:\Programm\Programm_Name.exe
Was: O:\Programm\Programm_Name.exe

Thank you!
July 9th 19 at 13:47
4 answers
July 9th 19 at 13:49
Solution
The easiest way to Dodge and return the drive letter on the spot as she was. In most cases, it is possible.
If not, then you need to go the hard way - to take the documentation for each program and figure out how to change the path in each case.
You can, of course, change the path via the registry search and text configuration files, but it is likely somewhere nakosyachit.
Thank you. So the easiest way is to reinstall. Ah, sad. Hope there is an easier way) - xzavier10 commented on July 9th 19 at 13:52
: vain hope. - Adrienne81 commented on July 9th 19 at 13:55
: Why reinstall?? You also said - give the letter to the place, and it will work. - earl.Weissnat commented on July 9th 19 at 13:58
July 9th 19 at 13:51
Solution
You have stopped working shortcuts on your desktop?
If so, right click on the shortcut - properties - Shortcut tab - edit the target field and the working folder.

If it meant something more complex, then reinstall the desired programs or change back the drive letter.
If the first 2 options for some reason do not fit, then you need to deal with each specific program to find where it stores the paths (the registry, some configuration files etc.) and fix in the appropriate place.
Unfortunately not shortcuts) Okay, let's reinstall. Thank you. - xzavier10 commented on July 9th 19 at 13:54
July 9th 19 at 13:53
Solution
1) to return the letter as it was
2) make symbolic links
July 9th 19 at 13:55
Solution
In 99% of cases, helps you edit the registry. Yes, it's a chore, maybe take 20-40 minutes, but it is normally possible to correct letters.
Go into the registry for the old path, each change to the new.

Can export the selected branch of the registry and fix them in any editor with a replace, then import.

There are programs that can store the configuration in the registry, and for example, in your .ini file - you will need to check. But for the most part, editing the registry will be enough for the vast majority of programs. If there is something after this will be to swear - reinstall have remained a couple.

Find more questions by tags ComputersSystem administrationWindows