Windows 10: Changed my programfilesdir and now I can't do anything

  1.    26 Apr 2017 #1

    Changed my programfilesdir and now I can't do anything

    Hello guys,

    So I tried to change the installation path of everything to my 2tb external D: drive becuz my hard drive only has 150gb.

    I did this:

    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. You should be good to go from here.

    However I think I strayed too far from the path and goofed something up along the way because I cannot do anything on my computer that uses the c drive and when I try to go back to change it, regedit doesn't work. Also even tried to system restore and its just unresponsive and I can't do anything.
      My ComputerSystem Spec

  2.    27 Apr 2017 #2

    Welcome to the forum.

    Microsoft does not support or recommend this procedure. It is provided for exceptional circumstances, not for general use. Unfortunately many Internet articles miss that part.

    There are issues beyond those mentioned.
    Sorry, I do not have a solution for your problem.
      My ComputerSystem Spec

  3.    27 Apr 2017 #3

    You might be able to restore the backup copy of your registry, then reverse the regedit.
    No guarantees whatsoever. You are in perilous territory.

    Otherwise you could try editing the registry offline. (You can research that).

    Whether you'll end up with a reliable system is another matter.

    If you had been using disk imaging, which we constantly and strongly recommend (e.g. Macrium Reflect (free) ) you could have restored your system from a previously created image relatively painlessly.
    Changed my programfilesdir and now I can't do anything Attached Files
      My ComputerSystem Spec


Related Threads
Password changed (not by me) in User Accounts and Family Safety
I have 2 PC's. Both run Windows 10. Both had different passwords. Somehow, the password on the one PC was changed to match the password on the other PC. Now they both have the same password. I never changed anything, and no one else has access...
Alt/Tab has changed in General Support
I recently upgraded from W7 to W10. On W7 alt/tab would expand each open application window such that they were full size when alt/tab'd or mouse'd over to it. But on W10 they do not show full size unless you bring the app into focus by releasing...
Solved log in changed in User Accounts and Family Safety
Windows 10 usually logs in with the name I assigned to my computer "Charlee" (with no password) Today I used my microsoft e-mail account to download an application. When I restarted the computer, the screen log in changed. Now "Charlee" is gone, and...
Hi i really hate windows 10 recycling bin i found this and i really like it 38933 found there there are inside the zip files several , but i don't know how use a png file to create and change the icon...
My Login screen used to have only my name on it and yesterday after clicking on "Verify" and going thru several screens and rebooting, I noticed that my name and Hotmail address are both on my Login screen and the Windows 10 password has been...
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 22:28.
Find Us