one-click script o backup and restore individual registry keys

1

I have an application that stores some settings in registry. For whatever reason, it loses some stuff on occasion. I don't really have time to figure out what the problem is (it's not even guaranteed that I could) so I'd like to make a one-click shortcut to backup and restore specific keys. I would imagine that this is a job for powershell. Could somebody please tell me how to do this?

jamesson

Posted 2014-01-06T17:25:55.357

Reputation: 491

Answers

4

Use the Reg Export command to export the key and Reg import to import the data. Put this into a CMD batch file which you can start with 1 click.

magicandre1981

Posted 2014-01-06T17:25:55.357

Reputation: 86 560

Shorter than this, in fact - a shortcut works just as well. Thanks! – jamesson – 2014-01-06T18:28:26.617