Logo
programming4us
programming4us
programming4us
programming4us
Home
programming4us
XP
programming4us
Windows Vista
programming4us
Windows 7
programming4us
Windows Azure
programming4us
Windows Server
programming4us
Windows Phone
 
Windows XP

Troubleshooting Network Problems : Working with Network Diagnostics

- Free product key for windows 10
- Free Product Key for Microsoft office 365
- Malwarebytes Premium 3.7.1 Serial Keys (LifeTime) 2019
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
 
 
Top 10
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 2) - Wireframes,Legends
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 1) - Swimlanes
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Formatting and sizing lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Adding shapes to lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Sizing containers
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 3) - The Other Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 2) - The Data Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 1) - The Format Properties of a Control
- Microsoft Access 2010 : Form Properties and Why Should You Use Them - Working with the Properties Window
- Microsoft Visio 2013 : Using the Organization Chart Wizard with new data
 
programming4us
Windows Vista
programming4us
Windows 7
programming4us
Windows Azure
programming4us
Windows Server