Web Server

Application pool has been disabled or Changing identity user for IIS Application Pool (Event ID 5059)

Event ID 5059: Application pool has been disabled or Changing identity user for IIS Application Pool

The Internet Information Services (IIS) is an extensible web server software from Microsoft for use with Windows NT family. IIS supports HTTP, HTTP/2, HTTPS, FTP, FTPS, SMTP and NNTP. An application pool is a group of one or more URLs served by a worker process or set of worker processes. Application pools help to separate sets of IIS worker processes that share the same configuration and application boundaries. Here are some related IIS guides: How to add and remove IIS Web Server on Windows Server 2019 via the Server Manager and PowerShell, how to perform redirection from HTTP to HTTPS, and how to create a self-signed certificate using PowerShell.

Solution: These two steps out of all steps listed below solved my issue. 

Fixing Application pool has been disabled

1. Assign the right in the Local security group too and
2. Grant “Log on as Batch Job” permission to the application pool identity account
– Unlock the account used as application pool identity.
– To avoid issues of account expiration, you should reset the password of the application pool identity account.
– Switch from built-in account to domain account for application pool identity
– Use another domain account as application pool identity
– Give “Full Control” to application pool identity account on shared data and configuration folders
– Give “Log on as Batch Job” permission to the application pool identity account
– Add the application pool identity account to IIS_USRS group
– Check account information in applicationHost.config for possible typos
– Recreate application pools, websites, and shared configuration (if used)
– Make sure to use the same encryption provider (IISWASOnlyCngProvider or IISCngProvider) in applicationHost.config
– Change application pool process model from LogonBatch to LogonService
– If it is a shared configuration setup in IIS, use the same IISWASKey

Kindly see the following hyperlinks for more details and this.

I hope you found this blog post on “Fixing Application pool has been disabled” helpful. If you have any questions, please let me know in the comment session.

Notify of

Inline Feedbacks
View all comments
Would love your thoughts, please comment.x