How to Disable LoopBack Check on a SharePoint server with PowerShell


When installing a new SharePoint server, sometimes it doesn’t let you access your SharePoint sites from your SharePoint server. In order to fix this, you can either add the key manually, or do it by PowerShell which is a lot faster :).

#Vlad Catrinescu
Write-Host -ForegroundColor White " - Disabling Loopback Check..."
$LsaPath = "HKLM:\System\CurrentControlSet\Control\Lsa"
$LsaPathValue = Get-ItemProperty -path $LsaPath
If (-not ($LsaPathValue.DisableLoopbackCheck -eq "1"))
New-ItemProperty HKLM:\System\CurrentControlSet\Control\Lsa -Name "DisableLoopbackCheck" -Value "1" -PropertyType dword

Say thanks if it helped 🙂

Previous Post
How to configure SharePoint Outgoing Email Settings Using PowerShell
Next Post
Unable to load assembly group. The user assembly group provider threw an exception while trying to provide user assemblies for the specified assembly group.


Leave a Reply

15 49.0138 8.38624 1 0 4000 1 300 1