Sunday, August 21, 2016

Policy Plus - Find by Registry

Yesterday, I implemented a find-by-text feature for Policy Plus policies. Today I adjusted its searcher to be a lot smarter. It now understands quoted strings and wildcard words. There's also a new Find Next feature: striking the F3 key or clicking FindFind Next now causes the focus to be moved to the next policy in the search results that's visible. The Search Results menu item's hotkey was changed to Shift+F3.

After committing those changes, I added a find-by-Registry feature. The query dialog has one textbox for a key path/name and one textbox for a value name. Only one of them has to be filled, but if both are, policies must have a Registry key-value pair that matches both.

Searching for policies that affect a Registry key with "peernet" as one of the path components
Results of the above
The results can be narrowed down by also searching for a specific value name. For example, adding "disabled" in the value textbox results in only four policies being found. Specifying that "peernet" is the last path component (by putting *\peernet in the key field) narrows it down to one.

The changes are live on GitHub.

No comments:

Post a Comment