Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

IIS how to determine ApplicationPoolIdentity account?

Tags:

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

like image 767
BaltoStar Avatar asked Jul 20 '15 06:07

BaltoStar


People also ask

Which account is ApplicationPoolIdentity?

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.

How do I change my ApplicationPoolIdentity?

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.

How do I find my application pool identity password?

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 .


1 Answers

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

like image 122
kinstephen Avatar answered Sep 19 '22 15:09

kinstephen