Windows Server 2008 R2 Standard ( Microsoft Windows Server Version 6.1 Build 7601: Service Pack 1 )
IIS 7.5.7600.16385
In IIS Manager
for a Site
assigned an ApplicationPool
with Identity
= ApplicationPoolIdentity
( the default setting ) , how to determine the Windows account the site uses for directory operations ?
In previous versions of IIS
, Application Pools
run under the Network Service
account.
What is default account for ApplicationPoolIdentity
?
IIS Manager
> Server Instance
> Application Pools
> Application Pool
> right-click Set Application Pool Defaults...
--OR-- Advanced Settings
both invoke the same dialog which contains an Identity
field with ...
button that allows setting the Identity -- no where does it specify what account is associated with ApplicationPoolIdentity
or allow that value to be set
An application pool identity allows you to run an application pool under a unique account without having to create and manage domain or local accounts. The name of the application pool account corresponds to the name of the application pool.
You can change which user account is being used by right clicking “Application Pool” > Advanced Settings > Under “Identity”, you can click the “…” and look for a different user account. You can either choose any of the service accounts on the server, or choose a specific user to run a specific application.
Browse the following path on command prompt “%systemroot%system32inetsrv” and run APPCMD list apppool “Demo User” /text:* Replace “Demo User” with the App Pool name of which you want to retrieve the password. 4. Under the [processModel] section you will get the username and password which is in Clear Text .
The ApplicationPoolIdentity under IIS 7+ is a local machine account named the same name as the application pool itself and resides under a special domain called IIS AppPool. For example given the application pool name MyAppPool your application pool identity user would be IIS AppPool\MyAppPool.
You can learn more about how this works from this Microsoft link... http://www.iis.net/learn/manage/configuring-security/application-pool-identities
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With