Use netsh to backup and restore the configuration
Back up TCP / IP configuration
You want to backup and restore your TCP / IP configuration, work with multiple network profiles?
Then use this backup command:
'netdump.cmd by Joern Walter 18.04.2014
netsh interface dump>% appdata% \ currentConfig.txt
Create a new file on your desktop and copy in the text highlighted in red and rename this netdump.cmd file.
To restore (restore) the configuration use this command:
Create a new file on your desktop and copy the green text into it and rename this file restorenetdump.cmd.
# restorenetdump.cmd by Joern Walter 18.04.2014
netsh -f% appdata% \ currentConfig.txt