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
- open regedit
- go to path: HKLM\System\CurrentControlSet\Control\LSA
- add DWORD “DisableLoopbackCheck”
- set value to 1
Refference from: https://support.quest.com/SolutionDetail.aspx?id=SOL92135