SQL Server 2022 installation Failing with error "Wait on the Database Engine recovery handle"

Srikanth Lanka 51 Reputation points
2023-01-04T04:23:53.46+00:00

I've been trying to install SQL Server 2022 on Windows 11 machine; I've tried multiple times and every time ended up with the error

275855-summary-srilakshmi-20230103-215638.txt

TITLE: Microsoft SQL Server 2022 Setup

------------------------------

The following error has occurred:

Wait on the Database Engine recovery handle failed. Check the SQL Server error log for potential causes.

For help, click: https://go.microsoft.com/fwlink?LinkID=2209051&ProdName=Microsoft%20SQL%20Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=16.0.1000.6&EvtType=0xD15B4EB2%25400x4BDAF9BA%25401306%254026

------------------------------

BUTTONS:

OK

------------------------------

Followed the instructions in the link below, figured out that the value for PhysicalBytesPerSectorForAtomicity is = 4096, but for PhysicalBytesPerSectorForPerformance (I think this is okay to have it more than PhysicalBytesPerSectorForAtomicity ) and didn't make the recommended registry entry, is that entry still required ? Should the value for both PhysicalBytesPerSector need to be same ?

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

![275830-image.png][2] [2]: /api/attachments/275830-image.png?platform=QnA
275903-serverlog.txt

SQL Server | Other
{count} votes

Answer accepted by question author
  1. LiHongMSFT-4306 31,616 Reputation points
    2023-01-04T07:32:12.327+00:00

    Hi @Srikanth Lanka

    Should the value for both PhysicalBytesPerSector need to be same ?

    You'd better make them to be same.

    To install SQL server on windows 11. Have you tried this:

    1. Uninstall all the SQL instances one by one. Goto--control panel - uninstall a program - Microsoft SQL server (64 bit) - select remove option, select the particular instance, and uninstall
    2. Repeat the same process till you uninstall all instances. Goto C:\Program Files\Microsoft SQL Server\MSSQL15.MSSQLSERVER (MSSQLSERVER indicates instances). Should not have any instances like this ex: MSSQL15.MSSQLSERVER.
    3. Restart the computer and run as administrator choose basic installation process.

    Best regards,
    Li Hong

    2 people found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. Sergio Aguirre Romero 5 Reputation points
    2023-08-12T21:18:31.72+00:00
    1 person found this answer helpful.

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.