Setting the Default Logon Domain (IIS 6.0)

Users authenticated with Basic authentication must log on with a valid Windows user name and password. The user name usually includes:

A Windows domain name.

An account user name.


You must be a member of the Administrators group on the local computer to perform the following procedure or procedures. As a security best practice, log on to your computer by using an account that is not in the Administrators group, and then use the runas command to run IIS Manager as an administrator. At a command prompt, type runas /User:Administrative_AccountName "mmc %systemroot%\system32\inetsrv\iis.msc".


To set the default logon domain


In IIS Manager, right-click the Web Sites folder, Web site, directory, virtual directory, or file, and click Properties.


Configuration settings made at the Web Sites folder level can be inherited by all Web sites.


Click the Directory Security or File Security tab, depending on the level at which you want to configure security settings.


In the Anonymous access and authentication control section, click Edit.


In the Authenticated access section, select the Basic authentication check box.


Because Basic authentication sends passwords over the network unencrypted, a dialog box appears, asking if you want to proceed. Click Yes to proceed.


In the Default domain box, either type the domain name you want to use, or click Select to browse to a new default logon domain. If the Default domain box is filled in, the name is used as the default domain. If the Default domain box is left empty, IIS uses the domain of the computer that is running IIS as the default domain. IIS configures the value of the DefaultLogonDomain Metabase Property, which determines the default domain used to authenticate clients accessing your IIS server using Basic authentication. However, the domain specified by DefaultLogonDomain is used only when a client does not specify a domain in the logon dialog box that appears on the client computer.


Click OK twice.

Related Information

For information about Basic authentication, see Basic Authentication.

© 2017 Microsoft Corporation. All rights reserved. Contact Us |Terms of Use |Trademarks |Privacy & Cookies