Login failed. The login is from an untrusted domain and cannot be used with Windows authentication.

Login failed. The login is from an untrusted domain and cannot be used with Windows authentication. (Microsoft SQL Server, Error: 18452)

 

Fix solution on my machine is:

To disable the loopback check via the Windows registry

  1. open regedit
  2. go to path: HKLM\System\CurrentControlSet\Control\LSA
  3. add DWORD “DisableLoopbackCheck”
  4. set value to 1

Refference from: https://support.quest.com/SolutionDetail.aspx?id=SOL92135

点赞