Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

What command can I use to get all these settings (and their values) into a text file?

I can locate them in the registry but can't get their selected values... This is just how I can ask people having network problems to report those details (it would be good to have the information available).

enter image description here

share|improve this question
up vote 5 down vote accepted

You can use Microsoft's official DevCon tool, which can be run by the command line. From Microsoft's website, they describe it as:

The DevCon command-line utility is as an alternative to Device Manager.

You can get the tool here, along with the basic documentation. It's a very robust tool, and with a bit of tweaking and command line switches, should do exactly what you need.

You can use the > operator to stream the output from stdout to a file (e.g. devcon [args] > output.txt). You can then wrap everything into a batchfile and distribute it to your users.

share|improve this answer
Hrm... You really do like using that <h1> tag don't you ;) – Josh Hunt Sep 6 '09 at 12:15
(I dislike that heading stuff a lot to be honest.) – Arjan Sep 6 '09 at 13:51
thanks Breakthrough, but Im looking to do it by windows defaults tools. and no need for a highlight anyway – user8228 Sep 6 '09 at 15:03
@Revolter, just in case it matters to you: this DevCon tool may not be built-in to Windows, but it actually is a Microsoft-provided download. – Arjan Sep 6 '09 at 16:17
@ the first two: If people's posts bother you too much, just change the styling with a Firefox addon. :P – cp2141 Sep 10 '09 at 19:21

You can use netsh command to check/modify such network interface settings. Some examples can be found here:
Netsh commands for interface IP
Manage Windows Network settings with netsh
Configure TCP/IP from command line

share|improve this answer
this doesn't help too much – user8228 Sep 5 '09 at 16:19
No, you can't. These are NIC-specific settings, netsh only allows you to poke around in Windows's network settings. – Joey Sep 5 '09 at 16:48

You must log in to answer this question.