List all worker processess in IIS

run as adminIf you hit ctrl+alt+del, you will notice one ore many w3wp process. Each of these correspond to a different site (or Application Pool). In Windows Task Manager, you cannot judge which process is associated with which site. You can issue the following command to find that out. Copy and past the following in command Window. Make sure you start cmd in Administrator mode otherwise you will get an error

c:\Windows\System32\inetsrv\appcmd list wp

Or you can changed directory first and issue the same command

cd \Windows\System32\inetsrv.
appcmd list wp

If you did not start cmd prompt in administrator mode, you will end up getting this error

message:The WAS service is not available – try starting the service first

Leave a Reply

Your email address will not be published. Required fields are marked *