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

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s