10 useful Windows command line prompts you should try

While you can always use the Windows 11 Settings app or Task Manager for common tasks in Windows, Command Prompt also has some nifty shortcuts.

These days, you can get used to going into Windows 11’s Update program or Task Manager for things like checking your disks and killing unwanted programs. But, before we had a nice user interface on Windows, you had to use the Command Prompt and the command line.


Even in 2023, the Command Prompt is still essential to the daily use of Windows for many IT administrators and professionals. There are many useful commands that you can use to fix problems with your PC, check the performance of your PC, and manage files and directories. I’ll be looking at my top 10 favorites right now.

1 Tasklist

My list starts with Tasklist. This is one of the easiest commands you can use in Command Prompts. What it does is work as a kind of Task Manager. It records every simple task that is running on your laptop or computer. The first field gives you the name of the image (the name of the application), the second is the ID, the third, the part type, and the last, the memory usage. To use it, just enter:

Task list

At any time, you can kill the job with the additional job command /PID PID # here /F.

Also Read:  Air cooling vs water cooling: Which is the best option for you?

2 khdsk

Next is Chkdsk. You will need administrator privileges for this command, but I use this command to check for disk errors. If you find that your PC is running slow or giving you problems, you can use this command to check if the disk has errors. This was very useful back in the day when HDDs were very common as primary drives for computers and laptops. Chkdsk will fix problems with the master file table (MFT), bad security descriptors associated with files, or incorrect time stamps or file size information on individual files. You can download the command below:


3 Sfc /scannow

My third command that I use the most is Sfc /scannow. This is a tool for checking system files. What this command will do is check the integrity of your operating system by looking at protected files. If your PC isn’t working properly, this is one of the first things you should try. This command is used when the user changes the required files.

Sfc /scannow

4 Diskpart

Next is Diskpart. When you enter Diskpart, you can use the List disk you can see any disk on your PC, and check how the storage is used or continue with the disk services. Think of this as a page based on the storage page in Windows. 11 app settings. After the first Diskpaet command, I type disk list to see a list of all drives connected to my system. Another useful command is to select the disk (followed by the disk number) and then clean it to clean the connected HDD or SSD so that it can be reformatted while using the interface.

Also Read:  How to install Jellyfin on a NAS


5 words

Want to know what version of Windows you’re running? Ver is a simple command that will list the operating system version for you. It’s useful if you’re the technical type of person who likes to stay on top of build numbers and Windows releases.


6 System info

Related Ver is Systeminfo. With this command, you can see everything about your system. You will see memory, memory, network cards, Hyper-V interface, your computer manufacturer, processor, or even when Windows was first installed. Again, it’s great for tech people who need to share this information.


7 Ipconfig

Want to know your IP address? Ipconfig is the home of the Internet connection service for Windows. Lists the networks you can connect to, subnets, gateways, and other network requirements. I usually use this to get information about my network adapters, and my router.


8 Ping

More about ipconfig and ping. This is one of the most important commands in the command line if you want to see the connection between two hosts. It will also detect lost packets, too. I use it to check the internet connection, and the status of websites, but you can call any computer on any server to try to connect to them using their IP address.

ping google.com

9 Assoc

Do you need to check which file type is associated with which extension? That’s what the assoc is for. You will see the readings of every file in use on your PC. You can also type the extension file at the end to see which file is associated with it. In the example below, typing assoc.doc calculates that this is a Microsoft Word document. Or assoc.html read that this is an HTML file. Very important, but useful, too.

Also Read:  Mouth-watering deal knocks $200 off Sennheiser HD 800 S headphones


10 Help

Not sure how to use Command Prompt? That’s what help is. When you open the program and type this command, you will get a list of commands that you can use on your PC. Most of the ones mentioned already exist. It is a good place for beginners.

Help me

There are many!

Although I chose to highlight 10 of my favorite Command Prompt commands, there are many more that you can use. For example, did you know that you can use logoff to shut down your PC? Or how about Shutdown/s to shut down your PC? And maybe even shutdown / r / fw boot in your BIOS? There are many more rules I could share, but this list should get you started. Tell us what you like!

Categories: Reviews
Source: thptvinhthang.edu.vn