# How to change the search domain in AD for users and groups for the Admin Console

When setting up the admin console, if the server is in a complex forested AD environment, the domain that IIS runs in is the domain that will be searched for users and groups.  If this domain is incorrect, this is how to change it.

## Step-by-step guide

1. Open the folder where the Admin Console was installed.  By default, this is `c:\inetpub\wwwroot\SPTX\`.
2. Open the `web.config` for editing.
3. Add a key named `domain` to the `appSettings` node.

web.config
```<configuration>
<appSettings>