Saturday, 24 March 2007

Web logon Error

SYMPTOMS
can't log on you have a error telling you have entered the wrong username or password.

Do you have a IIS6 website running OWA (Outlook Web Access) Sharepoint, Remote Desktop or all.

Check your authentication is set to NTLM by going to a command prompet, then to the C:\Inetpub\Adminscriptscscript run the
cscript adsutil.vbs get w3svc/NTAuthenticationProviders
If you get an error or The parameter "NTAuthenticationProviders" is not set at this node.

you'll need to set NTLM on the site you can do this on every site or just one, to set it on the every site on the server run cscript adsutil.vbs set w3svc/NTAuthenticationProviders "NTLM"

To run on it just one site you'll need the identifier you can get this from the Internet Information Service Manager MMC in this example the site identifier is 1056747795 so the command is
cscript adsutil.vbs set w3svc/1056747795/NTAuthenticationProviders "NTLM"

you may need to restart IIS after you can use the iisreset command

if you have a large number of web servers you can copy the following into a batch file

cd\
cd C:\Inetpub\Adminscripts
cscript adsutil.vbs set w3svc/NTAuthenticationProviders "NTLM"
pause

No comments: