{"id":749,"date":"2012-05-22T00:54:29","date_gmt":"2012-05-21T14:54:29","guid":{"rendered":"http:\/\/ntsblog.homedev.com.au\/?p=749"},"modified":"2025-02-13T21:27:12","modified_gmt":"2025-02-13T10:27:12","slug":"applicationpoolidentity-find-user-account","status":"publish","type":"post","link":"https:\/\/ntsblog.homedev.com.au\/index.php\/2012\/05\/22\/applicationpoolidentity-find-user-account\/","title":{"rendered":"ApplicationPoolIdentity find the user account"},"content":{"rendered":"<div id=\"ntsbl-3461209033\" class=\"ntsbl-before-content ntsbl-entity-placement\"><script async src=\"\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js?client=ca-pub-6288941070289539\" crossorigin=\"anonymous\"><\/script><ins class=\"adsbygoogle\" style=\"display:inline-block;width:728px;height:90px;\" \ndata-ad-client=\"ca-pub-6288941070289539\" \ndata-ad-slot=\"9356781486\"><\/ins> \n<script> \n(adsbygoogle = window.adsbygoogle || []).push({}); \n<\/script>\n<\/div><h2>The Problem<\/h2>\n<p>How do you find the ApplicationPoolIdentity Account?<\/p>\n<p>\nUnder IIS 7 you have the ability to set the user account that the Application Pool will run under. By Default this appears to be a setting called &#8220;ApplicationPoolIdentity&#8221;.<\/p>\n<p>\nSo if you need to provide access for this user to a local system resource how do you find the user account when you are searching in the security tab?<\/p>\n<h2>The Answer<\/h2>\n<p>When the application pool is created a new user account is created with the name of the Application Pool.<br \/>\nThis account is created on the local machine in the format of:<br \/>\n IIS AppPool\\AppPoolName &#8211; where AppPoolName is the name of your application pool<\/p>\n<p>\nSo for example the DefaultAppPool user can be found by searching for:<br \/>\n IIS AppPool\\DefaultAppPool<\/p>\n<p><a href=\"https:\/\/ntsblog.homedev.com.au\/wp-content\/uploads\/2012\/05\/AppPoolIdentity.png\"><img loading=\"lazy\" decoding=\"async\" data-attachment-id=\"750\" data-permalink=\"https:\/\/ntsblog.homedev.com.au\/index.php\/2012\/05\/22\/applicationpoolidentity-find-user-account\/apppoolidentity\/\" data-orig-file=\"https:\/\/ntsblog.homedev.com.au\/wp-content\/uploads\/2012\/05\/AppPoolIdentity.png\" data-orig-size=\"471,257\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}\" data-image-title=\"AppPoolIdentity\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/ntsblog.homedev.com.au\/wp-content\/uploads\/2012\/05\/AppPoolIdentity-300x163.png\" data-large-file=\"https:\/\/ntsblog.homedev.com.au\/wp-content\/uploads\/2012\/05\/AppPoolIdentity.png\" src=\"https:\/\/ntsblog.homedev.com.au\/wp-content\/uploads\/2012\/05\/AppPoolIdentity.png\" alt=\"Application Pool Identify - prior to resolve\" title=\"AppPoolIdentity\" width=\"471\" height=\"257\" class=\"aligncenter size-full wp-image-750\" srcset=\"https:\/\/ntsblog.homedev.com.au\/wp-content\/uploads\/2012\/05\/AppPoolIdentity.png 471w, https:\/\/ntsblog.homedev.com.au\/wp-content\/uploads\/2012\/05\/AppPoolIdentity-300x163.png 300w\" sizes=\"auto, (max-width: 471px) 100vw, 471px\" \/><\/a><\/p>\n<p>When Resolved<\/p>\n<p><a href=\"https:\/\/ntsblog.homedev.com.au\/wp-content\/uploads\/2012\/05\/AppPoolIdentityResolved.png\"><img loading=\"lazy\" decoding=\"async\" data-attachment-id=\"751\" data-permalink=\"https:\/\/ntsblog.homedev.com.au\/index.php\/2012\/05\/22\/applicationpoolidentity-find-user-account\/apppoolidentityresolved\/\" data-orig-file=\"https:\/\/ntsblog.homedev.com.au\/wp-content\/uploads\/2012\/05\/AppPoolIdentityResolved.png\" data-orig-size=\"471,257\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}\" data-image-title=\"AppPoolIdentityResolved\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/ntsblog.homedev.com.au\/wp-content\/uploads\/2012\/05\/AppPoolIdentityResolved-300x163.png\" data-large-file=\"https:\/\/ntsblog.homedev.com.au\/wp-content\/uploads\/2012\/05\/AppPoolIdentityResolved.png\" src=\"https:\/\/ntsblog.homedev.com.au\/wp-content\/uploads\/2012\/05\/AppPoolIdentityResolved.png\" alt=\"Application Pool Identity Resolved\" title=\"AppPoolIdentityResolved\" width=\"471\" height=\"257\" class=\"aligncenter size-full wp-image-751\" srcset=\"https:\/\/ntsblog.homedev.com.au\/wp-content\/uploads\/2012\/05\/AppPoolIdentityResolved.png 471w, https:\/\/ntsblog.homedev.com.au\/wp-content\/uploads\/2012\/05\/AppPoolIdentityResolved-300x163.png 300w\" sizes=\"auto, (max-width: 471px) 100vw, 471px\" \/><\/a><\/p>\n\n\n<h2 class=\"wp-block-heading\">The better answer (in 2025)<\/h2>\n\n\n\n<p>The above is kind of true but I just realised a truth that I had not known for the past 10 Years!!!<br>I was trying to get a website to create its Log folder in the root of the site and it was failing with security permission issues. <\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>I was reading an article on how to fix this and it said set the permission like:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">IIS AppPool\\YourAppPoolName<\/pre>\n<\/blockquote>\n\n\n\n<p>&#8220;YourAppPoolName&#8221;.. hmm so if<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>My website is callled &#8220;game&#8221;<\/li>\n\n\n\n<li>My ApplicationPool is called &#8220;game&#8221; (as the default name)<\/li>\n\n\n\n<li>YourAppPoolName = &#8220;game&#8221;<\/li>\n\n\n\n<li>So the app pool permissions would be<\/li>\n<\/ul>\n\n\n\n<p>IIS AppPool\\Game<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/ntsblog.homedev.com.au\/wp-content\/uploads\/2012\/05\/image.png\"><img loading=\"lazy\" decoding=\"async\" width=\"458\" height=\"252\" data-attachment-id=\"2143\" data-permalink=\"https:\/\/ntsblog.homedev.com.au\/index.php\/2012\/05\/22\/applicationpoolidentity-find-user-account\/image-10\/\" data-orig-file=\"https:\/\/ntsblog.homedev.com.au\/wp-content\/uploads\/2012\/05\/image.png\" data-orig-size=\"458,252\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"image\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/ntsblog.homedev.com.au\/wp-content\/uploads\/2012\/05\/image-300x165.png\" data-large-file=\"https:\/\/ntsblog.homedev.com.au\/wp-content\/uploads\/2012\/05\/image.png\" src=\"https:\/\/ntsblog.homedev.com.au\/wp-content\/uploads\/2012\/05\/image.png\" alt=\"\" class=\"wp-image-2143\" srcset=\"https:\/\/ntsblog.homedev.com.au\/wp-content\/uploads\/2012\/05\/image.png 458w, https:\/\/ntsblog.homedev.com.au\/wp-content\/uploads\/2012\/05\/image-300x165.png 300w\" sizes=\"auto, (max-width: 458px) 100vw, 458px\" \/><\/a><\/figure>\n\n\n\n<p>Which then when you click &#8220;Check Names&#8221; resolves too <br><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/ntsblog.homedev.com.au\/wp-content\/uploads\/2012\/05\/image-1.png\"><img loading=\"lazy\" decoding=\"async\" width=\"458\" height=\"252\" data-attachment-id=\"2144\" data-permalink=\"https:\/\/ntsblog.homedev.com.au\/index.php\/2012\/05\/22\/applicationpoolidentity-find-user-account\/image-11\/\" data-orig-file=\"https:\/\/ntsblog.homedev.com.au\/wp-content\/uploads\/2012\/05\/image-1.png\" data-orig-size=\"458,252\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"image\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/ntsblog.homedev.com.au\/wp-content\/uploads\/2012\/05\/image-1-300x165.png\" data-large-file=\"https:\/\/ntsblog.homedev.com.au\/wp-content\/uploads\/2012\/05\/image-1.png\" src=\"https:\/\/ntsblog.homedev.com.au\/wp-content\/uploads\/2012\/05\/image-1.png\" alt=\"\" class=\"wp-image-2144\" srcset=\"https:\/\/ntsblog.homedev.com.au\/wp-content\/uploads\/2012\/05\/image-1.png 458w, https:\/\/ntsblog.homedev.com.au\/wp-content\/uploads\/2012\/05\/image-1-300x165.png 300w\" sizes=\"auto, (max-width: 458px) 100vw, 458px\" \/><\/a><\/figure>\n\n\n\n<p>WOW, that makes sense. The DefaultAppPool is only for the Default Website.. !!!<\/p>\n\n\n\n<p>The &#8220;IIS AppPool&#8221; is a virtual user namespace and every app pool that is created effectively gets local account that can be used for setting permissiosn.<\/p>\n\n\n\n<p>Mind blown..<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The Problem How do you find the ApplicationPoolIdentity Account? Under IIS 7 you have the ability to set the user account that the Application Pool [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[4,10],"tags":[],"class_list":["post-749","post","type-post","status-publish","format-standard","hentry","category-asp-net","category-os"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/ntsblog.homedev.com.au\/index.php\/wp-json\/wp\/v2\/posts\/749","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ntsblog.homedev.com.au\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ntsblog.homedev.com.au\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ntsblog.homedev.com.au\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/ntsblog.homedev.com.au\/index.php\/wp-json\/wp\/v2\/comments?post=749"}],"version-history":[{"count":0,"href":"https:\/\/ntsblog.homedev.com.au\/index.php\/wp-json\/wp\/v2\/posts\/749\/revisions"}],"wp:attachment":[{"href":"https:\/\/ntsblog.homedev.com.au\/index.php\/wp-json\/wp\/v2\/media?parent=749"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ntsblog.homedev.com.au\/index.php\/wp-json\/wp\/v2\/categories?post=749"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ntsblog.homedev.com.au\/index.php\/wp-json\/wp\/v2\/tags?post=749"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}