7 commands in CMD when working with the network in Windows

7 commands in CMD when working with the network in Windows

The Windows control panel offers a fairly limited list of possibilities to control the network. If you need access to all of the teams that can offer your system, you should start to use the command line. Don’t worry if you’ve never used command line before. It’s pretty simple. Below you will find some of the most important commands to configure your home network.



The entrance to the command line can be done in different ways provided by the system. In different versions of Windows access the command line may slightly change its location, therefore, examples will be given for the most popular OS versions.

The fastest way to enter the command string is input via button Start. Click right-click button Start and search for the item “Command prompt” and “Command prompt (Admin)”. In some versions of Windows command prompt can be replaced by the add-in Windows PowerShellthat extend the capabilities of normal command-line.



Another way of launching command-line is the call through the function Run. To call Run press the key combination Win+R and enter the command cmd. Note that in this case the command line will be started in normal mode and not as administrator.

Another way to invoke the command line is its invocation through the search Start

This should go in search and enter “cmd” or “Command prompt” (with the introduction of even a partial phrase will be given the appropriate option) and then select the option start by clicking the icon PKM.

This method is perfect for users Windows 8 and 8.1where you should perform similar actions in the search bar.

To find the command line in Windows 7 just go to the menu Startto choose “Program”, The “standard”where you also need to run the utility as administrator.

1. Ping

Ping is the most simple, yet useful network command at the command prompt. Ping checks whether your computer can reach a certain IP address or domain name, and if so, how long it takes data to get there and back.

Command sends several data packets and keeps track of how many of them come back. If some of them don’t return, you will receive a message about “lost” package. Packet loss leads to poor performance for online games and streaming.
By default, Ping sends 4 packages, each of which waits 4 seconds before timeout. To increase the number of packages, type:

ping need an address -n 10

You can also increase the timeout duration (value in milliseconds):

ping need an address -w 6000

Instead of “need an address“enter the desired IP address or domain name.

2. The Tracert Command

Tracert stands for Trace Route. If ping sends a packet of data to verify that your computer has access to a specific node, then Tracert displays a summary line for each transition, including the delay between you and this particular transition and the IP address of this transition (plus the domain name, if available).

3. The Pathping Command

The Pathping command like tracert, but it gives much more information and, accordingly, takes longer. After sending the packets from you to a given destination, Pathping analyzes the selected route, and calculates the packet loss based on each jump.

4. The Ipconfig Command

By default, the Ipconfig command displays all the network adapters in the system. The most important are information about the IPv4 address and default gateway, see wireless LAN adapter and Ethernet adapter.

To flush the DNS cache will apply the setting flushdns:
ipconfig /flushdns
Clearing the DNS cache can help when your Internet is working, but a certain web site or server is unavailable for some reason (e.g., waiting time of the web site expires and is not loaded).

5. Command Getmac

Every device conforming to the IEEE 802 standards, has a unique MAC address (Media Access Control). The manufacturer assigns the MAC address and stores them in a hardware device. Some people use MAC address to limit which devices can connect to the network.

You can see multiple MAC addresses depending on how many network adapters in your system. For example, a Wi-Fi connection and Ethernet will have separate MAC addresses.

6. Nslookup

Nslookup stands for search name servers. For ordinary people, its main use is the definition of the IP address behind the domain name.

Please note that some domain names are not tied to a dedicated IP address, which means you can get different IP addresses each time you run the command. It is normal for large web sites because they distribute the load on different servers.

7. The Netstat Command

Netstat is for network statistics, diagnostics and analysis.

By default, the command shows all “the active compounds“in your system, regardless of whether these connections in a local network or the Internet. An active connection does not mean that data is being transferred, but simply to show the port is open and ready to accept connection.
Regular users of Netstat can be useful to view information about ports, when need to do their redirection.

Source: Yandex.Zen and https://recovery-software.ru/


54 Views

0 0 vote
Article Rating
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments


Do NOT follow this link or you will be banned from the site!
0
Would love your thoughts, please comment.x
()
x

Spelling error report

The following text will be sent to our editors: