Compare keys and their values in the registry.

:: To compare all values under a specific key with a second key:
reg compare <first_key_name> <second_key_name>

:: To compare a specific value under two keys:
reg compare <first_key_name> <second_key_name> /v <value>

:: To compare all sub keys and values for two keys:
reg compare <first_key_name> <second_key_name> /s

:: To only output the matches between the specified keys:
reg compare <first_key_name> <second_key_name> /os

:: To output the differences and matches between the specified keys:
reg compare <first_key_name> <second_key_name> /oa