In order to import registry changes use this command on the following .reg file examples.
regedit /S <reg file>
- Add/update key and value
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\ExampleKey]
"StringValue"="example"
- Remove key (including all values)
Windows Registry Editor Version 5.00
[-HKEY_CURRENT_USER\ExampleKeyToRemove]
- Remove value
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\ExampleKey]
"ExampleStringValue"=-
