Logo
Windows XP
Windows Vista
Windows 7
Windows Azure
Windows Server
Windows Phone
EPL Standings
 
 
Windows XP

Troubleshooting Network Problems : Working with Network Diagnostics

12/2/2011 3:43:26 PM
If you suspect you’re having network trouble—such as computers on the network not being able to see each other or file transfers or other network activity behaving erratically—but you aren’t sure, one easy way to find out is to run the Network Diagnostics utility. This is a Help and Support Center connectivity troubleshooting tool that can help you isolate network problems.

To get started, use any one of the following techniques:

  • In the Network Connections window, click the task pane’s Network Troubleshooter link, and then click the Diagnose Network Configuration and Run Automated Networking Tests link.

  • Select Start, Help and Support, click Fixing a Problem, click Networking Problems, and then click the Diagnose Network Configuration and Run Automated Networking Tests link.

  • In the System Information utility (Start, All Programs, Accessories, System Tools, System Information), select Tools, Net Diagnostics.

  • In a Command Prompt window, enter the following command:

    								netsh diag gui

Network Diagnostics operates by performing three different actions:

PingPings various objects to check for basic connectivity. For example, Network Diagnostics pings the loopback address (127.0.0.1), your IP address, the default gateway, the DHCP and DNS servers, and more.
ConnectAttempts to connect to certain servers, such as your Internet mail and news servers.
ShowDisplays information about various objects, including your network adapters, network clients, DHCP servers, IP addresses, modems, and more.

Setting Scanning Options

To specify which of these actions are performed on which objects, click the Set Scanning Options link in the Network Diagnostics window. You see the Network Diagnostics window shown in Figure 1. You have two ways to proceed:

  • In the Actions section, activate the check box beside each action that you want Network Diagnostics to perform.

  • In the Categories section, activate the check box beside each object that you want the actions performed on. (Note, however, that not all actions are performed on all objects. For example, the Connect action is performed only on the mail and news server and the Internet Explorer proxy server, if one exists on your network.)

Figure 1. Click the Set Scanning Options link to see the list of Network Diagnostics options.

When you’re done, click Save Options.

Running Network Diagnostics

To start the Network Diagnostics scan, click the Scan Your System link. Network Diagnostics displays the progress of the scan, as shown in Figure 2.

Figure 2. Network Diagnostics shows the progress of the scan.

When the scan has finished, you’ll see the results in a window similar to the one shown in Figure 3. Open the branches to see more detailed objects and the actions that Network Diagnostics performed on them. Look for FAILED in red type to see where possible problems occurred.

Figure 3. The results of a Network Diagnostics scan.



Running Network Diagnostics from the Command Line

You can also run network diagnostics during a Command Prompt session using the NETSH (Net Shell) utility.

For the ping action, you use the following command:

netsh diag ping object

Here, object is a parameter that specifies the object you want to ping. You can either specify an IP address or hostname, or you can use the built-in object names listed in Table 1.

Table 1. The object Parameter’s Built-in Names for the ping Action
NamePings
adapterThe network adapter
dhcpThe DHCP server
dnsThe DNS server
gatewayThe default gateway
ieproxyThe Internet Explorer proxy server
ipThe computer’s IP address
loopbackThe loopback address (127.0.0.1)
mailThe default mail server defined by Outlook Express
newsThe default news server defined by Outlook Express
winsThe WINS server

For example, the following command pings the default gateway:

netsh diag ping gateway

For the connect action, you use the following command:

netsh diag connect object

Here, object is a parameter that specifies the object you want to connect with. You can either specify an IP address or hostname, or you can use the built-in object names listed in Table 2.

Table 2. The object Parameter’s Built-in Names for the connect Action
NameConnects With
ieproxyThe Internet Explorer proxy server
mailThe default mail server defined by Outlook Express
newsThe default news server defined by Outlook Express

For example, the following command attempts to connect to the mail server:

netsh diag connect mail

For the show action, you use the following command:

netsh diag show object

Again, object is a parameter that specifies the object you want to display information about. You can use the built-in object names listed in Table 3.

Table 3. The object Parameter’s Built-in Names for the show Action
NameShows Information For
adapterThe network adapter
allAll the objects in this list
clientThe installed network clients
computerThe computer
dhcpThe DHCP server
dnsThe DNS server
gatewayThe default gateway
ieproxyThe Internet Explorer proxy server
ipThe computer’s IP address
mailThe default mail server defined by Outlook Express
modemAll installed modems
newsThe default news server defined by Outlook Express
osThe operating system
testAll the objects in this list; also performs all the actions in the Ping and Connect categories
versionThe Windows and WMI (Windows Management Instrumentation) versions
winsThe WINS server

