Windows 11 is based on a large set of processes so that everything works perfectly, if any of these processes presents errors, we face situations such as Sudden system crashes, System or application access errors and Computer restarts. A process in Windows 11 is integrated into a program that is running and its action starts from the moment the application is opened. Therefore, the importance of a process working properly so that everything goes well. In Windows 11, the task manager is offered as a utility to access the tasks executed on the computer both in real-time and in the background and thus keep precise control of them. We will discuss how you can Force Quit a Program either from Task Manager or from CMD.
Identify failed processes in Windows 11
It is one of the most important tasks to carry out because it will be possible to detect which process punctually affects the performance of the equipment.
The first thing is to see the active processes in Windows 11, we open the Task Manager from the Start menu.
In the “Processes” tab it is possible to see the active processes in Windows 11.
Processes are made up of the following sections:
- Applications: we will see all the applications and programs currently open or executed
- Background processes: allows access to the processes that are being executed in the system and in turn allows another process to be executed without being visible (background), some of them consume high system resources
- Windows processes: there we find the processes with exclusive tasks of the operating system
In the “Details” tab we will have access to more specific data of each active process in Windows 11. This tab gives us information such as:
- Name of the process
- Associated PID
- History of applications that have used that PID
- Current status of the process
- The username used by the process
- Used architecture
- CPU and RAM usage
- Explorer.exe: this is a process that offers the desktop environment, taskbar, menus, etc.
- Svchost.exe: is a common process that has the host task for processes that run from DLL or EXE
- Mstask.exe: is a process that schedules the tasks and makes them ready to be executed according to the configuration
- Winlogon.exe: as its name implies, it is the process in charge of logging in and out of Windows 11
We go to the Task Manager > Processes tab, where we click on the desired column to see which process consumes more resources locally. Note that the Task Manager highlights with darker tones the processes that have a high consumption of CPU, disk, network, memory, etc. This is the simplest way to detect failed processes in Windows 11.
Ways to Kill a Process in Windows 11
Method 1: Through Task Manager
- If we detect any that affect performance in Windows 11, we will right-click on the process and select “End task”.
- The process will be closed releasing the affected resource. But extra to this, we have additional options depending on the selected process, these are:
1. End task: as the name implies, ends the selected process
2. End process tree: this option ends the process and all processes associated in some way with it.
3. Set Priority: This allows you to define the importance of this process over the others from low to high.
4. Analyze wait chain: used to determine if the process is stuck waiting for another process to finish or this is the cause of the errors.
5. UAC virtualization: linked to UAC-User Account Control, it is an option to change the virtualization of the process.
6. Create Dump File: This is a method of debugging crashes in the process.
7. Open file location: As indicated, allows you to go where the executable file is located.
8. Search online: makes use of the web to obtain information on the selected process.
9. Properties: gives us details of the complete properties of the selected process.
10. Go to service or services: open the Services tab of the task manager.
Method 2: Using Command Prompt
The CMD console or Command Prompt is key to kill a process in Windows 11 thanks to its different options.
- For this, we open CMD as administrator.
- First, we list the processes by entering command the tasklist
- We can see details such as:
1. Process name (Image)
2. Associated PID
3. Session name used
4. Number of sessions, there 0 indicates Services and 1 Console
5. RAM memory usage.
To end a process we will use the taskkill command, basically, this command ends tasks using its PID or the image name. The options to use are:
/ S system: allows you to indicate the remote system to connect
/ P [password]: refers to the password for the selected user
/ PID processid: indicates the PID of the process to terminate
/ T: terminates the indicated process and all child processes that have been started by this process
/ F: forcibly terminate the process
/ ?: displays the help message
Now end a process with the name of this application:
taskkill / IM app.exe (for example taskkill / IM mspaint.exe)
Also, it is possible to force close the process by PID:
taskkill / PID ### / F (for example taskkill / PID 201 / F)