I am trying to add keys to the Windows Registry without replacements. I have tried this method to import the registry:
Regedit.exe /s "C:\reg\file.reg"
But this overwrites the currently existing keys.
I have also tried ‘Reg Add’ command; this also overwrites the existing value.
How to import a .reg file contents without overwriting the existing keys and values using command?
Also how to append the data to registry values? For example I have
Value=dword:00000001
Now I want to add 00000002
to the same value i.e.
Value=dword:00000001, 00000002
How to achieve this using Windows command?