How to switch between Kerberos and NTLM in Sharepoint

If you have chosen wrong authentication method in Sharepoint, you can manually change this.

To see what is set:

cd C:\inetpub\adminscripts
cscript adsutil.vbs get w3svc/##/root/NTAuthenticationProviders

To set Kerberos:

cd C:\inetpub\adminscripts
cscript adsutil.vbs set w3svc/##/root/NTAuthenticationProviders "Negotiate,NTLM">iisreset

To set NTLM:

cd C:\inetpub\adminscripts
cscript adsutil.vbs set w3svc/##/root/NTAuthenticationProviders "NTLM"
iisreset

## is the virtual server ID number. The virtual server ID number of the Default Web site in IIS is 1.

More info: http://support.microsoft.com/?id=832769

Advertisements