Share via

SQL Server Express 2022 - SQL Server service is not starting on Windows 11 system.

Dipali Limbkar 20 Reputation points
2025-10-09T05:54:49.5766667+00:00

On a newly installed OS of Windows 11, SQL Server Express 2022 is installed successfully.

But while connecting to the Server, it errors out as SQL Server service is not starting, with below Error

"Error 1067: The process terminated unexpectedly".

SQL Server Database Engine
0 comments No comments

Answer accepted by question author

Erland Sommarskog 134.3K Reputation points MVP Volunteer Moderator
2025-10-09T21:26:47.14+00:00

You are running into a known issue, as described in the article that Tony Dinh linked to.

When you applied trace flag 1800, you got past that error, but since Setup failed to complete the configuration of SQL Server.

The easiest way to sort things out is to uninstall the instance and apply the registry fix described in https://learn.microsoft.com/en-us/troubleshoot/sql/database-engine/database-file-operations/troubleshoot-os-4kb-disk-sector-size and then run Setup again. It would be possible to repair the instance manually, but that is more work and it would be more difficult for me to remote-control you.

Was this answer helpful?

1 person found this answer helpful.

2 additional answers

Sort by: Most helpful
  1. Anonymous
    2025-10-09T06:46:02.38+00:00

    Hello @Dipali Limbkar !

    For clarification that SQL Server Express editions do not include SQL Server Agent. That’s why you’ll never be able to start the SQL Agent service on Express — it simply isn’t part of the SKU, please refer: https://learn.microsoft.com/en-us/sql/sql-server/editions-and-components-of-sql-server-2022?view=sql-server-ver17#management-tools

    If you see a “SQL Server Agent” service listed, it’s either left over from another edition or a misinterpretation. But since your description said you’re actually unable to start the SQL Server Database Engine service itself (not just Agent), and hitting Error 1067: The process terminated unexpectedly. That points to a startup failure.


    • You can open the Services.msc in your search bar and look to confirm for SQL Server (SQLEXPRESS), if there's also exist for SQL Server Agent (SQLEXPRESS), this agent should not exists.
    • If the Data Engine is failing, you can navigate to C:\Program Files\Microsoft SQL Server\MSSQL16.SQLEXPRESS\MSSQL\Log\ERRORLOG and open the latest ERRORLOG notepad, there's usually the root descripted in the note.

    Common causes of Error 1067:

    • TLS/Protocol Misconfiguration: SQL Server 2022 requires TLS 1.2 or higher, if If Windows 11 has disabled certain protocols or ciphers, SQL won’t start. Ensure that your TLS 1.2 is enabled in the registry or via group policy.
    • Corrupted Master Database: If master.mdf or mastlog.ldf is missing or corrupted, startup fails. You can try to repair via setup with Repair Option.
    • Port Conflict: Another service may be binding to current TCP 1433. You can check by Run netstat -ano | findstr 1433 and change port in SQL Server Configuration Manager if needed.
    • Service Account Permissions: The SQL service account may not have rights to its data directories. Ensure that NT Service\MSSQL$SQLEXPRESS has full control on DATA and LOG folders.

    You can run SQL Server Configuration Manager, try to start the service there, it will give you clearer error messages. If you still failing, try run setup.exe from installation media and choose Repair. If repair fails also, uninstall and reinstall (but keep a copy of your DATA folder if you already created databases).


    I hope this helps! Let me know if you have any questions or stuck anywhere!

    Was this answer helpful?

    1 person found this answer helpful.

  2. Bruce (SqlWork.com) 84,061 Reputation points
    2025-10-09T15:15:43.0833333+00:00

    trace flag -T1800 is only for the log file. its used to enable log shipping when the servers have mismatched log file sector sizes.

    you need to make register changes to fix the issue:

    https://learn.microsoft.com/en-us/troubleshoot/sql/database-engine/database-file-operations/troubleshoot-os-4kb-disk-sector-size?tabs=registry-editor

    Was this answer helpful?

    0 comments No comments

Your answer

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