Forcing NTLM Authentication (IIS 6.0)

In the following situations, Kerberos authentication fails and you must force IIS to use NTLM authentication by setting the NTAuthenticationProviders Metabase Property to NTLM.

Kerberos fails when you isolate Web sites on a virtual directory level by configuring worker process identities as different domain accounts.

Kerberos authentication fails if you are using Integrated Windows authentication, are not using a WINS or DNS name for the server running IIS, and you want to use a local user account or the LocalService account as a worker process identity. It fails because Active Directory does not trust these accounts.


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 force NTLM authentication


In IIS Manager, right-click the local computer, and then click Properties.


Select the Enable Direct Metabase Edit check box, and then click OK.


Click Start, click Run, type cmd, and then click OK.


At the command prompt, type the following command to change to the directory where the MetaBase.xml file is located:

cd %systemroot%\system32\inetsrv


To open the file with Notepad, at the command prompt, type the following:

notepad MetaBase.xml


In the <IISWebServer> section, locate the NTAuthenticationProviders metabase property and modify its setting to read "NTLM".


Save and close the MetaBase.xml file.

Related Information

For information about metabase edit-while-running, see Enabling Edit-While-Running in IIS 6.0.

For more information about NTLM authentication, see "Authentication" in Help and Support Center for Windows Server 2003.

For more information about Kerberos, see "Kerberos" in Help and Support Center for Windows Server 2003.

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