So, I downloaded an Android app called Glyfen that actually lets me search using those random words I remember.
It works with regular photos, too, so you can extract text from images of receipts, business cards, and printed documents just as easily as screenshots.
If you've amassed several years' worth of photos, I'd start with your screenshots and add other folders as needed.
You pick exactly which folders the app can read, and all the text recognition happens right on your phone.
Samsung Gallery found the same Registry screenshot during my testing, and Google Photos, despite some of its shortcomings, can search for text inside images, too.