Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to move an old internal web site into its own app pool run by its own service account, so that I can get finer-grained control over its permissions and such.

The site is set up to use NTLM authentication and it's not quite large enough for me to want to bother setting up Kerberos. The NTLM auth works fine under the old, default app pool, but when I moved the site to the new app pool and set the Identity to be that of the service account, any attempt to load the page would result in three login prompts followed by a 401.1 error (basically, what gets described here, except that Kerberos shouldn't be involved anywhere).

The service account is in the IIS_WPG group. I checked to make sure that the service account and the user trying to acecss the site both had access to the site's directory, and they do (both have read/execute, write, list contents, and modify). I also turned on Anonymous Access and was able to load the site that way (I then turned it back off for further testing).

Out of curiosity, I tried setting the app pool back to the default account and tried again without changing any other settings. This time it worked just fine--the user was seamlessly and correctly authenticated by the site without any issues. Naturally, this confuses me a little, since I didn't change any other settings.

Are there some permissions inherent to the default IIS account that would allow this? Is there a permission I need added to my service account so that it can authenticate users with Active Directory?

share|improve this question

Is the account a member of the local IIS_WPG group?

The IIS IIS_WPG group account has the minimum permissions and user privileges that are necessary to start and run a worker process on a Web server. Application pool identities must be members of this group so the application pool can register with Http.sys. The following table shows the default user privileges for the IIS_WPG account, along with how each privilege is derived.

Privilege * Source

Access this computer from the network (SeNetworkLogonRight) * Through membership in the Everyone group

Bypass traverse checking (SeChangeNotifyPrivilege) * Through membership in the Everyone group

Impersonate a client after authentication (SeImpersonatePrivilege) * Explicit assignment

Log on as a batch job (SeBatchLogonRight) * Explicit assignment
share|improve this answer
It is. Forgot to mention that in the question. Just added that information. – Angle O'Saxon Apr 24 '13 at 13:45

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.