I am trying to exclude several values from a Run Key query. This query works great (other than duplicates)
(Names of values of it, values of it, last write times of it) of keys whose (it as string does not contain " or ) of key “HKLM\software\microsoft\windows\currentversion\Run” of native registry
I’m not totally sure what you want, but it seems like you want to filter based on the “names of values of it” part of the relevance. In that case, does something like this work?
(Names whose ( it does not contain “Program1” ) of values of it, values of it, last write times of it) of keys whose of key “HKLM\software\microsoft\windows\currentversion\Run” of native registry
(Names whose (it does not contain “Test”) of names of values of it, values of it, last write times of it) of keys whose of key “HKLM\software\microsoft\windows\currentversion\Run” of native registry
and whose of key is not right…
nor
(Names whose (it does not contain “Test”) of names of values of it, values of it, last write times of it) of key “HKLM\software\microsoft\windows\currentversion\Run” of native registry
This works:
(names of values of it, values of it, last write times of it) of it of key “HKLM\software\microsoft\windows\currentversion\Run” of registry
But not this:
((Names whose (it does not contain “Test”)) of (names of values of it, values of it, last write times of it) of it) of key “HKLM\software\microsoft\windows\currentversion\Run” of registry
(names whose ( it does not contain “Program1” ) of values of it, values of it, last write times of it) of keys of key “HKLM\software\microsoft\windows\currentversion\Run” of native registry
All that comes up is TRUE, so no it does not work and why i think there is a bug as like you I thought this would work. On other keys i am getting several duplicates.
Also - This would work for subkeys, not the Run or RunOnce Key as there are no ‘Keys of Key’ - And you get duplicates.
But this worked
(names whose ( it does not contain “Program1” ) of values of it, values of it, last write times of it) of key “HKLM\software\microsoft\windows\currentversion\run” of registry