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

In this article, we shall discuss “Application pool has been disabled or Changing identity user for IIS Application Pool (Event ID 5059)”. 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. Here are some related IIS guides: How to add and remove IIS Web Server on Windows Server 2019 via the Server Manager and PowerShell, and how to perform redirection from HTTP to HTTPS.
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.
Solution: These two steps out of all steps listed below solved my issue.
Resolution to 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
I hope you found this blog post on “Fixing Application pool has been disabled or Changing identity user for IIS Application Pool” helpful. If you have any questions, please let me know in the comment session.