Windows Process Guide

How to Find the PID of a Process in
Windows 10 & 11

A practical guide to finding the Process ID of any running application, service, background task, or system process using built-in Windows tools.

๐Ÿ–ฅ Windows 10 ๐ŸชŸ Windows 11 ๐Ÿ“‹ Task Manager ๐Ÿ’ป CMD โš™ PowerShell ๐Ÿ”Ž Troubleshooting

What Is a PID in Windows?

A PID, or Process ID, is a unique number assigned by Windows to each running process. Every application, background task, service, browser tab group, driver helper, or system component runs under a process, and Windows uses the PID to identify that process internally.

Knowing the PID is useful when you need to close a stuck program, identify which application is using a port, match a service to its executable file, analyze high CPU usage, or run commands such as taskkill, netstat, and PowerShell process-management commands.

Important: a PID is temporary. When a process closes and starts again, Windows usually assigns it a new PID. Always check the current PID before running commands that target a specific process.
Method Best for Tool required
Task Manager Quickly checking the PID of visible apps and background processes Built into Windows
Command Prompt Listing processes, filtering by name, using scripts tasklist
PowerShell Advanced filtering, sorting, and automation Get-Process
Resource Monitor Finding the PID of a process using CPU, disk, network, or memory Built into Windows
netstat Finding which PID is using a TCP or UDP port Command Prompt or PowerShell

How to Find a Process PID in Windows Task Manager

Task Manager is the easiest way to find the PID of a running process in Windows 10 and Windows 11. The PID column may be hidden by default, but you can enable it in a few clicks.

Find PID on the Details Tab

  1. Press Ctrl + Shift + Esc to open Task Manager.
  2. If you see the compact view, click More details.
  3. Open the Details tab.
  4. Look at the PID column next to the process name.
  5. Click the PID column header to sort processes by Process ID.

Enable the PID Column on the Processes Tab

  1. Open Task Manager.
  2. Go to the Processes tab.
  3. Right-click any column header, such as Name or CPU.
  4. Select PID.
  5. The Process ID column will appear in the process list.

This method is convenient when you are already investigating CPU, memory, disk, or network usage and need to match a visible process to its exact PID.

How to Find PID Using Command Prompt in Windows

Command Prompt is useful when you need a text-based process list or want to combine PID lookup with troubleshooting commands.

List All Running Processes with Their PIDs

Open Command Prompt and run:

tasklist

The output shows process names, PIDs, session names, session numbers, and memory usage. The second column is the PID column.

Find the PID of a Specific Process by Name

Use findstr to filter the list. For example, to find the PID of Notepad:

tasklist | findstr /i notepad

Another useful example for Microsoft Edge:

tasklist | findstr /i msedge

Show More Detailed Process Information

To display detailed information, use:

tasklist /v

The verbose view can show window titles and other useful details, which helps when several processes have the same executable name.

How to Find Process ID with PowerShell

PowerShell provides a clean and flexible way to view process names, PIDs, executable paths, CPU usage, and other properties. This is the best option for automation and advanced filtering.

List All Processes and Their PIDs

Get-Process | Select-Object ProcessName, Id

Find the PID of a Process by Name

For example, to find the PID of Notepad:

Get-Process notepad | Select-Object ProcessName, Id

To search by part of the process name:

Get-Process | Where-Object {$_.ProcessName -like "*edge*"} | Select-Object ProcessName, Id

Show the Executable Path with the PID

If you need to confirm which file started the process, run PowerShell as administrator and use:

Get-Process | Select-Object ProcessName, Id, Path
Note: some system processes do not expose the executable path unless PowerShell is running with administrator privileges.

How to Find a PID in Windows Resource Monitor

Resource Monitor is useful when you need to identify a process based on real-time CPU, memory, disk, or network activity. It displays PIDs directly in its tables.

  1. Press Win + R.
  2. Type resmon and press Enter.
  3. Open the CPU, Memory, Disk, or Network tab.
  4. Find the process in the list.
  5. Check the PID column.

