How can I report the advanced networking configuration as plain text?

5

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

user8228

Posted 2009-09-05T15:33:02.203

Reputation:

Answers

5

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.

Breakthrough

Posted 2009-09-05T15:33:02.203

Reputation: 32 927

Hrm... You really do like using that <h1> tag don't you ;) – Josh Hunt – 2009-09-06T12:15:18.537

(I dislike that heading stuff a lot to be honest.) – Arjan – 2009-09-06T13:51:19.290

thanks Breakthrough, but Im looking to do it by windows defaults tools. and no need for a highlight anyway – None – 2009-09-06T15:03:30.670

@Breakthrough, looks much better to me, thanks. (And in the previous revision with the heading, I didn't even realise this was some quote!) – Arjan – 2009-09-06T15:30:31.027

1@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 – 2009-09-06T16:17:54.723

1@ the first two: If people's posts bother you too much, just change the styling with a Firefox addon. :P – cp2141 – 2009-09-10T19:21:52.940

0

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

swatkat

Posted 2009-09-05T15:33:02.203

Reputation: 549

this doesn't help too much – None – 2009-09-05T16:19:22.033

No, you can't. These are NIC-specific settings, netsh only allows you to poke around in Windows's network settings. – Joey – 2009-09-05T16:48:55.187