Couldn't install SQL Server 2022 on my Windows 11 even after doing changes in registry.

Nivedhitha Murugesan 20 Reputation points
2023-05-10T04:09:18.47+00:00

I couldn't install SQL Server 2022 on my Windows 11. I tried the workaround mentioned on the Microsoft website(changes in the registry) but still it didn't work. I later found out this issue is common in Win 11. I need help installing SQL Server 2022 on my laptop.

The error I'm getting: Couldn't find the database engine startup handle.

I request you help me in fixing this issue as an SQL server is needed for my college assignments.

Windows for business | Windows Client for IT Pros | User experience | Other
SQL Server | Other
{count} votes

3 answers

Sort by: Most helpful
  1. Olaf Helper 47,441 Reputation points
    2023-05-10T05:08:56.6133333+00:00

    Please review the installation log file

    https://learn.microsoft.com/en-us/sql/database-engine/install-windows/view-and-read-sql-server-setup-log-files?view=sql-server-ver16

    and SQL Server ErrorLog for more details about the cause.

    0 comments No comments

  2. LiHongMSFT-4306 31,571 Reputation points
    2023-05-10T05:42:22.9866667+00:00

    Hi @Nivedhitha Murugesan

    I couldn't install SQL Server 2022 on my Windows 11.

    Windows 11 uses different block sizes for disc alignment (32k) which aren't supported by SQL Server.

    Please troubleshoot follow by this doc: Troubleshoot errors related to system disk sector size greater than 4 KB.

    If still not help, please post the error logs.

    The location by default is: C:\Program Files\Microsoft SQL Server\160\Setup Bootstrap\Log

    There is a summary.txt file and many subfolders created every time the Installation wizard is started. In those subfolders, we can find a Detail.txt file.

    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.


  3. AlexD 6 Reputation points
    2023-10-14T20:18:18.7166667+00:00

    I have the same problem with my new Windows 11 laptop. Here are some relevant sections of summary log file.

    Overall summary:
      Final result:                  Failed: see details below
      Exit code (Decimal):           -2061893606
      Start time:                    2023-10-14 21:57:19
      End time:                      2023-10-14 22:01:26
      Requested action:              Install
    
    Setup completed with required actions for features.
    Troubleshooting information for those features:
      Next step for SQLEngine:       Use the following information to resolve the error, uninstall this feature, and then run the setup process again.
    

    Then same Laptop and OS Parameters,

    User Input Settings:
      ACTION:                        Install
      ADDCURRENTUSERASSQLADMIN:      true
      AGTSVCACCOUNT:                 NT-AUTORITÄT\Netzwerkdienst
      AGTSVCPASSWORD:                *****
      AGTSVCSTARTUPTYPE:             Disabled
      ASBACKUPDIR:                   Backup
      ASCOLLATION:                   Latin1_General_CI_AS
      ASCONFIGDIR:                   Config
      ASDATADIR:                     Data
      ASLOGDIR:                      Log
      ASPROVIDERMSOLAP:              1
      ASSERVERMODE:                  TABULAR
      ASSVCACCOUNT:                  <empty>
      ASSVCPASSWORD:                 <empty>
      ASSVCSTARTUPTYPE:              Automatic
      ASSYSADMINACCOUNTS:            <empty>
      ASTELSVCACCT:                  <empty>
      ASTELSVCPASSWORD:              <empty>
      ASTELSVCSTARTUPTYPE:           0
      ASTEMPDIR:                     Temp
      AZUREARCPROXYSERVER:           <empty>
      AZUREBILLEDEDITION:            
      AZUREREGION:                   <empty>
      AZURERESOURCEGROUP:            <empty>
      AZURESERVICEPRINCIPAL:         <empty>
      AZURESERVICEPRINCIPALSECRET:   <empty>
      AZURESUBSCRIPTIONID:           <empty>
      AZURETENANTID:                 <empty>
      BROWSERSVCSTARTUPTYPE:         Disabled
      CONFIGURATIONFILE:             C:\Program Files\Microsoft SQL Server\160\Setup Bootstrap\Log\20231014_215719\ConfigurationFile.ini
      ENABLERANU:                    true
      ENU:                           true
      EXTSVCACCOUNT:                 <empty>
      EXTSVCPASSWORD:                <empty>
      FEATURES:                      SQLENGINE
      FILESTREAMLEVEL:               0
      FILESTREAMSHARENAME:           <empty>
      FTSVCACCOUNT:                  <empty>
      FTSVCPASSWORD:                 <empty>
      HELP:                          false
      IACCEPTSQLSERVERLICENSETERMS:  true
      IACKNOWLEDGEENTCALLIMITS:      false
      INDICATEPROGRESS:              true
      INSTALLSHAREDDIR:              C:\Program Files\Microsoft SQL Server\
      INSTALLSHAREDWOWDIR:           C:\Program Files (x86)\Microsoft SQL Server\
      INSTALLSQLDATADIR:             <empty>
      INSTANCEDIR:                   C:\Program Files\Microsoft SQL Server
      INSTANCEID:                    SQLEXPRESS
      INSTANCENAME:                  SQLEXPRESS
      ISMASTERSVCACCOUNT:            NT AUTHORITY\Network Service
      ISMASTERSVCPASSWORD:           <empty>
      ISMASTERSVCPORT:               8391
      ISMASTERSVCSSLCERTCN:          <empty>
      ISMASTERSVCSTARTUPTYPE:        Automatic
      ISMASTERSVCTHUMBPRINT:         <empty>
      ISSVCACCOUNT:                  NT AUTHORITY\Network Service
      ISSVCPASSWORD:                 <empty>
      ISSVCSTARTUPTYPE:              Automatic
      ISTELSVCACCT:                  <empty>
      ISTELSVCPASSWORD:              <empty>
      ISTELSVCSTARTUPTYPE:           0
      ISWORKERSVCACCOUNT:            NT AUTHORITY\Network Service
      ISWORKERSVCCERT:               <empty>
      ISWORKERSVCMASTER:             <empty>
      ISWORKERSVCPASSWORD:           <empty>
      ISWORKERSVCSTARTUPTYPE:        Automatic
      NPENABLED:                     0
      PBDMSSVCACCOUNT:               <empty>
      PBDMSSVCPASSWORD:              <empty>
      PBDMSSVCSTARTUPTYPE:           0
      PBENGSVCACCOUNT:               <empty>
      PBENGSVCPASSWORD:              <empty>
      PBENGSVCSTARTUPTYPE:           0
      PBPORTRANGE:                   <empty>
      PID:                           *****
      PRODUCTCOVEREDBYSA:            false
      QUIET:                         true
      QUIETSIMPLE:                   false
      ROLE:                          AllFeatures_WithDefaults
      SAPWD:                         <empty>
      SECURITYMODE:                  <empty>
      SQLBACKUPDIR:                  <empty>
      SQLCOLLATION:                  Latin1_General_CI_AS
      SQLMAXDOP:                     0
      SQLMAXMEMORY:                  2147483647
      SQLMINMEMORY:                  0
      SQLSVCACCOUNT:                 NT Service\MSSQL$SQLEXPRESS
      SQLSVCINSTANTFILEINIT:         true
      SQLSVCPASSWORD:                <empty>
      SQLSVCSTARTUPTYPE:             Automatic
      SQLSYSADMINACCOUNTS:           ALEXANDER\a
      SQLTELSVCACCT:                 NT Service\SQLTELEMETRY$SQLEXPRESS
      SQLTELSVCPASSWORD:             <empty>
      SQLTELSVCSTARTUPTYPE:          Automatic
      SQLTEMPDBDIR:                  <empty>
      SQLTEMPDBFILECOUNT:            1
      SQLTEMPDBFILEGROWTH:           64
      SQLTEMPDBFILESIZE:             8
      SQLTEMPDBLOGDIR:               <empty>
      SQLTEMPDBLOGFILEGROWTH:        64
      SQLTEMPDBLOGFILESIZE:          8
      SQLUSERDBDIR:                  <empty>
      SQLUSERDBLOGDIR:               <empty>
      SUPPRESSPAIDEDITIONNOTICE:     false
      SUPPRESSPRIVACYSTATEMENTNOTICE: false
      TCPENABLED:                    0
      UIMODE:                        AutoAdvance
      UpdateEnabled:                 false
      UpdateSource:                  MU
      USEMICROSOFTUPDATE:            false
      USESQLRECOMMENDEDMEMORYLIMITS: false
    

    and

    Configuration file:            C:\Program Files\Microsoft SQL Server\160\Setup Bootstrap\Log\20231014_215719\ConfigurationFile.ini
    
    Detailed results:
      Feature:                       Database Engine Services
      Status:                        Failed
      Reason for failure:            An error occurred during the setup process of the feature.
      Next Step:                     Use the following information to resolve the error, uninstall this feature, and then run the setup process again.
      Component name:                SQL Server Database Engine Services Instance Features
      Component error code:          0x851A001A
      Error description:             Wait on the Database Engine recovery handle failed. Check the SQL Server error log for potential causes.
      Error help link:               https://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=16.0.1000.6&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4026&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4026
    
      Feature:                       SQL Browser
      Status:                        Passed
    
      Feature:                       SQL Writer
      Status:                        Passed
    
      Feature:                       Setup Support Files
      Status:                        Passed
    
    
    

    I have been trying since 2 days and ran out of ideas/options.

    Any help would be highly appreciated.

    0 comments No comments

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.