Loop back check was a feature introduced in Windows Server 2003, and has been carried over to Windows 2008/2012 as well. The feature prevents access to a web application using a fully qualified domain name (FQDN) or a host name if an attempt to access it, takes place from a machine that hosts that application. However, it breaks the SharePoint functionality.

The authentication pop up comes up three times and finally displays a blank screen. Checking the SharePoint Trace Logs will provide the infamous 401: Access Denied error.



We have a couple of ways by which we can circumvent this issue, which we will be discussing in this article.

Disable Loop Back Check(Less Secure, Not Recommended for Production)

Disabling Loop back check will resolve the authentication issues persisting when we are using the full qualified domain name for the web application. In order to do that, go to the Registry Editor by typing in Regedit in the Run menu.

Now, let’s head over to the SharePoint Site and type in the user credentials.



We will be granted access without any issues.



If we want to enable the Loop Back Check, we need to set the registry value back to ‘0’.



Configure BackConnectionHostNames entry

The recommended approach to circumvent the Loop Back Problem is to add the Host Name to the BackConnectionHostNames Registry Entry. In order to do that, go to the Registry Editor and navigate to HKEY_LM\System\CCS\Control\LSA\MSV1.0 .


Double click the entry and specify the name as BackConnectionHostNames.



Now, we will have to add the Host name we have used for the web application to this newly created registry.



In my case, it is test.us.world.com. Right click the registry entry and select Modify.



Specify the Value as Host Name which is test.us.world.com. Click on OK.



It will show a warning. Select OK.



Now, the BackConnectionHostNames entry has been set.



Head over to the SharePoint Site and enter the user credentials.



This time, it will take us through the site without any authentication problems.



Set BackConnectionHostNames entry using PowerShell

We can also use PowerShell to set the BackConnectionHostNames entry. In order to do this, spin up Windows PowerShell as administrator.



Run the below command which will add the BackConnectionHostNames entry to the Registry location "HKLM:\System\CurrentControlSet\Control\Lsa\MSV1_0" with the specified Host Name value.

New-ItemProperty “HKLM:\System\CurrentControlSet\Control\Lsa\MSV1_0” -Name “BackConnectionHostNames” -Value “test.us.world.com” -PropertyType multistring



After running the command, checking the registry will show that the entry has been set.



Summary

Thus, we saw how to handle the Loop Back Check issue in SharePoint.