Sodamhan.com

TL;DR

reg compare

Compare keys and their values in the registry. More information: https://learn.microsoft.com/windows-server/administration/windows-commands/reg-compare.

  • Compare all values under a specific key with another key:

reg compare key_name1 key_name2

  • Compare a specific value under two keys:

reg compare key_name1 key_name2 /v value

  • Compare all subkeys and values for two keys:

reg compare key_name1 key_name2 /s

  • Only output the matches (same) between the specified keys:

reg compare key_name1 key_name2 /os

  • output the differences and matches (all) between the specified keys:

reg compare key_name1 key_name2 /oa

  • Compare two keys, outputting nothing:

reg compare key_name1 key_name2 /on

This document was created using the contents of the tldr project.