Command Prompt

Using the command prompt is a fast and efficient way of locating vital information on a wide array of components and devices for your computer and will often be faster than searching the windows control panel.

Checking Local Area Network Information

One of the most common commands run at the command prompt is ipconfig /all. This command gives you all the detailed information of your network adapter.

Type CMD in your start menu.

ipconfig /all

Type ipconfig /all and press the enter key.

All the info on your network adapter is displayed.

(Note that in some cases you may have to right + click cmd and Run As Administrator.)

Renaming Files & File Types

Using the command prompt to rename files is a fast and efficient way to convert file types. For example, I created a hosts file on my desktop, as the host file in the dir C:\Windows\System32\drivers\etc is not directly editable. Once I created the file it was created using a txt file extension. To change this do the following.

Type CMD in your start menu

Type dir and then type CD Desktop to change directories to your desktop – Path C:\Users\Username\Desktop

Type rename filename and then filename + new extension and press enter – Example: hosts.txt rename hosts – You will notice the file name changed and now has the new extension you gave it.

Check Communication Using PING

The following are the steps to ping addresses to check if you’re formulating a connection to internal and external addresses.

Type CMD in the start menu.

Type ping and the address name as an Example – www.google.com or an IP address like 8.8.8.8

If you see general failure you will know your connection is timing out before reaching its destination.

Checking Route of Communication

In these steps, I give examples of the DOS command tracert. Tracert is a good way to determine the route of an IP address and determine if there is packet loss or finding the physical location of a specific address.

Type cmd in your start menu.

Type tracert then the address Exampletracert www.google.com or 8.8.8.8

 

Checking Running Process Communication

In the following steps I give examples of the netstat command, this command shows all connections to your PC and can be very useful in locating unwanted or unneeded connections as well as open ports. Your results will undoubtedly differ from mine but it gives you a good way to lock down any open ports.

Type cmd in your start menu.

Type netstat to list your connections.

(Note – Under netstat help command you can find a list of additional options for limiting or expanding the view of ports listed in netstat, protocols, address information, etc.)