How to fix "Unable to install SQL Server (setup.exe) Exit Code (Decimal): -2061893607Error description: Could not find the Database Engine startup handle."

JDK246 0 Reputation points
2023-09-18T07:57:58.47+00:00

Hi, I keep getting this problem when trying to install the SQL Server (Express Edition) through basic installation. Here are the Summary.txt and Detail.txt. Really need to get this fixed as soon as possible, I appreciate any help.

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
12,835 questions
{count} votes

3 answers

Sort by: Most helpful
  1. Erland Sommarskog 102K Reputation points MVP
    2023-09-18T20:55:01.0433333+00:00

    The message Wait on the Database Engine recovery handle failed is a generic error that means that SQL Server did not start when Setup wanted to run configuration steps. To understand why it did not start, you need to look in the SQL Server errorlog, which you find in C:\Program Files\Microsoft SQL Server\MSSQL16.MSSQLSERVER\MSSQL\LOG\ERRORLOG. Note that the component MSSQL16.MSSQLSERVER is for a default instance of SQL 2022. I see that you have a number of instances, I guess any of them will do.

    If you see a message about 256 misaligned reads, you are running into a known issue where Windows 11 for some disk drives reports a sector size that SQL Server does not cope with. Microsoft has published an article with workarounds for the problem.

    If you don't see the message about misaligned reads, feel free to upload the errorlog here, so we can look at it. You will need to rename to ERRORLOG.txt for the forum software to accept it.


  2. CosmogHong-MSFT 23,406 Reputation points Microsoft Vendor
    2023-09-19T06:46:55.81+00:00

    Hi @JDK246

    Try changing this login to a valid login (an existing local user).

    Also, please refer to this blog for more solutions: Error: Could not find the Database Engine startup handle.

    Best regards,

    Cosmog Hong

    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".

    Note: Please follow the steps in our Documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

  3. Erland Sommarskog 102K Reputation points MVP
    2023-09-21T21:26:46.7366667+00:00

    There is no output at all from the command prompt, here is the error (highlighted in the photo) that I copied and pasted from the Windows event viewer:

    I post this an answer, because I am afraid that we have reached the end of the line, and you may not be able to install SQL Server your machine.

    I like to stress that the behaviour you run into is not exactly normal. Rather, this happens because there is something "special" with your machine. But what I don't know.

    A few wild speculations:

    • If you are running some other anti-malware solution than Windows firewall, you can try exclusion rules, disabling and worst of all, uninstall it.
    • You have a bad memory stick or similar. But a bad memory stick usually produce more random errors, and you would see blue screens every now and then etc.
    • You are running on some unusual hardware. Every now and then, we see people who try to install SQL Server on ARM, which is not supported. But this usually dies at an earlier stage.

    Had you been in a corporate environment, I would have recommended that you open a support case. But I see that you have Windows 11 Home, so I assume that this is a private machine, and in that case, I don't think a support case would be an option for you.

    You could possibly try to create a virtual machine, or run SQL Server on Docker.

    0 comments No comments