Display the values of keys and sub keys in the registry.
:: To display all values of a key:
reg query <key_name>
:: To display a specific value of a key:
reg query <key_name> /v <value>
:: To display all values of a key and its sub keys:
reg query <key_name> /s
:: To search for keys and values matching a specific pattern:
reg query <key_name> /f "<query_pattern>"
:: To display a value of a key matching a specified data type:
reg query <key_name> /t <type>