Fix: Windows cannot find regedit.exe
Windows cannot find C:\Windows\regedit.exe can happen because of malware infection, corrupted system files, and drivers or corrupted Windows Installation. This error message isn’t limited to any specific OS version and can occur in Windows 10,8, and even 7.
Regedit.exe is the file that runs the Registry Editor. The Windows Registry is the brain of the Windows PC. But users may rarely encounter problems in accessing the Registry Editor. This error can be very dangerous as the user is not in control of the system and it can be the starting point of a Malware attack.
What Causes the Windows cannot find C:/Windows/regedit.exe error?
Our experts’ team after carefully analyzing the submitted reports by users, was able to find the undermentioned causes of the problem.
- Malware Infection: Malware infects the system in many different ways. And it can affect the system’s brain i.e. The Windows Registry, especially Ransomware is known to create errors like the one that you are currently facing.
- Corrupted System Files: Registry Editor access different system files to perform its routine operations and if any of these files is corrupted, it can force the system to suffer from this error.
- Wrong Group Policy Settings: Group policy of the system is a powerful tool capable of disabling and unlocking different Windows components and if the access to the Registry Editor is disabled in the Group Policy, then you will suffer from this error.
- Wrongly Configured Environmental Variables: Environment variables are the values that have all the information about the system’s environment. Every process of Windows has a set of environment variables and their values. And if environmental variables are wrongly configured, then you will suffer from the error.
- Corrupted Windows Installation: If the OS of your system is corrupted then you can suffer many problems including the current issue.
But before moving on with troubleshooting,
- Make sure you have the administrator access to the system
- Boot your system in safe mode. If you cannot boot into the safe mode or cannot perform the under mentioned steps in safe mode, then try these steps using Windows Bootable Media.
What causes the Registry Editor not to be Found?
1. Run an Antivirus Scan
Malware/virus-infected systems suffer from multiple issues including the problem where Windows cannot access the registry editor. Running a full system scan for the Malware/viruses in the safe mode may solve the problem.
There are many tools to perform removal of Malware but we recommend to use Malwarebytes.
After scanning and clearing the system with Malwarebytes, restart the system in normal mode and check if the Registry Editor has started to work.
2. Run System File Checker Command
The corrupted system files can cause all types of system problems including Windows cannot find C:\Windows\regedit.exe. This problem requires prompt action from the user to avoid a bigger mess at the end. Windows has a built-in function to check and repair the system files.
See System File Checker (SFC) .
After our Running SFC scan, check if you can access Registry Editor.
3. Run DISM Command to Repair the System Image
Deployment Image Servicing and Management (DISM) is a Windows Utility to recover system files that could not be recovered by the SFC.
See instructions (here).
After running the DISM command check if you can access Registry Editor.
4. Change Group Policy Settings
The Local Group Policy Editor (gpedit.msc) is used for all Computer & User Configuration. It is essential in creating policies that will then be applied to the computer. If due to any reason, the access to Registry Editor in Group Policy is disabled then you will suffer from the problem at hand. If you are using a Windows version without Local Group Policy Editor, then please follow this article.
- Press the Windows and R buttons simultaneously to open the Run box. Then, type “gpedit.msc” and hit Enter, which will open the Local Group Policy Editor.
- Then go to User Configuration> Administrative Templates. And then go to System.
- Now find the entry “Prevent Access to Registry Editing Tools” and Double click to open it.
- In the Windows Displayed, Click on the Checkmark on the Disabled.
Now restart the system to see if you can access Registry Editor.
5. Change Environmental Variables
Environment variables contain all the information regarding the system environment. Every process of Windows OS has a set of environment variables and their values. If Environmental Variable is wrongly configured, then you will suffer from this variable. Editing the Value may solve the problem.
- On your desktop, right-click on This PC and click on “Properties”.
- In the left pane of the opened window, click on the “Advanced System Settings”
- In Advanced System Settings Windows, click on the Environmental Variables
- After that find the line starting with Path in the bottom box then select it and then click on “Edit”.
- Now click on the Edit button and Paste the line mentioned below
%USERPROFILE%\AppData\Local\Microsoft\WindowsApps
- Click on OK and reboot your PC.
Access the Registry Editor to see if the problem is solved.
6. Copy Regedit from Other Sources
Corrupted Registry Editor Exe file can be the cause the Windows cannot find the regedit.exe. Replacing the Exe file may solve the problem.
We can use Windows.old folder for this purpose.
- Boot your system in Safe Mode.
- Open Your system Drive usually it is C drive.
- Find and open Windows.old folder.
- In the Windows.old folder, open the folder “Windows” and then find and copy regedit.exe.
- Now move to the system driver, find and open the folder “Windows” and paste the regedit.exe, click “Continue” when prompted for confirmation.
You can use another PC to copy the regedit.exe but there are very rare chances for it to work, as both PCs would have a different environment, drivers and components.
After copying the regedit.exe file, access the registry editor to see if is functioning properly.
8. Restore Registry Related Values to Default
If the default values relating to Registry Editor are changed, there are great chances of you to suffer from accessing the Registry Editor. Follow the steps below to restore these values to their defaults.
- Press the Windows button and type “Notepad” to search and in the list displayed, click on “Notepad“.
- Paste the following commands in the notepad. Make sure there are two empty lines at the end of the file.
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion] "SM_GamesName"="Games" "SM_ConfigureProgramsName"="Set Program Access and Defaults" "CommonFilesDir"="C:\\Program Files\\Common Files" "CommonFilesDir (x86)"="C:\\Program Files (x86)\\Common Files" "CommonW6432Dir"="C:\\Program Files\\Common Files" "DevicePath"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,\ 00,74,00,25,00,5c,00,69,00,6e,00,66,00,3b,00,00,00 "MediaPathUnexpanded"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,\ 6f,00,6f,00,74,00,25,00,5c,00,4d,00,65,00,64,00,69,00,61,00,00,00 "ProgramFilesDir"="C:\\Program Files" "ProgramFilesDir (x86)"="C:\\Program Files (x86)" "ProgramFilesPath"=hex(2):25,00,50,00,72,00,6f,00,67,00,72,00,61,00,6d,00,46,\ 00,69,00,6c,00,65,00,73,00,25,00,00,00 "ProgramW6432Dir"="C:\\Program Files" Windows Registry Editor Version 5.00
- Save the file with the name “RegistryFix.reg”.
- Now Right-click this file and click on Merge. Click Yes when prompted for confirmation.
- Restart the system.
After the system is rebooted, check if you can access regedit.exe without any problem.
9. Perform a System Restore
System Restore is a technique included in Windows to restore Windows to a previous version. This technique is quite useful in case the system gets infected or any system Windows files get corrupted. In the case when Windows cannot excess registry editor, then the restoring system can solve the problem.
To restore the system, please follow the guidelines
After performing a system restore, check if you can access Registry Editor successfully.
Solution 9: Repair the Windows OS
If nothing has helped you so far, then repairing the Windows installation can solve the problem.