In Windows 11 Pro x64 V21H2 (OS Build 22000.469), CCleaner V5.89.9401 does not clear the Windows Explorer Edit>Find window.
are you sure that you are looking at "windows explorer"? it looks more like something i would see when using "regedit," not windows explorer. i don't see a "find" in windows explorer, with windows 10. i see a "search," as in "search for a file."
there is an option to clear regedit data under ccleaner's options for "applications."
Open a text file in Notepad
Go to Edit>Find in the top menu of Notepad.
I just figured that this was Windows Explorer working with Notepad.
I can't find any option in the standard CCleaner (old versions or new) that clears that particular field in Notepad's Find.
Maybe there's something in winapp2 that can clear it? (I assume that you already have winapp2 from the document in your screenshot).
I assume [MS Notepad *] clears it in Windows 10. These keys are not present in Windows 11 Notepad.
[MS Notepad *]
LangSecRef=3025
Detect=HKCU\Software\Microsoft\Notepad
RegKey1=HKCU\Software\Microsoft\Notepad|replaceString
RegKey2=HKCU\Software\Microsoft\Notepad|searchString
Notepad is now also an app, unfortunately. The user data is stored in the file "C:\Users\<your user name>\AppData\Local\Packages\Microsoft.WindowsNotepad_8wekyb3d8bbwe\SystemAppData\Helium\User.dat".
Unfortunately, only a Winapp2.ini entry could be made here which deletes the entire file and thus all settings. Maybe the CCleaner developers can edit the "User.dat" file directly.
This works:
[Windows 11 Notepad *]
DetectOS=10.0|
LangSecRef=3031
DetectFile=%LocalAppData%\Packages\Microsoft.WindowsNotepad_8wekyb3d8bbwe
FileKey1=%LocalAppData%\Packages\Microsoft.WindowsNotepad_*\SystemAppData\Helium|User.dat
Correct, but this entry then still needs a warning, because all user settings set in Notepad will be deleted as well.
https://community.ccleaner.com/topic/32310-winapp2ini-additions/page/344/#comment-334818
Whereas the Windows 11 Notepad is in the beta phase and feedback has been urged, I sent a request via Notepad feedback to make the Find/Replace data as separate .dat file so that it can be cleared without affecting other User settings (Theme and Fonts). Hopefully the Notepad developer will meet the request.