Only if it's in the Registry which would be a VALID profile whether or not it was from corruption or whatever.

Not sure what your point is Jooel. This is just an exercise in showing various ways of getting the data requested.

I don't see any "specifics" of include/exclude requirements, or even a reply since I posted this code except from us regulars.

If / When such stringent requirements are provided then he can hopefully have at least an idea of how to constrain the data to his requirements, which is better than just generalizations on how to do it.