regedit not open from run command

Page 1 of 3 123 LastLast

  1. Posts : 51
    Windows 10 Pro
       #1

    regedit not open from run command


    When I bring up the run command (Win+R) and enter regedit or regedit.exe. It does not open.
    If I enter C:\Windows\regedit.exe, it opens.
    All other exe files in the windows directory opens fine except for regedit.
    Windows and System32 folders were missing in the environment path, so I added them and there is no difference.
    I have 2 systems running Win10, one works and one does not
    I have full ownership and permissions to the Windows folder.

    One other strange thing is the Run box doesn't keep any history on the problem computer, but does on the other one.

    Anyone know what could cause this?
      My Computer


  2. Posts : 51
    Windows 10 Pro
    Thread Starter
       #2

    Figured out the history thing. Was a setting in the Personalization. But stumped on why regedit is not opening from the run window
      My Computer


  3. Posts : 14,046
    Windows 11 Pro X64 22H2 22621.1848
       #3

    Enter path in a Command Prompt window to see what the path Environment variable is set to. At an absolute minimum, it must have these

    C:\WINDOWS\system32;
    C:\WINDOWS;
    C:\WINDOWS\System32\Wbem;

    Also enter where regedit, see what it responds with. Mine shows:

    C:\WINDOWS\system32>where regedit
    C:\Windows\regedit.exe
      My Computers


  4. Posts : 51
    Windows 10 Pro
    Thread Starter
       #4

    Those items are in the path and where regedit shows the correct locations. I have setup a desktop link to regedit and that works fine, but it will not run from the WIN+R run box or from the command prompt. When I type path into the command prompt (yes I run as administrator), it shows the windows directories in the list. All other executables in the windows directory work fine.

    Ztruker said:
    Enter path in a Command Prompt window to see what the path Environment variable is set to. At an absolute minimum, it must have these

    C:\WINDOWS\system32;
    C:\WINDOWS;
    C:\WINDOWS\System32\Wbem;

    Also enter where regedit, see what it responds with. Mine shows:

    C:\WINDOWS\system32>where regedit
    C:\Windows\regedit.exe
      My Computer


  5. Posts : 29,078
    Windows 10 21H1 Build 19043.1023
       #5

    dcol said:
    Those items are in the path and where regedit shows the correct locations. I have setup a desktop link to regedit and that works fine, but it will not run from the WIN+R run box or from the command prompt. When I type path into the command prompt (yes I run as administrator), it shows the windows directories in the list. All other executables in the windows directory work fine.
    Strange, Dcol. I just did the Win+R and it opened my Registry just fine.

    I also can right click on Start and then click Run and type in Regedit and it works too. Long way around, but it works too. :)
      My Computer


  6. Posts : 703
    Windows 10 Pro x64
       #6

    dcol said:
    ...
    Hi dcol :)

    I had the same problem after installing on a system on a few weeks ago. The Run command was automatically searching in incorrect locations for some reason. I changed it so that it looks in the Local Disk C root as its default search location. It then automatically searches through the entire disk and loaded up regedit or gpedit or whatever without any problem. I also checked to confirm it used the same default search location after a cold boot.

    Hope this helps
      My Computer


  7. Posts : 86
    Windows 10 Pro
       #7

    what about powershell? type in powershell and see if it opens.
      My Computer


  8. Posts : 51
    Windows 10 Pro
    Thread Starter
       #8

    Does not open in powershell either. Doesn't error, just goes to the next line same as command prompt. Opens fine from explorer when I go directly to the folder.

    No problem with any other exe's in the windows folder, ie notepad, write, helppane, etc. All open fine in the run box.
      My Computer


  9. Posts : 29,078
    Windows 10 21H1 Build 19043.1023
       #9

    dcol said:
    Does not open in powershell either. Doesn't error, just goes to the next line same as command prompt. Opens fine from explorer when I go directly to the folder.

    No problem with any other exe's in the windows folder, ie notepad, write, helppane, etc. All open fine in the run box.
    No, he wanted you to try to open PowerShell from the Run command.
      My Computer


  10. Posts : 51
    Windows 10 Pro
    Thread Starter
       #10

    Yes powershell and cmd open from the run box. Everything except regedit opens.

    Wynona said:
    No, he wanted you to try to open PowerShell from the Run command.
      My Computer


 

  Related Discussions
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 15:32.
Find Us




Windows 10 Forums