Windows Commands / IT Support Guides
Identify an application process with tasklist
Use tasklist to match a Windows process ID to a program or hosted service.
Environment and inputs: Windows 11 · Command Prompt unless PowerShell is specified
Understand the problem
Collect the PID and time from the original diagnostic tool. Run tasklist on the same computer.
Run the command
Run tasklist /v to see extra process details such as the user name, then run tasklist /svc to see services hosted by each process.
tasklist /v
tasklist /svc
Read the output
Match the number in the PID column. Several rows can share the same image name while referring to different processes. A service host can contain several service names.
Choose the next step
If the PID is missing, recapture it. The process may have exited or restarted between checks.
Before making changes
Confirm the process and the service it belongs to before asking anyone to stop it. Record the timestamp because Windows can reuse process IDs.