SQL Server Fails to Start After Reboot Due to Permission Issues

Pongthorn Sangkaphet (TH) 0 Reputation points
2025-03-04T15:15:12.7733333+00:00

 

Hi, I had the local IT support install the SQL Server database on my laptop for development purposes. The installation was successful, and the SQL Server started properly.

However, after I restarted my laptop, the SQL Server service failed to start. I suspect this issue is related to permissions. The service is set to run under the NT SERVICE\MSSQLSERVER account, which might be restricted due to my non-admin user status.

Since an administrator installed the SQL Server, my account likely lacks the necessary permissions to start the service after a reboot. I do not have administrative rights, so I cannot even access the error logs in C:\Program Files\Microsoft SQL Server\MSSQL16.MSSQLSERVER\MSSQL.

User's image

SQL Server Transact-SQL
SQL Server Transact-SQL
SQL Server: A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.Transact-SQL: A Microsoft extension to the ANSI SQL language that includes procedural programming, local variables, and various support functions.
147 questions
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Erland Sommarskog 119K Reputation points MVP
    2025-03-04T22:22:15.6866667+00:00

    NT Service\MSSQLSERVER is the default account when installing SQL Server. It's a managed service account (MSA), and should be fine. I should also have the necessary permissions.

    It seems to be configured to start automatically, so it should be running, but you cannot start and stop it yourself.

    Anyway, you need to talk with your IT folks, since you don't even have access to the locks. Maybe they did something wrong.. They could post to this thread, if they need assistance.

    0 comments No comments

  2. LiHongMSFT-4306 31,001 Reputation points
    2025-03-05T02:25:44.2466667+00:00

    Hi @Pongthorn Sangkaphet (TH)

    Can you start the service manually?

    The request failed or the service did not respond in a timely fashion.

    You may consider set the start mode from Automatic to Automatic (Delayed start).

    Services-> SQL server instance properties->General

    Also, double check if it is the anti-virus's issue.

    Best regards,

    Cosmog


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    0 comments No comments

  3. Pongthorn Sangkaphet (TH) 0 Reputation points
    2025-03-05T07:46:03.7066667+00:00

    The solution : Use Local system instead of NT Service\MSSQLSERVER


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.