Save a registry key, its sub keys and values to a specific file

reg save

  • Save a registry key, its sub keys and values to a file.
    More information: <https://learn.microsoft.com/windows-server/administration/windows-commands/reg-save>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

reg save {{key_name}} {{path/to/file}}

click the source code to copy install reg save on any operating system with command-not-found.com