I want do an export of the current state of the following path:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters
And so I can do that with:
reg export HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters C:\test.reg /y
What I would like is to perform a restore with that .reg but not just fix/overwrite existing keys, I also need to delete anything that may have been added so that it's a true return to the original state.
Is there a simple way to do this?
Thanks!