Resource Monitor is especially helpful when Task Manager shows high disk or network activity but you need more detail about which exact process is responsible.

How to Find the PID of a Windows Service

Windows services often run in the background and may share host processes such as svchost.exe. To find the PID of a service, use the Services tab in Task Manager or the tasklist /svc command.

Use Task Manager

  1. Open Task Manager.
  2. Go to the Services tab.
  3. Find the service name.
  4. Check the PID column.

Use Command Prompt

Run this command:

tasklist /svc

This shows processes and the services running inside them. It is useful for identifying which service is associated with a particular svchost.exe instance.

Filter by Service Name

Example:

tasklist /svc | findstr /i wuauserv

In this example, wuauserv is the Windows Update service. Replace it with the service name you want to check.

How to Find Which Process PID Is Using a Port in Windows

Sometimes you do not know the process name, but you know that a port is busy. For example, a web server, database server, VPN client, or development tool may be using a port such as 80, 443, 3306, or 8080.

Show Active Connections and PIDs

Open Command Prompt or PowerShell and run:

netstat -ano

The last column shows the PID. To search for a specific port, use findstr. For example, to check port 8080:

netstat -ano | findstr :8080

Match the PID to a Process Name

After you get the PID, use tasklist to identify the process:

tasklist /fi "PID eq 1234"

Replace 1234 with the actual PID from the netstat output.

Tip: if a port is occupied by a system service, run Command Prompt as administrator to get more complete information.

How to Use a PID to End a Process Safely

After finding a PID, you may want to close the process. Use caution: ending the wrong process can close applications, interrupt downloads, stop services, or make Windows unstable until restart.

End a Process by PID with Command Prompt

taskkill /PID 1234

If the process does not close normally, you can force it:

taskkill /PID 1234 /F

End a Process by PID with PowerShell

Stop-Process -Id 1234

To force termination:

Stop-Process -Id 1234 -Force
Warning: do not force-close system processes unless you know exactly what they do. For ordinary apps, try closing the program normally before using taskkill or Stop-Process.

Best Ways to Check PID in Windows: Which Method Should You Use?

Fastest: Task Manager Best for scripts: PowerShell Best for ports: netstat Best for services: tasklist /svc Best for activity analysis: Resource Monitor

For everyday use, Task Manager is usually enough. For troubleshooting network ports, use netstat -ano. For services, use tasklist /svc or the Services tab in Task Manager. For advanced filtering, reports, or repeated checks, PowerShell is the most flexible option.

FAQ: Finding Process ID in Windows 10 and Windows 11

Is PID the same as a process name?

No. A process name is the executable name, such as notepad.exe or chrome.exe. A PID is a numeric identifier assigned to a specific running instance of that process.

Can two processes have the same PID?

No, two running processes cannot have the same PID at the same time. However, Windows can reuse a PID after the original process has exited.

Why do browsers show many PIDs?

Modern browsers often create separate processes for tabs, extensions, GPU acceleration, audio, networking, and security isolation. That is why Chrome, Edge, and Firefox may appear with multiple PIDs.

Why does the PID change after restarting a program?

PID values are assigned when a process starts. When you close and reopen a program, Windows treats it as a new process and assigns a new PID.

Do I need administrator rights to view PIDs?

Usually no. Standard users can view many process IDs. Administrator rights may be required to see full details for protected system processes, services, or executable paths.

Summary: How to Find PID of a Process in Windows

The quickest way to find a PID in Windows is to open Task Manager, go to the Details tab, and check the PID column. For command-line work, use tasklist in Command Prompt or Get-Process in PowerShell. If you need to identify which process is using a network port, use netstat -ano and then match the PID with tasklist.

Once you know the PID, you can investigate the process, match it to a service, check resource usage, or safely terminate it when necessary.