Sometimes certain programs keep crashing due to which we need to press Ctrl+Alt+Del and start the task manager and then kill the process. In certain cases the process doesn’t die. It takes a lot of time to be killed. Here’s a small tip that I found on technixupdate which allows you to kill a particular process from a desktop shortcut.
How to create a desktop shortcut to kill a process?
1. Firstly, right click on anywhere on desktop and create a new shortcut by selecting New> Desktop shortcut.
2. Now, copy and paste the following path in the target box
C:\Windows\System32\taskkill.exe –f –im <process name>
C:\Windows\System32\taskkill.exe –f –im opera.exe
In this command, Opera is targeted and hence ‘opera.exe’ is entered. You may enter any other program name that you would like to kill.
3. Give a name to your shortcut and click Finish.
a. –f is for force kill and –im is to kill all instances of any process
b. Press ctrl+shift+esc to open the task manager. To know the process name for any program, have a look at the program under the Process tab.