Couldn't login into the SQL Server using Windows authentication?

Francis Xavier 21 Reputation points
2021-07-16T05:01:01.28+00:00

Hi,

We are using SQL Server 2017. When we try to login in SQL Server with Windows authentication following error is prompting " Login failed for user 'domain\Administrator' (Microsoft SQL Server, error:18456" .Need support to resolve the issue And there is no SQL Authentication in created.

SQL Server | Other
0 comments No comments
{count} votes

Accepted answer
  1. CathyJi-MSFT 22,396 Reputation points Microsoft External Staff
    2021-07-16T07:11:46.633+00:00

    Hi @Francis Xavier ,

    > Login failed for user 'domain\Administrator' (Microsoft SQL Server, error:18456"

    For login error 18456, please check below;

    1. Make sure you have create the login domain\Administrator in your SQL server login as below screenshot. If the login is not exist, please ask the administrator to add the domain\Administrator account to login list .

    115304-screenshot-2021-07-16-150553.jpg

    115305-screenshot-2021-07-16-150719.jpg

    1. Make sure the login and the password are spelled correct.

    If they are not work, suggest you reading the blog Troubleshooting Error 18456.


    If the response is helpful, please click "Accept Answer" and upvote it, as this could help other community members looking for similar queries.

    1 person found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. Olaf Helper 47,436 Reputation points
    2021-07-16T05:10:06.04+00:00

    Login failed for user 'domain\Administrator

    You get the error, because the Windows account don't have permissions to logon to SQL Server. Note: Windows admin <> SQL admin, it has it's own permission system.
    Grant logon and other required permissions for the Windows logon.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.