dpst-control icon indicating copy to clipboard operation
dpst-control copied to clipboard

Return a list of suitable keys instead of returning the first key found

Open tgquan67 opened this issue 3 years ago • 0 comments

https://github.com/orev/dpst-control/blob/298fa62912faf1e88bd4900cda83ca64878f2ca3/dpst-control.ps1#L87

In my case, there are multiple subkeys under HKLM:\SYSTEM\CurrentControlSet\Control\Class\{4d36e968-e325-11ce-bfc1-08002be10318} with a value named FeatureTestControl, and only by editing the 3rd key did the trick work. So this should return a list of all suitable subkeys instead of only returning the first subkey found.

tgquan67 avatar Nov 27 '21 13:11 tgquan67