In Windows, what are some networking commands I can use from the command prompt?
Note: UITS recommends that you use a current version of Windows on computers connected to the Indiana University network; see For Windows computers on the IU network, why does UITS recommend Windows 2000, XP Professional, or Vista Enterprise or Ultimate? Security features on the IU network prevent computers running older operating systems from authenticating to ADS, printing to some network printers in departments and campus housing, and mapping drives to other computers.
Some useful networking commands you can enter at the command prompt include the following:
| net | Used to start, stop, and view many networking operations
Note: |
|---|---|
| ipconfig | Displays the IP address and other TCP/IP configuration information for your workstation |
| hostname | Displays the Microsoft networking computer name |
| lpq | Displays the print queue status of an LPD printer; available only in Windows NT, 2000, and XP |
| ping | Verifies existence of remote host (connectivity) |
| nbtstat | NetBIOS over TCP/IP; gives statistics and technical NetBIOS information for the TCP/IP layer |
| netstat | Returns protocol statistics and current TCP/IP connections |
| ipxroute | Displays and modifies IPX routing tables |
| route | Manipulates TCP/IP routing information |
| tracert | Displays route taken by an ICMP to a remote host |
| finger | Displays information about the user;
finger is turned off in IU's ADS Domain.
|
| arp | Displays or modifies information in the ARP (Address Resolution Protocol) cache |
| getmac | Lists the MAC (Media Access Control) Address on the computer network interfaces; available in Windows XP and Vista only |
For more information on the use of these commands, append
/? to the command name in question. For
example, entering ping/? will provide more information
on the ping command.
Also see:
- In Windows, how do I check my computer's IP address?
- In Windows, what is traceroute and how do I use it?
- In Windows, how can I ping an IU computer from outside the IU network?
- What is ping?
- In Windows, how do I see all listening network ports?
Last modified on June 09, 2008.






