Add BackConnectionHostNames to the registry via PowerShell



Since it is a server thing and not a SharePoint thing, SP2010 will still have issues trying to hit a FQDN from the server. This means you may see weird errors in your crawl log for search. Many people simply disabled the loopback check to get around this. However, that is not the best resolution for production environments. To understand more on the reasoning behind this, you can check out this excellent post on the topic.

In that post you will see the steps on opening up the registry editor and combing through all the folders to find the desired location where you can create the BackConnectionHostNames property. Or, you can just wake up your new best friend, PowerShell, and fire off this line. Make sure to edit the Value parameter to include your environment’s host names.

New-ItemProperty HKLM:\System\CurrentControlSet\Control\Lsa\MSV1_0 -Name “BackConnectionHostNames” -Value “”,”” -PropertyType multistring

In order for this change to go into place, you need to restart the server. Again, just tell PowerShell to Restart-Computer and be done with it!


Sponsors *Trusted SharePoint Ads Only!*

Packaged Enterprise Search
for SharePoint.View a quick online demo here!

Free Outlook Sidebar!
Access SharePoint from Outlook w/ Sidebar. Download Now!

SharePoint Admin Toolkit – Download now!
FREE Tools to Simplify SharePoint Management

SharePoint Migration Tools
Sharegate: No-Brainer Migration Tools for SharePoint. $375.

SharePoint Usage Reports
Usage reports, collaboration and audit for SharePoint.

8 Tips to Increase SharePoint Adoption
Download Free Whitepaper


Subscribe to our RSS feed and social profiles to receive updates.

3 Comments on “Add BackConnectionHostNames to the registry via PowerShell”

  1. Fritz Says:


    Should this be done on all servers in the farm (2-2-2-1: WFE, CTRL ADM, SRCHIDX and DB SRV). On all SharePoint servers not DB Server?



  1. A few useful PowerShell for SharePoint articles « SharePoint Contribute - 09/08/2010

    […] might help you make the switch. Add BackConnectionHostNames to the registry via PowerShell –… . Yes, you can do pretty much the same thing with a .reg file, but it’s a nice use of PowerShell […]

Leave a Reply

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

You are commenting using your 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 )

Connecting to %s

%d bloggers like this: