Fix The Registry editor has stopped working

Fix The Registry editor has stopped working error: If you run Regedit.exe even using administrative privileges and search for an arbitrary, non-existent value, the Registry Editor keeps on searching and if you try to cancel the search it hangs and even though if you don’t cancel it will still freeze, so you don’t have much of a choice here. One more thing when you press cancels a pop-up Window comes up with an error message “The Registry editor has stopped working” and then it restarts.

Fix The Registry editor has stopped working

Now the main issue seems to be the length of the subkey found which must be more than 255 bytes. Yes, this is the problem in earlier version of Windows 10, where maximum allowed key length of the registry under search is 255 bytes. But sometimes this error can also be caused due to virus or malware. So without wasting any time let’s see how to Fix The Registry editor has stopped working.

Fix The Registry editor has stopped working error

Make sure to create a restore point just in case something goes wrong.

Method 1: Run System Restore

1.Press Windows Key + R and type”sysdm.cpl” then hit enter.

system properties sysdm

2.Select System Protection tab and choose System Restore.

system restore in system properties

3.Click Next and choose the desired System Restore point.


4.Follow the on-screen instruction to complete system restore.

5.After reboot, you may be able to Fix The Registry editor has stopped working error.

Method 2: Run SFC and DISM

1.Press Windows Key + X then click on Command Prompt(Admin).

command prompt with admin rights

2.Now type the following in the cmd and hit enter:

Sfc /scannow
sfc /scannow /offbootdir=c:\ /offwindir=c:\windows (If above fails then try this one)

SFC scan now command prompt

3.Wait for the above process to finish and once done restart your PC.

4.Again open cmd and type the following command and hit enter after each one:

a) Dism /Online /Cleanup-Image /CheckHealth
b) Dism /Online /Cleanup-Image /ScanHealth
c) Dism /Online /Cleanup-Image /RestoreHealth

DISM restore health system

5.Let the DISM command run and wait for it to finish.

6. If the above command doesn’t work then try on the below:

Dism /Image:C:\offline /Cleanup-Image /RestoreHealth /Source:c:\test\mount\windows
Dism /Online /Cleanup-Image /RestoreHealth /Source:c:\test\mount\windows /LimitAccess

Note: Replace the C:\RepairSource\Windows with the location of your repair source (Windows Installation or Recovery Disc).

7.Reboot your PC to save changes and see if you’re able to Fix The Registry editor has stopped working error.

Method 3: Run CCleaner and Malwarebytes

1.Download and install CCleaner & Malwarebytes.

2.Run Malwarebytes and let it scan your system for harmful files.

3.If malware is found it will automatically remove them.

4.Now run CCleaner and in the “Cleaner” section, under the Windows tab, we suggest checking the following selections to be cleaned:

ccleaner cleaner settings

5.Once you’ve made certain the proper points are checked, simply click Run Cleaner, and let CCleaner run its course.

6.To clean your system further select the Registry tab and ensure the following are checked:

registry cleaner

7.Select Scan for Issue and allow CCleaner to scan, then click Fix Selected Issues.

8.When CCleaner asks “Do you want backup changes to the registry?” select Yes.

9.Once your backup has completed, select Fix All Selected Issues.

10.Restart your PC to save changes.

Method 4: Replace regedit.exe

1.First, navigate to the C:\Windows.old folder, if the folder doesn’t exist then continue.

2.If you don’t have the above folder then you need to download the

3.Extract the above file on the desktop then press Windows Key + X then select Command Prompt (Admin).

command prompt with admin rights

4.Type the following command into cmd and hit Enter:

takeown /f “C:\Windows\regedit.exe”

icacls “C:\Windows\regedit.exe” /grant “%username%”:F

takedown regedit.exe in Windows folder

5.Press Windows Key + E to open File Explorer then navigate to C:\Windows folder.

6.Find regedit.exe then rename it to regeditOld.exe and then close the file explorer.

Find regedit.exe then rename it to regeditOld.exe & close Explorer

7.Now if you have C:\Windows.old\Windows folder then copy the regedit.exe from it to C:\Windows folder. If not, then copy the regedit.exe from the above-extracted zip file to C:\Windows folder.

Replace regedit.exe from the extracted folder to Windows folder

8.Reboot your PC to save changes.

9.Launch Registry Editor and you could search for strings which have the size larger than 255 bytes.


That’s it you have successfully Fix The Registry editor has stopped working error but if you still have any queries regarding this post then feel free to ask them in the comment’s section.

About The Author

Leave a Comment

Your email address will not be published. Required fields are marked *