Thursday, September 21, 2006

Troubleshoot Network Problems

If you want to diagnose network problems you usually start with ipconfig /all then you start ping-ing around. But next time try:
netsh diag ping adapter
This will start an automatic diagnose of all network adapters in the system. You can also test a specific adapter by using:
netsh diag ping adapter 1
Other helpfull commands are:

  • netsh diag connect mail - troubleshoots mail connection problems (using Outlook Express account settings).
  • netsh diag connect news - troubleshoots news connection problems (using Outlook Express account settings).
  • netsh diag connect ieproxy - troubleshoots proxy connection problems (using Internet Explorer settings.
  • netsh diag connect iphost server port (like netsh diag connect iphost www.google.com 80) - troubleshoots connection problems with the specified server on the specified port.
  • netsh diag gui - displays a window from where you can do a full network diagnostic.
  • netsh diag show adapter - displays all of the Adapters.
  • netsh diag show all - displays all categories.
  • netsh diag show client - displays all network clients.
  • netsh diag show computer - displays computer information.
  • netsh diag show dhcp - displays the DHCP servers for each adapter.
  • netsh diag show dns - displays the DNS servers for each adapter.
  • netsh diag show gateway - displays the default gateway servers for each adapter.
  • netsh diag show ieproxy - displays Internet Explorer's server name and port number.
  • netsh diag show ip - displays the IP address for each adapter.
  • netsh diag show mail - displays the mail server name and port number.
  • netsh diag show modem - displays all modems.
  • netsh diag show news - displays the news server name and port number.
  • netsh diag show os - displays operating system information.
  • netsh diag show test - displays all categories and performs all tests.
  • netsh diag show version - displays the Windows and WMI version.
  • netsh diag show wins - displays the primary and secondary WINS servers for each adapter.

No comments: