10 Most Useful Windows Command Prompt Commands

Although the Windows operating system has gained popularity due to its windowed interface, the command line still exists and remains in demand. With its help, you can solve many problems, and the ability to create batch files often allows you to solve some problems more efficiently than in the graphical interface.

Read this material about the Windows command line if you don’t know what it is and how to use it. To use some commands, you need to run CMD with computer administrator rights; you can find out how to do this there.

In this article, we will look at some of the most useful and popular commands for ordinary computer users available in the command-line arsenal. We will not consider in detail the capabilities of each command given; all information is available via the links provided and in the help.

Windows Command Line Commands


If you want to know the availability of a server on a local network or the Internet, as well as the response delay time , this is what you need. Enter the IP address or domain after it and requests are sent to the specified address, and the result is analyzed.

ping madankc.com.np

If the packets are not returned, then the server is unavailable, and the number of lost packets allows us to evaluate the quality of the connection. There are many additional parameters that expand its capabilities.


Similar to the previous one, it shows the route along which the packets go and statistics for each node separately.

pathping madankc.com.np

3. Tracert

It shows the data path in the form of network nodes between your device and the destination. It allows you to identify a problematic node that is not responding or running slowly. For example, the provider’s equipment is to blame, or there is a problem further along the route. The recording format is similar; the command is followed by an IP address or domain name.

tracert madankc.com.np


Allows you to view information about the available Internet adapters on your computer and their settings. Using additional parameters allows you to get more detailed information or perform certain actions, it /flushdnsclears the DNS cache, which can be very useful if incorrect data is stored there and sites do not open.

ipconfig /flushdns

5. Certutil

This utility can do a lot of things, but we are interested in its ability to calculate the hash of a file in the Windows command line . This allows you to do this on any computer without having to install additional programs.



Scans protected Windows system files for damage or changes and restores them, if necessary, from special storage. Requires an administrator to run. How to use the sfc command is discussed in detail at the link.


7. Chkdsk

Scans the hard drive file system for logical and physical errors, and when using the appropriate parameters, automatically corrects bad sectors. The process is not fast, and due to the nature of the command, the volume is required to be locked, so it is often necessary to restart the computer to carry out the scan. Administrator rights are required to run.


8.System info

It displays various information about your computer’s configuration, such as the operating system version, motherboard, processor, available RAM, installed updates, Windows installation date, and more. It also allows you to obtain this data from another machine on the network if you have the appropriate rights.


9. Tasklist

In essence, it is similar to the Task Manager and displays a list of all processes and services running on the computer, including on the remote machine. Additional parameters and filters allow you to obtain information in a more detailed form or display only information that is of interest at the current time. Some viruses and other programs may try to hide their presence in the Task Manager, and this command can help detect them.


10. Taskkill

Allows you to terminate running processes or tasks by their identifier (PID) or image name. You can get this data using the previous command. Can be useful in bat files and when closing frozen programs.

Perhaps you have a different list of the most frequently used commands; everything here is quite individual and depends, among other things, on the tasks you solve. Such simple options as CD and DIR were not taken into account, and ordinary people usually do not do copying, renaming, and deleting using CMD.


Read More : 52 BDCOM FAQ , Best FAQ