How to edit Registry from Command Prompt on Windows 11 and 10
On Windows 11 (and 10), you can use the "Reg" command-line tool to add, delete, edit, copy, export, and import keys to the Registry using Command Prompt, and here's how.
Source: windowscentral.com