Disable the Loopback Check via PowerShell



You will get a 401.1 error when trying to access the fully qualified domain name (FQDN) of your SharePoint site from the server. This is due to the loopback security check found in Windows Server 2003 SP1 or later, as well as Windows Server 2008 and Windows Server 2008 R2. To fix this you need to add a registry key to disable the loopback check. You could do this via the Registry Editor, but where is the fun in that?! Pop open a PowerShell console and enter the following:

New-ItemProperty HKLM:\System\CurrentControlSet\Control\Lsa -Name "DisableLoopbackCheck" -Value "1" -PropertyType dword

Make sure to reboot your server afterwards. Then, try your SharePoint site again and you should be good to go!


Sponsors *Trusted SharePoint Ads Only!*

Packaged Enterprise Search
for SharePoint.View a quick online demo here! Surfray.com/Ontolica

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

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.

12 Comments on “Disable the Loopback Check via PowerShell”

  1. Art Says:

    very neat solution!


  2. Brad Thurber Says:

    Watch out – one of the double quotes was transformed to a question mark for me on a copy/paste


  3. Francois H. Pienaar Says:

    Thanks a lot, this really helped!!!


  4. Alfonso Rodriguez Says:

    Thanks this is going to my installation script rigth now


  5. james Says:

    Great ! very handy….


  6. Hans Baumann Says:

    Hey! how about a shutdown -r -t 0 to restart the server in just one script block?



  1. Cannot Access SharePoint from Server « // T3chNicaL.LEad - 08/20/2010

    […] shout out to Adam Preston for his short and concise resolution of the problem which can be found here. -26.046700 […]

  2. SharePoint 2010 – Erste Erfahrungen, Probleme und Tipps « SharePoint and relevant Technologies - 09/10/2010

    […] Windows Server 2008 R2 benutze, musste man den Loopback Check disablen (weitere Info dazu hier): Disable the Loopback Check via PowerShell Danach ging […]

  3. SPEasy Setup Scripts: Gotcha! | Gav's Blog – SharePoint .NET & Tech - 07/18/2011

    […] It turns out that the easy setup scripts don’t disable the loopback check. Luckily that has a well documented and easy fix which can also be done via PowerShell. […]

  4. the world thorugh frosted glasses - 10/10/2011

    the world thorugh frosted glasses…

    […]Disable the Loopback Check via PowerShell « SP2010 Blog[…]…

  5. Deshabilitar Loopback Check usando PowershellIgnacio Jonas | Ignacio Jonas - 01/11/2013

    […] Fuente: SharePoint Adam […]

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 )

Connecting to %s

%d bloggers like this: