Troubleshooting Network Connections with Netsh

Written by on Monday, March 3, 2008 7:10 - 0 Comments

Netsh is a very simple to use command-line utility that can make troubleshooting connectivity issues a breeze.

Netsh is a very powerful command line utility that can be used to configure dozens of various network related settings. This utility also has a lot of value when it comes to network connectivity troubleshooting as well.

One of my favorite commands to run on a computer that has suspected network problems is “netsh diag gui”. This command when run will present a nicely formatted html page that can be used to run a complete network status scan on a computer. This report displays everything from network addresses, associated DHCP servers, server roles, and Outlook settings. There really isn’t too much network related information that can’t be obtained from this netsh command.

Another of my favorite netsh troubleshooting commands is one I often use on machines that are heavily infected with spyware. This spyware often tends to find ways to mess up the TCP/IP stack and therefore cause very strange and erratic network communication problems. When this happens netsh provides two commands that can help you out. The first of these commands is “netsh winsock reset”. Running this and then restarting your computer will usually yield positive results as it is designed to rebuild the TCP/IP stacks Winsock catalog. This catalog is often the source of spyware related network issues. If for some reason this doesn’t work, netsh provides functionality that will allow for a complete rebuild of the TCP/IP stack. To do this, you can type “netsh int ip reset” at a command prompt. Following this, you should restart your computer.

A combination of these commands should provide a very valuable resource for your troubleshooting toolkit. ')}

Article written by

Leave a Reply

You must be logged in to post a comment.

2003 server - Sep 30, 2008 22:34 - 0 Comments

instant messaging srv records

More In Computers & PC

Microsoft Outlook - Mar 22, 2009 11:22 - 0 Comments

Outlook: Duplicates in Mailbox

More In Computers & PC