Search Reg and post results, but remove 2 keys from results

(imported topic written by JamesN91)

Analysis only…

"values of keys of key “HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI” of registry "

I do not want to return values of 2 keys that are enterprise wide (from beliw KeyA, KeyB). Just want to skip over these values and report on everything else.

-ie

HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI

-KeyA

-KeyB

-Key Nth

How would I do that?

(imported comment written by NoahSalzman)

How about:

(values of keys of key “HKLM…” of registry as string) whose (it does not contain “KeyA” and it does not contain “KeyB”)

(imported comment written by JamesN91)

worked. Thank you