Setting Up NTLM

To use NTLM protocol for network authentication, do the following.

Prerequisites

Instructions

  1. In a command prompt, locate the directory that contains the Adsutil.vbs file. By default, this directory is C:\Inetpub\Adminscripts.
  2. Use the following command to enable the Negotiate process:
    cscript adsutil.vbs set 
            w3svc/[Website]/root/NTAuthenticationProviders "NTLM"

    In the above command, WebSite refers to the Web site ID number.

  3. To verify whether the command enabled NTLM authentication, run the following command to retrieve the current values for the NTAuthenticationProviders metabase property:
    cscript adsutil.vbs get 
            w3svc/WebSite/root/NTAuthenticationProviders

    If the NTLM authentication is enabled, the command returns the following:

    NTAuthenticationProviders : (STRING) "NTLM"