Zend certified PHP/Magento developer

How to search Windows registry REG_BINARY for matching data

How can I use the Windows Registry Editor ‘Find’ feature (or some other method) to search for a REG_BINARY key who’s binary data contains byte sequences that match a specific value?

That is, many REG_BINARY key values contain data formatted in UTF-8 2-byte pairs, with the 1st byte in the pair representing a standard ASCII character and the second byte in the pair being, typically, a null.

I’m trying to find such a binary key which has data referencing a path name. But I cannot simply search for “Abc” because the binary data is stored as 2-byte pairs: “A” null “b” null “c”. How can I search in such a way as to return/report all binary keys for which the key’s data contains a 2-byte string equivalent to “Abc”?