Set NTLM authentication through Command Behavior Moss site

Source: Internet
Author: User
Use the command line to configure windows Integrated Identity Authentication (NTLM)
IIS supports three authentication modes: Anonymous, basic, and integrated Windows authentication. When using form authentication, we usually configure the website to allow anonymous access. The default anonymous account is IUSR_machinename, machinename is the NetBIOS Name of the Computer specified during installation. Integrated Windows authentication is most suitable for the Intranet environment, and most of our SharePoint sites are under the Intranet. The following describes how to configure windows Integrated Identity Authentication (NTLM) through the console ).
First, check whether the site has been verified by NTLM.
Run the following command in command mode:
C: \ Inetpub \ adminscripts> cscript adsutil. vbs get w3svc/<website ID>/root/ntauthenticationproviders
<Website ID> can be found in IIS manager.
If NTLM verification is not configured, the following results are obtained:
The parameter "ntauthenticationproviders" is not set at this node.
Step 2: Configure NTLM verification for the site.
In the command, run
C: \ Inetpub \ adminscripts> cscript adsutil. vbssetw3svc/<websiteid>/root/
Ntauthenticationproviders NTLM
With this command, we can set our site to the NTLM authentication method.

The above script is in the IIS path, c: \ Inetpub \ adminscripts. If you are interested, you can study it yourself.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.