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

link|improve this question

feedback

3 Answers

up vote 4 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.

link|improve this answer
Hrm... You really do like using that <h1> tag don't you ;) – David Pearce 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 – Revolter Sep 6 '09 at 15:03
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 Sep 6 '09 at 16:17
1  
@ 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
show 1 more comment
feedback

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

link|improve this answer
this doesn't help too much – Revolter 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
feedback

I don't know about a simple command .. I think this question is more suited for StackOverflow.

I believe the answer to your question is in a VBS+WMI script :)

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.