How to Kill the Task Manager With the Windows Command Line

Techwalla may earn compensation through affiliate links in this story. Learn more about our affiliate and product review process here.
Server administrators can use the "Taskkill" command to shut down rogue processes in Windows.

Writing scripts to automate tasks is an important skill for Windows administrators, and although Windows is primarily graphics-based, there are still a number of powerful tools available that can be used from the Windows command line. When a process is started by a script, it often needs to be closed before the script can continue. The command line tool "Taskkill" performs this task by forcing a process to shut down. If required, the "Taskkill" command can be used to kill the Task Manager from the command line.

Advertisement

Step 1

Click on the Windows "Start" button, then click "All Programs." Click on the "Accessories" folder to open, and then click on "Command Prompt" to launch the Windows command line.

Video of the Day

Step 2

Type "tasklist" to see a list of all the running processes. Task Manager should be displayed as "taskmgr.exe."

Advertisement

Step 3

Type "taskkill /IM taskmgr.exe" to kill the Windows Task Manager. The process will be instantly shut down and a success message displayed.

Advertisement

Video of the Day

Advertisement

Advertisement

references & resources