Home » Fix Regedit.exe Crashes when searching through Registry

Fix Regedit.exe Crashes when searching through Registry

If you have recently updated or upgraded to Windows 10 then while searching through Registry Editor, it will take forever to perform the search, and when you click cancel, the regedit.exe crashes. And when the Registry Editor crashes it gives an error message saying “The Registry editor has stopped working“. The mains issue seems to be the key length of the registry keys set to 255 bytes maximum. Now when this value is exceeded during the search, then the Regedit.exe crashes.

Fix Regedit.exe Crashes when searching through Registry

During the registry search, one or more value must have a length more than the 255 bytes, and once the subkey is found, the registry editor keeps running in an endless loop. When you try to cancel the search, the regedit.exe crashes because it doesn’t really have any other option. So without wasting any time let’s see how to Fix Regedit.exe Crashes when searching through Registry with the help of the below-listed guide.

Fix Regedit.exe Crashes when searching through Registry

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

Method 1: Run SFC and DISM Tool

1. Open Command Prompt. The user can perform this step by searching for ‘cmd’ and then press Enter.

Open Command Prompt. The user can perform this step by searching for ‘cmd’ and then press Enter.

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 | Fix Regedit.exe Crashes when searching through Registry

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:

Dism /Online /Cleanup-Image /CheckHealth
Dism /Online /Cleanup-Image /ScanHealth
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 your repair source (Windows Installation or Recovery Disc).

7. Reboot your PC to save changes and see if you’re able to Fix Regedit.exe Crashes when searching through Registry.

Method 2: 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 regedit_W10-1511-10240.zip.

3. Extract the above file on the desktop and then open Command Prompt. The user can perform this step by searching for ‘cmd’ and then press Enter.

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.

Method 3: Use Third-Party Registry Editor

If you don’t want to follow such complex steps, you could easily use third party Registry Editor, which seems to work just fine and doesn’t have a 255-byte limit. Below are some of the popular third-party Registry Editors:

Regscanner

O&O RegEditor

O&O RegEditor | Fix Regedit.exe Crashes when searching through Registry

Recommended:

That’s it you have successfully Fix Regedit.exe Crashes when searching through Registry but if you still have any questions regarding this post then feel free to ask them in the comment’s section.

nv-author-image

Aditya Farrad

Aditya is a self-motivated information technology professional and has been a technology writer for the last 7 years. He covers Internet services, mobile, Windows, software, and How-to guides.

1 thought on “Fix Regedit.exe Crashes when searching through Registry”

  1. Hi,
    Thank you so much for your post.
    I ran method 1 without finding any error or complication, however the problem persists.
    I’ve been using regedit many times on Win 7 without any problem, recently I bought a new machine with windows 10 home, I’ve been experiencing this issue with regedit from the beginning.
    When executing the find command my whole PC get so slow that the cursor hardly moves.
    At this point in time, my PC has the latest update, version 1803 OS build 17134.407.
    Windows 10 is so frustrating, I invested so much money in this new PC.

Leave a Reply

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