Windows 11: Use network commands for Windows 11
The standard installation of Windows 11 and the previous versions includes a whole range of utilities for network configuration, LAN management and network monitoring. However, many of these tools, which are very useful in everyday networking, lead a shadowy existence: Either they can only be used manually via the command prompt, or they have a graphical Windows interface, but still do not appear in the Windows 11 start menu.
An example of this is the useful network utility “perfmon.exe“(” Performance monitoring “) – despite the graphical user interface and an extremely gigantic range of functions. With the complex analysis program, you can measure the performance of a large number of system components, from the processor to the data carrier to the network performance Operator guidance via so-called system indicators, which is confusing at first glance, can also be easily used by less experienced users.
To measure the network performance on your server or client PC, start the tool after entering perfmon via the Windows search and click on the corresponding hit. In the program click on “Monitoring Tools -› Performance Monitoring “. Click the green plus sign. In the following window, leave “
To display the network performance, we recommend the items “Current bandwidth”, “Bytes sent / s”, “Bytes received / s” and the “Total number of bytes / s”. The easiest way to find the best combination of indicators for you is to try it out. After clicking on “Add”, the marked performance indicators appear in the right-hand window area. Under “Instance” take over the network card and confirm with a click on “Ok”. If other performance indicators are active in the window, you should temporarily hide them. To do this, remove the check mark in front of the entry in the lower window area.
To determine whether the network connection between the PCs is working, use the command line program “ping”. It sends some data packets to the desired destination address and waits for confirmation of receipt. This ensures that the network cards are installed correctly, the network cables and the switch are correctly connected and the IP addresses are correctly entered. Open the Windows 11 command prompt using the key combination Windows + R and entering cmd. Confirm with the Enter key. Type the command
and complete with Enter. 127.0.0.1 is always the IP address of the PC on which the entry is made. So you are doing a self-test with it. Ping sends four data packets with 32 bytes each and waits for the answer. A small log lists the returned data packets.
It is important that the number “0” (zero) appears in the summary for “Lost”. It is not uncommon for individual packets to be lost on the Internet, but this should not happen in a network. Repeat the self-test on all PCs. After the self-test, check the connection between the PCs. To do this, transfer the IP address of another PC in your network to ping as a parameter. So when you sit at the computer with the IP address 192.168.178.2, the input is sent
several data packets to another PC. In the log you can see again whether everything went well. In this way, test all PCs on the network.
The diagnostic tool “tracert“(Traceroute) determines the route of data packets to a destination by sending ICMP echo packets (Internet Control Message Protocol). The utility comes – like ping and some other Windows network tools – from the Unix world. Tracert, the short form for traceroute, lists all stations (hops) between your PC and the target computer. In a small local network, the use of this tool makes only limited sense, since the data packets usually always take the shortest route tracert Information about how fast an Internet server is connected from your point of view. To use the tool, enter tracert in the command prompt, followed by the desired server name, for example
By default, the utility lists the first 30 hops. However, if a server is connected to the Internet via a particularly large number of intermediate stations, the number of preset sections may not be sufficient. In this case, you can use the “-h
Reset network settings in Windows 11
Are you having difficulties with the network and cannot solve the problem? Then reset the network. Windows 11 has a function with which you can uninstall and set up all network adapters in your computer with a click of the mouse. In addition, the existing network components are also reset to their original settings.
This helps, for example, if a PC in your LAN cannot be addressed or can only be addressed at very low speed. You can find the function in the Settings app. Go to “Network & Internet” and then to “Advanced Network Settings”. Click on “Reset network” and in the window that opens on “Reset now”. The PC then restarts and the network is freshly set up.
The command line tool informs you about your IP address and the settings for DNS (Domain Name System) and other parameters “ipconfig“. The program lists all currently valid values for the TCP / IP network configuration. It is particularly useful in networks that are automatically configured using the Dynamic Host Configuration Protocol (DHCP). The command shows you the IP address by default, the subnet mask as well as the standard gateway for each network adapter bound to the TCP / IP protocol and thus also copes with PCs with several network cards.With the parameter “/ all” the tool provides you with detailed information on the IP configuration and the existing ones Links.
ipconfig offers numerous other options that can be accessed via
display. For example, you can use the current TCP / IP configuration of your client
to get a new IP from the DHCP server, for example, and then enter the configuration parameters with
have it renewed again.
“netstat“. The tool shows you protocol statistics and all currently active TCP / IP network connections. So you can see at a glance which TCP / IP connections exist between your PC and remote hosts. Server connections are not displayed.
The “-a” parameter shows you all connections and listening ports, including those used by a Trojan running unnoticed in the background. The “-e” parameter, which provides you with brief Ethernet statistics, is particularly interesting for troubleshooting in the local network. This shows you how many bytes sent and received were incorrect and therefore discarded – at the expense of LAN performance. The command
divides the Ethernet statistics into the individual protocols TCP, UDP, ICMP and IP.
Since the output of netstat usually does not fit on a single screen page, you can use
netstat -e -s> ergebnis.txt
Force a redirection to the TXT file “Result.txt”, which you can view with any text editor. The page-by-page display with is also practical
The command “nslookupYou can use it to search for domain names or IP addresses. If you do not specify a name server, the tool uses the standard DNS server configured in the network, usually that of your provider. To query the IP address of the pcwelt domain .de give the command
a. If you want to search for several data elements, use the interactive mode. To do this, leave out the first parameter and optionally enter the address of a DNS name server. In interactive mode, nslookup remains active after a query and you can search for multiple data items in succession. Nslookup has options and parameters for this, which you can list by entering help. To exit interactive mode, type exit and press Enter.
Network monitoring via task manager
In addition to the performance monitor “perfmon.exe”, the task manager in Windows 11 also provides information on the network traffic for the connections of the local computer in the “Performance” tab. The graphical representation in the Task Manager (called up using the key combination Windows + X and clicking on “Task Manager”) provides a quick impression of the amount of network bandwidth used in the detailed views, but only provides a very rough overview. If you use several network connections, you can easily compare the data traffic of the individual connections.