Export the specified subkeys and values to a
.reg
file. More information: https://learn.microsoft.com/windows-server/administration/windows-commands/reg-export.
reg export {{key_name}} {{path\to\file.reg}}
reg export {{key_name}} {{path\to\file.reg}} /y