For example, the following command shows information for the network adapter:

netsh diag show adapter
Other -----------------
- Troubleshooting Network Problems : Repairing a Network Connection
- Visual Basic 2008 : Using FTP in the Service (part 2)
- Visual Basic 2008 : Using FTP in the Service (part 1)
- Windows Presentation Foundation in .NET 4 : Introducing WPF - The Architecture of WPF
- Windows Presentation Foundation in .NET 4 : Introducing WPF - Resolution Independence
- Windows Presentation Foundation in .NET 4 : Introducing WPF - The Evolution of Windows Graphics & A Higher-Level API
- Silverlight and ASP.NET : WCF Services and Silverlight
- Silverlight and ASP.NET : Integrating with HTML & Animations
- Silverlight and ASP.NET : Silverlight and Layout
- Silverlight and ASP.NET : Adding Silverlight Content to a Web Page
- Silverlight and ASP.NET : XAML
- Silverlight and ASP.NET : Creating a Silverlight Application
- Microsoft ASP.NET 4 : Developing a Web Part
- Microsoft ASP.NET 4 : The Web Parts Architecture
- Microsoft ASP.NET 4 : Handlers and Session State & Generic Handlers (ASHX Files)
- Microsoft ASP.NET 4 : HTTP Handlers - Handlers and IHttpHandler
- Microsoft ASP.NET 4 : HTTP Handlers - The Built-in Handlers
- Microsoft ASP.NET 4 : ASP.NET Request Handlers
- Microsoft ASP.NET 4 : HttpModules (part 2) - Seeing Active Modules & Storing State in Modules
- Microsoft ASP.NET 4 : HttpModules (part 1) - Existing Modules & Implementing a Module
 
 
Most view of day
- Administering an Exchange Server 2013 Environment (part 6) - Introduction to Role Based Access Control
- Windows Server 2003 on HP ProLiant Servers : Logical Structure Design (part 5) - Trust Definitions
- Windows Phone 7 : Running Silverlight Projects in the Browser (part 1)
- Adobe Dreamweaver CS5 : Using Library Items and Server-side Includes (part 2) - Using the Library Assets Panel - Inserting a Library item in your Web page
- Microsoft Access 2010 : Using Reports to Print Information - Printing a Report
- Windows Server 2012 : Managing Users with Local Security and Group Policies (part 2) - Configuring and Optimizing Group Policy
- Windows Server 2008 : Configuring Server Core after Installation (part 1) - Installing Server Core
- SQL server 2008 R2 : Reverting to a Database Snapshot for Recovery
- Automating Windows 7 Installation : Capturing an Image Using ImageX
- Microsoft Visio 2010 : Creating Web Pages from Visio Drawings (part 3) - Fine-tuning Web Pages and Battling Bugs - Customizing Web Page Output
Top 10
- Windows Server 2012 : DHCP,IPv6 and IPAM - Exploring DHCP (part 3) - Creating IPv4 DHCP Scopes
- Windows Server 2012 : DHCP,IPv6 and IPAM - Exploring DHCP (part 2) - Installing DHCP Server and Server Tools
- Windows Server 2012 : DHCP,IPv6 and IPAM - Exploring DHCP (part 1)
- Windows Server 2012 : DHCP,IPv6 and IPAM - Understanding the Components of an Enterprise Network
- Microsoft OneNote 2010 : Using the Research and Translate Tools (part 3) - Translating Text with the Mini Translator
- Microsoft OneNote 2010 : Using the Research and Translate Tools (part 2) - Translating a Word or Phrase with the Research Pane
- Microsoft OneNote 2010 : Using the Research and Translate Tools (part 1) - Setting Options for the Research Task Pane, Searching with the Research Task Pane
- Microsoft OneNote 2010 : Doing Research with Linked Notes (part 2) - Ending a Linked Notes Session, Viewing Linked Notes
- Microsoft OneNote 2010 : Doing Research with Linked Notes (part 1) - Beginning a Linked Notes Session
- Microsoft OneNote 2010 : Doing Research with Side Notes (part 3) - Moving Side Notes to Your Existing Notes
 
 
Windows XP
Windows Vista
Windows 7
Windows Azure
Windows Server
Windows Phone
2015 Camaro