A critical vulnerability was discovered in React Server Components (Next.js). Our Systems Remain Fully Protected. Learn More

Petter Klang
Jun 16, 2009
  7872
(1 votes)

Ever needed the process id of the applicationPool?

I often find myself debugging sites that run on machines that have a lot of sites up and running. So when I need to attach my VS to the process I usually have at least three (often more) w3wp.exe processes running. A neat little command that my colleague Sebastian gave me the other day has helped me a lot. “iisapp” run this command in a command window and it will give you a list of all the process ids for the applicationPools.

image

iisapp seems to only work for Windows server. But for vista “appcmd.exe list wp” gives the same result. Not as easy to remember but still.

image

Nothing big but though I would share as it helped me a lot.

Jun 16, 2009

Comments

Sep 21, 2010 10:32 AM

Nice post. I often get in a siutation where I can see alot of processes while debugging my test site.

Sep 21, 2010 10:32 AM

Another solutions is to mark all the w3wp-processes.. :)
/ Erik Nordin (erik.nordin@ottobonigroup.com)

Nov 6, 2010 11:37 PM

You can also integrate it with Visual Studio. :)

http://blog.bergdaniel.se/post/Resolving-w3wp-processes-in-Vista-with-Visual-Studio.aspx

Please login to comment.
Latest blogs
Jhoose Security Modules v2.6.0 — Added support for Permissions Policy and .NET 10

Version 2.6.0 adds Permissions Policy header support, updates to .NET 10, improved policy management, configurable security settings, and enhanced...

Andrew Markham | Dec 6, 2025 |

Building a 360° Customer Profile With AI: How Opal + Optimizely Unlock Predictive Personalization

Creating truly relevant customer experiences requires more than collecting data—it requires understanding it. Most organizations already have rich...

Sujit Senapati | Dec 4, 2025

Building a Lightweight Optimizely SaaS CMS Solution with 11ty

Modern web development often requires striking a difficult balance between site performance and the flexibility needed by content editors. To addre...

Minesh Shah (Netcel) | Dec 3, 2025

Creating Opal Tools Using The C# SDK

Over the last few months, my colleagues at Netcel and I have partaken in two different challenge events organised by Optimizely and centered around...

Mark Stott | Dec 3, 2025