Regedit.exe search crashing in W10 1511/TH2

Hi, all,

After upgrade to Windows 10 version 1511, when performing full search using regedit.exe across registry keys, it will wait forever. If I click the cancel, it will be crashed. Tested it is no problem before the upgrade, or it is clean install from a Windows 10 version 1511 disc. Any workaround or idea to fix?

 

Question Info


Last updated March 17, 2018 Views 15,472 Applies to:
Answer
Answer

Same Problem here! I found the reason for this behavior. The key length of registry keys is defined as 255 bytes max. This value was exceeded! Regedit crashed whenever it reads one of the sub keys in a endless loop.

Here is my crash point:

[HKEY_CURRENT_USER\SOFTWARE\Classes\Local Settings\MrtCache\C:%5CProgram Files%5CWindowsApps%5Cmicrosoft.windowscommunicationsapps_17.6410.42011.0_x64__8wekyb3d8bbwe%5CMicrosoft.System.Package.Metadata%5CS-1-5-21-3276976558-4070296867-1134726797-1000-MergedResources-11.pri]

This key length is much more than 255 bytes. Regedit reads the sub key

[HKEY_CURRENT_USER\SOFTWARE\Classes\Local Settings\MrtCache\C:%5CProgram Files%5CWindowsApps%5Cmicrosoft.windowscommunicationsapps_17.6410.42011.0_x64__8wekyb3d8bbwe%5CMicrosoft.System.Package.Metadata%5CS-1-5-21-3276976558-4070296867-1134726797-1000-MergedResources-11.pri\1d11ded6fd4d2fb]

in a loop ever and ever and crash!

Hope Microsoft fix this soon.

6 people were helped by this reply

·

Did this solve your problem?

Sorry this didn't help.

Great! Thanks for marking this as the answer.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this response?

Thanks for your feedback.

Answer
Answer

It really seems it is a bug in regedit.exe.

As a workaround since Microsoft patches that issue, I replaced regedit.exe with the Version from Windows 10 RTM (10.0.10240.16384).

To do that, you first have to take ownership of the "th2"-version of regedit.exe. I used the precedure described in that KB-article --> https://support.microsoft.com/en-us/kb/929833?Ocid=1.%20Owned%20NA%20%28Reactive%29_Social_TWITTER_WindowsSupport_20151114_277819571#bookmark-manually%20repair

Then I just replaced the regedit.exe. Now regedit works as expected, even though the >255bytes keys are still there.

Regedit.exe v10.0.10240.16384 seems to handle them!

10 people were helped by this reply

·

Did this solve your problem?

Sorry this didn't help.

Great! Thanks for marking this as the answer.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this response?

Thanks for your feedback.