What type of password I have to give to set the custom account for application pool identity [closed]
I'm trying to set the Identity of the Application Pool to a specific account. When I'm entering the password for a user name it says
The specified password is invalid.Type a new password.
Is there any specific requirement for the password field?
Solution 1:
For me, it was that I wasn't adding the domain name to the login (DOMAIN\USER). It was defaulting to a local account
Solution 2:
The user account you specify must have "Access this computer from the network" user right in group policy.
If this is server is joined to a domain, will need to add this right via Group Policy -> Computer Configuration -> Policies -> Windows Settings -> Security Settings -> Local Policies -> User Rights Assignment.
Solution 3:
I'd configured the settings below but I was still getting the same error when trying to change the identity of the new application pool using the UI:
'The specified password is invalid. Type a new password.'
- Local Users and Groups
- Added the Domain Service Account to the local group 'IIS_IUSRS'.
- Local Security Policy
- Added the domain service account to the policies:
- Access this computer from the network
- Deny log on locally
- Log on as a batch job
- Log on as a service
- Added the domain service account to the policies:
The method that worked for me was to ditch the UI and do it via the command line using appcmd.exe.
%windir%\system32\inetsrv\appcmd.exe set config /section:applicationPools /[name='APP_POOL_NAME'].processModel.identityType:SpecificUser /[name='APP_POOL_NAME'].processModel.userName:DOMAIN\USER_NAME /[name='APP_POOL_NAME'].processModel.password:PASSWORD
This method is described in the article:
http://technet.microsoft.com/en-us/library/cc771170(v=ws.10).aspx