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 www.absolute-sharepoint.com
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 🙂