1.    26 Apr 2017 #1
    Join Date : Apr 2017
    Posts : 1
    Windows 10

    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
    Join Date : Oct 2014
    Posts : 758
    Windows 7

    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
    Join Date : Jan 2015
    UK, Midlands
    Posts : 10,971
    Win 10 Pro (1703)

    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


Similar Threads
Thread Forum
Password changed (not by me)
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...
User Accounts and Family Safety
Alt/Tab has changed
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...
General Support
Solved log in changed
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...
User Accounts and Family Safety
Solved have you changed the recycling bin ? can you help me to use this png?
Hi i really hate windows 10 recycling bin i found this and i really like it 38933 found there http://pngwebicons.com/download/9123 there are inside the zip files several , but i don't know how use a png file to create and change the icon...
Login screen changed and password changed after verification
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...
User Accounts and Family Safety
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 23:14.
Find Us
Twitter Facebook Google+ Ten Forums iOS App Ten Forums Android App

Windows 10 Forums