CmdID

CmdID / Commands / reg

reg restore

Writes saved subkeys and entries back to the registry. Windows commands reference

On Windows

Opens CmdID with your command. It is read in your browser and sent nowhere.

Windows

from the Windows commands reference, CC BY 4.0
reg restore <keyname> <filename>
reg restore HKLM\Software\Microsoft\ResKit NTRKBkUp.hiv
<keyname>Specifies the full path of the subkey to be restored. The restore operation only works with the local computer. The keyname must include a valid root key. Valid root keys for the local computer are: HKLM, HKCU, HKCR, HKU, and HKCC. If the registry key name contains a space, enclose the key name in quotes.
<filename>Specifies the name and path of the file with content to be written into the registry. This file must be created in advance by using the reg save command, and must have a .hiv extension.
/?Displays help at the command prompt.