WinNUT-Client icon indicating copy to clipboard operation
WinNUT-Client copied to clipboard

Export settings for transfer/backup

Open chbeck2010 opened this issue 2 years ago • 2 comments

Please make sure to fill out this form completely, and attach your program logs (set to Debug setting). You can delete this line.

**WinNUT Version: ** 2.0.7722.30975 **Windows OS Version: ** windows 10 21H2

Describe the bug A clear and concise description of what the bug is.

In win nut 1.x it was pretty easy to make one ini file and use that on multiple systems. Is there a way to quickly export a config on one system and inport it on another? (registry export/inport, appdata or something like that?

chbeck2010 avatar Nov 27 '23 22:11 chbeck2010

Created https://github.com/nutdotnet/WinNUT-Client/issues/121

chbeck2010 avatar Nov 27 '23 22:11 chbeck2010

Hi @chbeck2010 ,

WinNUT currently does not have an official method for exporting your settings. However, since settings are stored in the Registry, you can accomplish what you want with a few simple steps:

  1. Open a user (non-Admin) command prompt under the user that was running WinNUT
  2. Run command reg.exe export "HKEY_CURRENT_USER\SOFTWARE\WinNUT" "<export destination>" (where <export destination> is where the exported registry contents will go on your file system)

This creates a .reg file which you can then backup, and/or copy to additional computers, after which you can double-click the file so it will be imported and available for WinNUT.

I'm currently working on an upgrade to the Settings system and I think this will be a useful feature to have. I'd like to leave this issue open so I can reference it in the future. Thank you!

Ref #100

gbakeman avatar Dec 02 '23 17:12 gbakeman