
You can enter this command into the PowerShell window or save it to a PowerShell script (.ps1) file that you can run from the Windows PowerShell ISE. Since we want to end all Chrome processes, we would use the -processname parameter combined with the process name: You can kill the process either by process name (minus the file extension) or by process ID. This will allow you to terminate all processes in one command. Within PowerShell, there is the Stop-Process Cmdlet. However, there is a faster way using either a PowerShell command or Windows Batch (.bat) file. To terminate these remaining processes you can right-click them in the Task Manager and select End task. So when it comes time to close these browsing sessions it is not uncommon for Chrome to leave behind several zombie processes in the Windows Task Manager. It certainly does not help either that Google Chrome spawns 10+ processes for any given browsing session. When using the Google Chrome browser with of mix of normal and incognito windows, long-running sessions with multiple tabs can sometimes chew up a lot of memory. You can use the process ID (/PID), but this would make the script useless to run again.This article is also available on the Microsoft TechNet Wiki. The IM is telling Windows to use the Image Name to find the process to terminate it. Note : The F attribute is to tell Windows to forcibly terminate the process. It will return an error saying it cannot find the files, but will not crash and just move on to the next file. It’s ok if any of those process are not running. Enter as many lines as needed with the following format : TASKKILL /F /IM “”.bat extension so Windows will recognize it as a batch file Step 2 : Create and Setup your batch file If there is a *32 at the end of the process, ignore it. Find your process and copy the Image Name.

Right click the task bar and select Start Task Manager.If you do not know the name do the following : Step 1 : Find the name of the process you need to killĬompile a list of the processes you need to kill. Ever need to kill tasks multiple times from the task manager and would like to make a quick batch file to do it? Here is a quick and easy way to automate the process and save you some key strokes in the future.
