Using a Domain Account for security vs. a Local User Account in IIS
How do I replace Local User Accounts with a Domain Account for security?
Solution
Following are directions for web server configuration to replace Local User Accounts with a Domain Account.
1. On the server hosting xxx:
- Ensure that the Domain User Account is in the Administrators Group on the server hosting xxx.
- To ensure that the Domain User Account is in the Administrators Group:
- Log into the server hosting xxx using an administrator account.
- Logon to your xxx server and check the Local Users / Groups. Add the Domain User Account as a member of the Administrators Group.
2. In the Internet Information Systems (IIS) Manager:
- Ensure the Application Pool for the app is using a service account (Domain User Account).
- To check that the Application Pool for the app is using the service account (Domain User Account):
- This can be done by selecting the Application Pool for the app and Advanced Settings. Click on the Identity > enter the Domain User Account and password.
- Configure the website is connecting using the Domain User Account.
- To check that the website is connecting using the Domain User Account:
- Configure the website "Basic Settings" to use the Domain User Account . Test settings to check if it passes. If not configure it to "connect as" the Domain User Account. Once you do this, test settings again to make sure it passes.
- Next under the website select the pool. Go to Basic Settings and configure to "connect as" the Domain User Account.
- Ensure the Administrators group and the Domain User Account has been added to the local security policy
- To check that the Administrators group and the service account has been added to the local security policy: *(this is the critical step)
- Go to Local Security Policy > Security Settings > Local Polices > User Rights Assignments > Log on as a batch job (double click to open file) Make sure the Local Administrators group and the Domain User Account has been added.
- Open a command window and run the following command:C:\> iisreset
- Open a browser and navigate to the WhatsUp Gold application.