Make sure that your computer or laptop is on and that the operating system is properly loaded. Go to “Start Menu”, click on "Accessories" and then click on “Notepad” to open it. Remember that these steps are designed for beginners so do not worry as you cannot damage your operating system by using these methods.
In notepad, write following lines of code.
@ echo off
taskkill /F /IM notepad.exe
Here /f is for force, /IM is to kill specific process by name.
It is used to close all the occurrences of an application. You can change the process name according to your needs.
Click on “File” that is present on the top left corner of your notepad window and then click “Save As” and save the file using “.bat” extension.
This will create a batch file that can be used anytime to kill the processes. Simple execute the file and you are done. To do this you just have to double click the file. Be sure to save this file somewhere you can remember like your desktop. This process is extremely useful especially if you find some malware causing havoc with your computer.
Although these instructions might seem complicated at first they are actually quite basic. If you experience any difficulties then go over the steps again and try not to skip any part. You can also go online and visit many different forums and websites that will help you get the job done quickly. There are many expert users on forums that will be happy to answer your questions or give you some tips or tricks. You may also find some information in the operating system 'Help' section. There are many topics covered and you will have to go through this section to find some answers to your questions.