Too often when we want to try accessing a website hosted in IIS in Windows Server 2012 configured under Windows Authentication, from within the server, we are repeatedly presented with the "Windows Prompt" even after providing the correct credentials. Per Microsoft, this behavior is per design and to access the site we had to perform the below modification in the Registry:
- Run "Regedit"
- Expand HKEY_LOCAL_MACHINE -> SYSTEM -> CurrentControlSet -> Control -> Lsa -> MSV1_0
- Look for a key named "BackConnectionHostNames". If it doesnt exist then create a new one, by right-clicking onthe empty space and choose New -> Multi-String Value and provide the name as "BackConnectionHostNames"
- Now add the name of the site (FQDN address), example http://test.contoso.com
- Click Ok.
Now if you try accessing the site, it will load without prompting for credentials. For more information on this topic visit, https://support.microsoft.com/en-us/kb/896861
2,501 total views, no views today