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.
dpst-control/dpst-control.ps1
Line 87 in 298fa62
In my case, there are multiple subkeys under
HKLM:\SYSTEM\CurrentControlSet\Control\Class\{4d36e968-e325-11ce-bfc1-08002be10318}with a value namedFeatureTestControl, 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.