Using a Different Account For Application Pool

In previous sections we used the default IUSR account for the application pool. There are cases when you may want to use a different account for your pool. The default IIS IUSR account may not provide sufficient access rights to system resources required by your uniGUI ISAPI application. Lack of access to those resources can cause your ISAPI DLL to stop working. To avoid this, you may need to switch to a different account.

As a general recommendation, if your ISAPI app fails to work properly or hangs after a while, try switching to the Windows built-in LOCAL SERVICE account to see if it resolves the issue.

To use a different account, follow these steps:

1

Open the Application Pool identity settings

Open IIS Manager and choose your Application Pool. In the Process Model section choose Identity.

Application Pool Identity selection
2

Select the preferred account

In the Application Pool Identity form select your preferred account. For example, choose the NetworkService system account.

Choose NetworkService
NetworkService selected
3

Option: LocalSystem account

Alternatively, you can choose the LocalSystem account.

Choose LocalSystem
LocalSystem selected
4

Update the web application's Authentication settings

Modify the web application's Authentication settings so the application pool identity is used.

Authentication settings

Make "Application pool identity" the active option.

Set Application pool identity