How can I export and restore ethernet network settings in Windows 11?

thosecars82

Distinguished
Dec 12, 2009
84
0
18,530
netsh wlan export profile key=clear folder="%UserProfile%\Desktop" works to backup wifi settings

but

netsh lan export profile key=clear folder="%UserProfile%\Desktop"

outputs

'key' is not a valid argument for this command.

One or more parameters for the command are not correct or missing.

How can I export and restore ethernet network settings in Windows 11?

Thanks