|
| |||||||||
| Tags: batch file, process, windows xp |
![]() |
| | Thread Tools | Search this Thread |
|
#1
| |||
| |||
| End Multiple Processes With The Help Of Batch File
Hello, I am using Windows xp operating system on my computer and want to know the steps for creating batch file which will simply end multiple processes which are running on my computer. How can I create such file? What are the contents to be added to create it? If this is possible then please provide me some help regarding that. |
|
#2
| ||||
| ||||
| Re: End Multiple Processes With The Help Of Batch File
I Don't have more knowledge about the Batch files, but you can use following small application to end multiple processes from your computer when you want. So, you can use one of it.
|
|
#3
| ||||
| ||||
| Re: End Multiple Processes With The Help Of Batch File
You need to use the following script to end multiple processes from your windows xp" Code: @echo off net stop "Automatic Updates" net stop "Computer Browser" net stop "Event Log" net stop "Network Connections" /y net stop "System Event Notification" net stop "Task Scheduler" net stop "System Restore Service" /y taskkill /F /IM Dap.exe /IM WLM.exe /IM dllhost.exe /IM Wisptis.exe /IM WLM.exe /IM iexplore.exe /IM wmiprvse.exe /IM Explorer.exe /IM DKService.exe /IM alg.exe /IM phasma3.exe /IM wmiprvse.exe /IM qttask.exe mem.vbs mem.vbs taskkill /F /IM cmd.exe |
|
#4
| ||||
| ||||
| Re: End Multiple Processes With The Help Of Batch File
I am using process killer for the same process. Process Killer is a very useful system utility, which helps its users to end desired system processes easily and comfortably. Sometimes a user can notice some problems in his computer like system slowdown, programs not responding and system hang phenomena. These problems are mainly caused when some of the processes consume a large portion of the computer’s CPU and memory. It is powerful and simple to use. So, you can also use it. |
|
#5
| ||||
| ||||
| Re: End Multiple Processes With The Help Of Batch File
You can simply do the same with the help of command prompt. You just need to know the process which you want to stop. Suppose that you want to stop the Notepad from your computer then you can type the command below on your command prompt and stop the Notepad: Code: taskkill /IM notepad.exe |
|
#6
| ||||
| ||||
| Re: End Multiple Processes With The Help Of Batch File
You need to use the following format to create you batch file: Code: @echo off net stop "<Process Name>" taskkill <process name> |
|
#7
| ||||
| ||||
|
Hello guys, I have found a simple way to kill a task using the batch file...... it is as follows, the command is "taskkill" you can do this by, 1. Knowing the PID of the process 2. Knowing the image name of the process For example, If you want to end the notepad, then command is "taskkill /im notepad.exe where "im" is the image name of the process. i.e. notepad you can also end any process by using its PID also. the eg for this is, "taskkill /pid 5264" where pid is process identifier and it may be 5264.... if you want to know the process name and process id, then u can see it in task manager. if pid is not displayed then go to view>select columns>process identifier in task manager.. you can also force to end the process so as not to display any message box . you can do it by, adding the /f command to it...... note that /f should be given as, "taskkill /f /im notepad.exe you can also enter any number of within a single command....... to do so, enter as, "taskkill /im program1 /im program2 /im program3 and so on" or use the pid of the process in the same way....... if you have any doubts you can type "taskkill /?" in command prompt to view the help..... try it out......... discover things......... share your thoughts........ ![]() |
![]() |
|
| Thread Tools | Search this Thread |
| |
Similar Threads for: "End Multiple Processes With The Help Of Batch File" | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Multiple commands in batch file loop | mrgou | Vista Help | 9 | 26-04-2011 09:04 PM |
| how can i create a Batch file to kill some processes by name | Hansel Ortiz -[BrEcHaWarr] | Windows Server Help | 5 | 20-04-2011 06:11 PM |
| Autorun CD using Batch file for Multiple Executables | DANIEL 602 | Windows Software | 5 | 19-01-2010 09:54 PM |
| batch file to split multiple text files in half. | yammyguy | Windows Server Help | 8 | 11-05-2009 07:19 PM |
| Multiple commands for a batch file in a for loop? | SANDESH49 | Software Development | 2 | 17-02-2009 07:03 PM |