Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How do you find out which process in the task manager belongs to what IIS app pool.

share|improve this question
up vote 3 down vote accepted

Use SysInternal's Process Explorer - It will show the command line for the proces, which shows the AppPool Name.

share|improve this answer

Run CMD as Administrator, run C:\Windows\System32\Inetsrv\appcmd.exe LIST WP

share|improve this answer
c:\windows\system32\cscript.exe c:\windows\system32\iisapp.vbs
share|improve this answer
this appears to be an IIS 6 only script. – Doug Luxem May 23 '11 at 18:54

Assuming IIS6, the best way is to use iisapp.vbs plus Task Manager. iisapp.vbs maps the app pool id to the PID (which Task Manager doesn't do), but Task Manager gives you the real-time CPU and memory usage. You can run iisapp simply by typing 'iisapp' from the command prompt. In Task Manager make sure to add the PID column since it's not there by default on a new machine.

In IIS7 you would use "appcmd list wp" instead of iisapp. For that you'll need to update your path or navigate to it. The full command that will work is: "c:\windows\system32\inetsrv\appcmd list wp"

share|improve this answer

If I'm not mistaken, you can go into the Component Services management console, expand My Computer, select the Running Processes node in the left pane and you should see a list of running processes for each web sites application pool and their PID numbers.

share|improve this answer

Install the IIS "Debug Diagnostic Tool".

Run it and look in the Processes tab. Look in the "Web application pool name" column.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.