Displays the path name of all the values that match the specified
value name.
This command requires the SYSPRV privilege or the REG$LOOKUP
rights identifier.
Format:
SEARCH VALUE key-name value-name
key-name
Specifies the name of the key path to search.
value-name
Specifies the value name for which to search.
1 – Qualifiers
1.1 /OUTPUT
/OUTPUT=file-spec
Controls where the output of the command is sent. If you do
not specify a file name, the system uses the default name
REGISTRY.LIS.
1.2 /WAIT
/WAIT=seconds (default = 90)
/NOWAIT
Specifies the maximum amount of time, in seconds, that you are
willing to wait for command completion. If the Registry server
does not complete the request in the specified interval, REG$CP
returns REG-F-NORESPONSE. The default interval is 90 seconds.
/NOWAIT is equivalent to specifying /WAIT=0, but there may still
be a short wait period.
2 – Example
REG> SEARCH VALUE HKEY_LOCAL_MACHINE\... *AM%
HARDWARE\CLUSTER\Name
HARDWARE\CLUSTER\NODE\Name
HARDWARE\LOCAL\NODE\Name
NODE\COMPUTERNAME
Displays all the value names that match the HKEY_LOCAL_
MACHINE\...\*am% selection. The ellipsis (...) wildcard
specifies that there can be any number of subkeys between the
HKEY_LOCAL_MACHINE entry point and the *am% value name. Note
that the search is not case sensitive.