Windows 10: Modified using Regedit; can't access programs/change back

Discus and support Modified using Regedit; can't access programs/change back in Windows 10 BSOD Crashes and Debugging to solve the problem; [I tried to download the file as requesting the in the BSOD Posting Instructions, but I can't due to the problem below.] I was trying to... Discussion in 'Windows 10 BSOD Crashes and Debugging' started by tsmith, Jan 14, 2016.

  1. tsmith Win User

    Modified using Regedit; can't access programs/change back


    [I tried to download the file as requesting the in the BSOD Posting Instructions, but I can't due to the problem below.]

    I was trying to download/install a program, but did not have enough space in my C drive. As the download/installation was automatic, I could not directly select for the installation to occur where I wanted, my D drive (a memory card). So, I used regedit and modified ProgramFilesDir, ProgramFilesDir (x86), and ProgramW6432Dir to D:\Programs, D:\Program Files (x86), and D:\Program Files. I did not create these folders in the D drive prior to doing this.

    Now I still cannot download the program I wanted and cannot open files for the program. Worse, I cannot access regedit, task manager, system restore, or other such 'crucial' things as an administrator. Using my other (non-administrator) account, I can access regedit and task manager. In task manager, under the 'Users' tab (this is in 10), the status of my administrator account is listed as 'disconnected.' When I log into my administrator account, things run slowly, and if I try to open regedit, taskmanager, or CCleaner it does nothing for around 5 minutes, then there is an error pop-up claiming something along the lines of 'There are no files.' I suspect that if I just redirect back to C:\ Program Files and C:\Program Files (x86), this might be fixed. But without access to regedit as an administrator, I can't do that. Help would be appreciated.

    Thanks.

    :)
     
    tsmith, Jan 14, 2016
    #1

  2. default download folder in Windows 10

    Hi,

    Thank you for posting your query in Microsoft Community.

    In order to change the default installation directory, please change the following in the registry.



    Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly.
    Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the
    following article number to view the article in the Microsoft Knowledge Base:

    322756 (http://support.microsoft.com/kb/322756/ ) How to back up and restore the registry in Windows



    To change the registry, follow these steps:

    1. Start Registry Editor by entering “Regedit” in the search All programs.

    2. Locate the following:

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion

    3. Right click on the value named ProgramFilesDir & change the default value
    C:\Program Files to the path you want to install all your programs in.

    4. Click OK and Exit.



    Windows, by default, will now install your programs in the new drive or path.



    Hope this helps. Please post us if you need any further assistance with Windows.

    Thank you.
     
    Sagnik_Chakraborty, Jan 14, 2016
    #2
  3. can't open .exe files windows 10

    I did as you said, except that instead of booting up Windows 10 in Safe Mode with Networking, I selected Safe Mode with Command Prompt! I opened regedit with Command Prompt but I didn't find ProgramFilesDir in CurrentVersion!! Please, help me!!
     
    Jackson_16, Jan 14, 2016
    #3
  4. lx07 Win User

    Modified using Regedit; can't access programs/change back

    I suppose you can't just right click and run regedit as administrator from your standard account? If should prompt you for your administrator account password.

    If that doesn't work can you open an elevated cmd prompt from your standard user account? Right click, run as administrator again...

    If you can then you could enable the built in administrator account with net user administrator /active:yes and then sign on as that.
     
  5. tsmith Win User
    Thanks for the reply. I can't run anything as administrator. Although I can log into my administrator account. While there I can't even open up task manager or regedit or cmd, much less change anything there. I've tried right clicking. I know that it normally causes that pop-up where I enter my admin password, but now it doesn't do even that.
     
    tsmith, Jan 14, 2016
    #5
  6. lx07 Win User
  7. tsmith Win User
    I just tried what you suggested. However, I cannot select 'Load Hive' in regedit--it's grayed out. I do not have a backup recovery USB, disc. I got 10 by updating from 8 and never made a recovery disc/flash drive. I've tried to make system restore points in the past, but haven't been able to--I assumed it was because most of the space on my harddrive is used up. I'm a bit ashamed to admit this, but it's the case. So I tried just entering the command prompt using Settings, Troubleshoot, etc. As stated, at least using this way I cannot get past the 'Load Hive' instruction. Out of curiosity, I looked at the ProgramFilesDir part. Instead of C or D, it says X; I'm assuming this is what it should be saying?
     
    tsmith, Jan 14, 2016
    #7
  8. tsmith Win User

    Modified using Regedit; can't access programs/change back

    Would resetting my computer solve the problem? At this stage, I'm willing to accept the inconvenience it might cause, although I'm wondering if I'll lose the programs that came with the computer.
     
    tsmith, Jan 14, 2016
    #8
  9. lx07 Win User
    You could download a Windows PE recovery disk written by one of your members @Kyhi from here Windows 10 Recovery Tools - Bootable Rescue Disk - Windows 10 Forums

    You can boot from that and then you should have authority to load the hive. It is correct to have X as the drive when you boot into this environment but as described in the tutorial above you want to load the hive from your Windows installation (may be C or D and not necessarily the same letter as in Windows). What you don't want to do is just change the registry of the PE image (as that wouldn't do anything to Windows) - that is why you need to load the hive.

    If you reset, as you have upgraded from 8 I think it would delete the programs the computer came with though (you'll definitely lose all of you files). You need to be administrator to reset anyway as far as I know.

    At least with PE rescue disk you can back up any documents you want and worst case have to do clean install. Do try enabling the built in administrator from PE first though - or even resetting program files using regedit from PE - that should work.

    EDIT: I am just having to change registry on offline image and I remembered this quote of yours.

    There are 2 reasons. Either you aren't authorized, the second is you haven't highlighted anything.

    If you want to load a hive you must select HKEY_LOCAL_MACHINE (or HKEY_USERS but you don't want that). Only after you do that does the load hive option appear in the file menu. If you just open regedit and Computer is highlighted then load hive option is greyed out..
     
  10. tsmith Win User
    Thanks for staying with me here. I didn't select HKEY_LOCAL_MACHINE prior to trying to load hive. When I did do that, I was able to get to the point where I enter 'REM_SAM,' but then I get a pop-up message stating that the file can't be loaded due to "The process cannot access the file because it is being used by another process."

    Maybe similarly, I also tried using command prompt to run sfc /scannow, but get a claim that it's in the middle of a repair process and to reboot the computer and try sfc again. When I do that, I just get the same message, and cannot run scannow.
     
    tsmith, Jan 15, 2016
    #10
  11. tsmith Win User
    I ended up just resetting the computer, getting the administrator level by using Settings, Recovery, Troubleshooting, Restart, Reset. I'm going to count this as solved, but if some future user experiences the same problem, and doesn't have this option, sorry.
     
    tsmith, Jan 16, 2016
    #11
  12. lx07 Win User
    Glad you got it sorted anyway *Smile
     
Thema:

Modified using Regedit; can't access programs/change back

Loading...
  1. Modified using Regedit; can't access programs/change back - Similar Threads - Modified using Regedit

  2. I can't access my regedit, gpedit and cmd

    in Windows 10 Software and Apps
    I can't access my regedit, gpedit and cmd: Hi everyone.BackgroundSo i happened to have an issues where suddenly a couple of blue PowerShell windows would pop-up on my screen and disappear before I could even read anything. So I suspected that it might be some sneaky virus. So I tried everything. Scanned my system with...
  3. How to access regedit if I modified "HKEY_CLASSES_ROOT\.exe"

    in Windows 10 Gaming
    How to access regedit if I modified "HKEY_CLASSES_ROOT\.exe": Hi,Probably not my smartest move but I modified the value of "HKEY_CLASSES_ROOT\.exe", "HKEY_CLASSES_ROOT\exefile" and "KEY_CLASSES_ROOT\exefile\shell\open" in the registry editor because I had trouble with a specific .exe file I couldn't open. Unfortunately, my maneuver...
  4. How to access regedit if I modified "HKEY_CLASSES_ROOT\.exe"

    in Windows 10 Software and Apps
    How to access regedit if I modified "HKEY_CLASSES_ROOT\.exe": Hi,Probably not my smartest move but I modified the value of "HKEY_CLASSES_ROOT\.exe", "HKEY_CLASSES_ROOT\exefile" and "KEY_CLASSES_ROOT\exefile\shell\open" in the registry editor because I had trouble with a specific .exe file I couldn't open. Unfortunately, my maneuver...
  5. Is it safe to use programs to modify windows features?

    in Windows 10 Ask Insider
    Is it safe to use programs to modify windows features?: For example Rainmeter, to add a clock on the main page and this type of software, like the ones used to modify the taskbar etc.. are they safe to use? Or at least Rainmeter is? submitted by /u/NotWea [link] [comments]...
  6. Can't access family section to modify restrictions

    in User Accounts and Family Safety
    Can't access family section to modify restrictions: Hello, For the last few weeks I cannot access the family section of my MS account to modify time restrictions, etc. When I attempt to log in I'm sent to a website that states: Give us a little while to fix this Something’s wrong on our side. For now, you may want to try...
  7. program can't modify an INI file in subfolder of Program Files (x86)

    in Windows 10 Support
    program can't modify an INI file in subfolder of Program Files (x86): I have this small utility that has to be hand-installed, so I created a Utilities folder in Program Files (x86) and copied the program files into that folder. Everything works as expected, except that the program can't modify its INI file, which is in that same Utilities...
  8. Can't change the default disk for saving new programs. Now I can't get into regedit.

    in Windows 10 Customization
    Can't change the default disk for saving new programs. Now I can't get into regedit.: I was attempting to change the default disc for saving all new programs from C to D (SSD to HDD), and after changing ProgramFilesDir and ProgramFilesDir from C to D and having no luck (none of the installed programs could be found), and reverting, attempted to change...
  9. Allowing Programs access to modify files,

    in AntiVirus, Firewalls and System Security
    Allowing Programs access to modify files,: Okay, so it turns out somethings a little screwed up with my computer... programs cannot write, or modify files, I'm just seeing this so far with a couple of games, and Eclipse, but when i try and save a file ive been editing, or change some settings, it gives me an error:...
  10. regedit changes

    in Windows 10 Support
    regedit changes: Made a change in HKLM, so that my numloc keys worked on start-up, previous version. Upgraded via update to 10166, Be advised for this change to become effective had to restart comp again. I know its SOP for reg changes but, on an upgrade. SO if you've made any changes...