Subscribe to Windows IT Pro
May 27, 2003 12:00 AM

Simple Troubleshooting Tools

Windows IT Pro
InstantDoc ID #38939
Rating: (0)

Windows XP and Windows 2000 contain several basic troubleshooting tools. In addition to these built-in software utilities, I stock my toolbox with a cable scanner, a volt/ohm meter, and a tone generator.

Pathping
Pathping lets you verify that you can contact a host. From a command line, type

pathping <ip_address or host_name>

The results give you some basic information about packet loss.

Ipconfig
Use Ipconfig to display a workstation's IP configuration. From a command line, type

ipconfig /all

You can study the results to determine the following:

  • Verify that the workstation has a correct IP address and subnet mask. An incorrect IP address or subnet mask can cause connectivity problems.
  • If DHCP is enabled, verify that the workstation has leased an IP address. If you can't obtain an IP address, you might have a problem with the DHCP server.
  • Verify the default gateway. An incorrect default gateway can cause connectivity problems with remote networks or the Internet.
  • Verify the DNS server. XP and Win2K rely on DNS for name resolution. Generally, a workstation should point to a Win2K server for DNS.

Nslookup
Use Name Server Lookup (Nslookup) to check DNS entries on a DNS server. From a command line, type

nslookup

I use NSLookup to verify mail exchange (MX) records when troubleshooting Internet email delivery problems.

Route Print
The Route Print command displays the learned and static routes on the local machine. This utility is useful in conjunction with the Ping, Tracert, and Pathping commands to help you determine the route that packets are traveling. From a command line, type

route print

You can also use Route Add to enter static routes on servers and workstations.

Netdiag
The Netdiag command returns useful information about a machine's network configuration, including IP configuration, server name, default gateway test, Winsock test, DNS test, and lookback test. For the best results, make sure to bind TCP/IP to one of the network adapters on the server. The output from this utility is in netdiag.log.

Related Content:

ARTICLE TOOLS

Comments
  • TJ
    8 years ago
    Apr 20, 2004

    Good article, but examples with the necessary switches would add to the information given.

  • Aziz
    8 years ago
    Apr 03, 2004

    Good article, wished i there have been real examples enclosed next to each command.
    Best Wishes

You must log on before posting a comment.

Are you a new visitor? Register Here

advertisement

advertisement

Windows is a trademark of the Microsoft group of companies. Windows IT Pro is used by Penton Media Inc. under license from owner.