I just bought a new laptop with an SSD and a 1TB harddrive - I wanted to change the default installation path from the SSD, to the harddrive and found this link to do it: http://www.tomshardware.co.uk/answers/id-1792156/secondary-harddrive-question.html
So i followed the instructions from the thread:
"Open regedit (Start > Run > "regedit"). Then find "HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion". Now look in the right pane. Change "ProgramFilesDir", "ProgramFilesPath", "ProgramW6432Dir" and "ProgramFilesDir (x86)". If your secondary drive letter is D:\, then change them to "D:\Program Files", "D:\Program Files", "D:\Program Files" and "D:\Program Files (x86)", in that order that I just mentionned."
But now i can't install or uninstall programs, I can't open regedit to revert the changes, and the backup I made (also by following the thread) doesn't work! I can't even open up Task Manager... When i try using "run" and typing in "regedit", an error pops up saying: "Windows cannot find C:\WINDOWS\regedit.exe. Make sure you typed the name correctly, and then try again." I cannot use "run" as an administrator either.
How can i reverse what i did? Help is very much appreciated.
So i followed the instructions from the thread:
"Open regedit (Start > Run > "regedit"). Then find "HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion". Now look in the right pane. Change "ProgramFilesDir", "ProgramFilesPath", "ProgramW6432Dir" and "ProgramFilesDir (x86)". If your secondary drive letter is D:\, then change them to "D:\Program Files", "D:\Program Files", "D:\Program Files" and "D:\Program Files (x86)", in that order that I just mentionned."
But now i can't install or uninstall programs, I can't open regedit to revert the changes, and the backup I made (also by following the thread) doesn't work! I can't even open up Task Manager... When i try using "run" and typing in "regedit", an error pops up saying: "Windows cannot find C:\WINDOWS\regedit.exe. Make sure you typed the name correctly, and then try again." I cannot use "run" as an administrator either.
How can i reverse what i did? Help is very much appreciated.