23.9k views
2 votes
Which Windows 7 command can stop a single process from the command-line?

A. Taskkill
B. Shutdown
C. Tasklist
D. DEL
E. The document is owned by the first user.

User Vinga
by
8.0k points

1 Answer

3 votes

Final answer:

To stop a process in Windows 7 using the command-line, use the Taskkill command, which allows you to end tasks by their process ID or image name.

Step-by-step explanation:

To stop a single process from the command-line in Windows 7, the correct command is Taskkill. This command allows you to terminate processes either by their process ID (PID) or by the image name (the executable name). For example, if you wanted to terminate a process with a known PID of 1234, you would use the command taskkill /PID 1234. Alternatively, if you wanted to terminate all instances of notepad.exe, you would use the command taskkill /IM notepad.exe. Options such as /T can also terminate the specified process and any child processes which were started by it.

User Ravin Singh D
by
8.2k points