SQL Express 2019 Install Failure of Database Engine Component error code: 0x851A001A on Windows 11.

Justin Statham 26 Reputation points
2022-02-02T20:20:00.083+00:00

I have a brand new HP computer with 1 GIG SSD drive running windows 11 and keep getting the error below on install. I have googled and tried several solutions and nothing has worked. Here is what I have also found but none of this

My observations so far after reading many threads:

  1. In the above environment, SQL Server 2019 will install properly on a second hard drive
  2. If the Primary Hard Drive is less than 1TB, then also there is no problem (SQL Server 2019 installs properly) but this options is also not available to me
  3. If you partition the 1TB SSD, the problem persists because the partition is still recognised internally as “One Single Hard Drive”
  4. The issue is that Windows 11 is verifying the sector size is not over 4K and SQL Server installation fails when the hard drive sector is larger then 4096

Can anyone help get this installed. I did confirm my sector size is 512.

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.

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

12 answers

Sort by: Most helpful
  1. Rob Ainscough 81 Reputation points
    2022-06-12T18:03:16.497+00:00

    I'm having this exact same issue, have been trying everything for the past 2 days to resolve thanks to a Windows 11 upgrade that apparently should NOT have installed on my PC (a Microsoft mistake).

    2022-06-12 10:44:56.21 spid12s Warning ******************

    2022-06-12 10:44:56.21 Server Software Usage Metrics is disabled.
    2022-06-12 10:44:56.21 spid12s SQL Server started in single-user mode. This an informational message only. No user action is required.
    2022-06-12 10:44:56.21 spid12s Starting up database 'master'.
    2022-06-12 10:44:56.22 spid12s There have been 256 misaligned log IOs which required falling back to synchronous IO. The current IO is on file C:\Program Files\Microsoft SQL Server\MSSQL15.MSSQLSERVER\MSSQL\DATA\master.mdf.

    As pointed out, there are MANY developers running into this problem and it's clearly a Windows 11 issue and most likely a security/rights issue.

    I really wish Microsoft would get on top of this, they clearly have made a mistake and it's impacting a lot of developers using MS SQL under Windows 11.

    I'll report back to see if this fixed the same issue on my Win11 PC.

    Rob.


  2. Kim 1 Reputation point
    2022-09-15T22:13:20.243+00:00

    I'm having the same issue, but none of these suggestions have worked. And the drive already shows 4096. I even put the registry entry with the *4096, to no avail.
    Help!

    sqlEngineDBStartConfigAction_install_configrc_Cpu64

    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=20476&ProdName=Microsoft%20SQL%20Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=15.0.4013.40&EvtType=0xD15B4EB2%25400x4BDAF9BA%25401306%254026

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

    BUTTONS:

    OK

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

    Action required:
    Use the following information to resolve the error, uninstall this feature, and then run the setup process again.

    Feature failure reason:
    An error occurred during the setup process of the feature.

    Error details:
    § Error installing SQL Server Database Engine Services Instance Features
    Wait on the Database Engine recovery handle failed. Check the SQL Server error log for potential causes.
    Error code: 0x851A001A
    Visithttps://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=15.0.4013.40&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4026&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4026 to get help on troubleshooting.

    From log file:

    Overall summary:
    Final result: Failed: see details below
    Exit code (Decimal): -2061893606
    Start time: 2022-09-15 16:24:37
    End time: 2022-09-15 16:38:10
    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.

    Machine Properties:
    Machine name: USSSWORDFISH
    Machine processor count: 8
    OS version: Microsoft Windows 11 Home (10.0.22000)
    OS service pack:
    OS region: United States
    OS language: English (United States)
    OS architecture: x64
    Process architecture: 64 Bit
    OS clustered: No

    Product features discovered:
    Product Instance Instance ID Feature Language Edition Version Clustered Configured

    Package properties:
    Description: Microsoft SQL Server 2019
    ProductName: SQL Server 2019
    Type: RTM
    Version: 15
    SPLevel: 0
    Installation location: C:\act!_24_sp0x204\ACTWG\ISSetupPrerequisites\SQL2019x64\SQL2019x64\x64\setup\
    Installation edition: Express

    Product Update Status:
    None discovered.

    User Input Settings:
    ACTION: Install
    ADDCURRENTUSERASSQLADMIN: true
    AGTSVCACCOUNT: NT AUTHORITY\NETWORK SERVICE
    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
    BROWSERSVCSTARTUPTYPE: Automatic
    CLTCTLRNAME: <empty>
    CLTRESULTDIR: <empty>
    CLTSTARTUPTYPE: 0
    CLTSVCACCOUNT: <empty>
    CLTSVCPASSWORD: <empty>
    CLTWORKINGDIR: <empty>
    COMMFABRICENCRYPTION: 0
    COMMFABRICNETWORKLEVEL: 0
    COMMFABRICPORT: 0
    CONFIGURATIONFILE:
    CTLRSTARTUPTYPE: 0
    CTLRSVCACCOUNT: <empty>
    CTLRSVCPASSWORD: <empty>
    CTLRUSERS: <empty>
    ENABLERANU: true
    ENU: true
    EXTSVCACCOUNT: <empty>
    EXTSVCPASSWORD: <empty>
    FEATURES: SQLENGINE
    FILESTREAMLEVEL: 0
    FILESTREAMSHARENAME: <empty>
    FTSVCACCOUNT: <empty>
    FTSVCPASSWORD: <empty>
    HELP: false
    IACCEPTPYTHONLICENSETERMS: false
    IACCEPTROPENLICENSETERMS: false
    IACKNOWLEDGEENTCALLIMITS: false
    INDICATEPROGRESS: false
    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: ACT7
    INSTANCENAME: ACT7
    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
    MATRIXCMBRICKCOMMPORT: 0
    MATRIXCMSERVERNAME: <empty>
    MATRIXNAME: <empty>
    MRCACHEDIRECTORY:
    NPENABLED: 0
    PBDMSSVCACCOUNT: <empty>
    PBDMSSVCPASSWORD: <empty>
    PBDMSSVCSTARTUPTYPE: 0
    PBENGSVCACCOUNT: <empty>
    PBENGSVCPASSWORD: <empty>
    PBENGSVCSTARTUPTYPE: 0
    PBPORTRANGE: <empty>
    PBSCALEOUT: false
    PID: *****
    QUIET: false
    QUIETSIMPLE: false
    ROLE: AllFeatures_WithDefaults
    RSINSTALLMODE: DefaultNativeMode
    RSSVCACCOUNT: <empty>
    RSSVCPASSWORD: <empty>
    RSSVCSTARTUPTYPE: Automatic
    SAPWD: *****
    SECURITYMODE: SQL
    SQLBACKUPDIR: <empty>
    SQLCOLLATION: Latin1_General_CI_AS
    SQLJAVADIR: <empty>
    SQLMAXDOP: 0
    SQLMAXMEMORY: 2147483647
    SQLMINMEMORY: 0
    SQLSVCACCOUNT: NT AUTHORITY\SYSTEM
    SQLSVCINSTANTFILEINIT: false
    SQLSVCPASSWORD: *****
    SQLSVCSTARTUPTYPE: Automatic
    SQLSYSADMINACCOUNTS: USSSwordfish\SB, \Everyone, NT AUTHORITY\SYSTEM
    SQLTELSVCACCT: NT Service\SQLTELEMETRY$ACT7
    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: true
    UpdateSource: MU
    USEMICROSOFTUPDATE: false
    USESQLRECOMMENDEDMEMORYLIMITS: false
    X86: false

    Configuration file: C:\Program Files\Microsoft SQL Server\150\Setup Bootstrap\Log\20220915_162419\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=15.0.4013.40&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4026&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4026

    Feature: SQL Browser
    Status: Passed

    Feature: SQL Writer
    Status: Passed

    Feature: SQL Client Connectivity SDK
    Status: Passed

    Feature: SQL Client Connectivity
    Status: Passed

    Rules with failures or warnings:

    Rules report file: C:\Program Files\Microsoft SQL Server\150\Setup Bootstrap\Log\20220915_162419\SystemConfigurationCheck_Report.htm

    cmd
    Microsoft Windows [Version 10.0.22000.978]
    (c) Microsoft Corporation. All rights reserved.

    C:\Windows\system32>fsutil fsinfo sectorinfo c:
    LogicalBytesPerSector : 512
    PhysicalBytesPerSectorForAtomicity : 8192
    PhysicalBytesPerSectorForPerformance : 8192
    FileSystemEffectivePhysicalBytesPerSectorForAtomicity : 4096
    Device Alignment : Aligned (0x000)
    Partition alignment on device : Aligned (0x000)
    No Seek Penalty
    Trim Supported
    Not DAX capable
    Not Thinly-Provisioned

    C:\Windows\system32>


    bootstrap log file content:
    Overall summary:
    Final result: Failed: see details below
    Exit code (Decimal): -2061893606
    Start time: 2022-09-15 16:24:37
    End time: 2022-09-15 16:38:10
    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.

    Machine Properties:
    Machine name: USSSWORDFISH
    Machine processor count: 8
    OS version: Microsoft Windows 11 Home (10.0.22000)
    OS service pack:
    OS region: United States
    OS language: English (United States)
    OS architecture: x64
    Process architecture: 64 Bit
    OS clustered: No

    Product features discovered:
    Product Instance Instance ID Feature Language Edition Version Clustered Configured

    Package properties:
    Description: Microsoft SQL Server 2019
    ProductName: SQL Server 2019
    Type: RTM
    Version: 15
    SPLevel: 0
    Installation location: C:\act!_24_sp0x204\ACTWG\ISSetupPrerequisites\SQL2019x64\SQL2019x64\x64\setup\
    Installation edition: Express

    Product Update Status:
    None discovered.

    User Input Settings:
    ACTION: Install
    ADDCURRENTUSERASSQLADMIN: true
    AGTSVCACCOUNT: NT AUTHORITY\NETWORK SERVICE
    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
    BROWSERSVCSTARTUPTYPE: Automatic
    CLTCTLRNAME: <empty>
    CLTRESULTDIR: <empty>
    CLTSTARTUPTYPE: 0
    CLTSVCACCOUNT: <empty>
    CLTSVCPASSWORD: <empty>
    CLTWORKINGDIR: <empty>
    COMMFABRICENCRYPTION: 0
    COMMFABRICNETWORKLEVEL: 0
    COMMFABRICPORT: 0
    CONFIGURATIONFILE:
    CTLRSTARTUPTYPE: 0
    CTLRSVCACCOUNT: <empty>
    CTLRSVCPASSWORD: <empty>
    CTLRUSERS: <empty>
    ENABLERANU: true
    ENU: true
    EXTSVCACCOUNT: <empty>
    EXTSVCPASSWORD: <empty>
    FEATURES: SQLENGINE
    FILESTREAMLEVEL: 0
    FILESTREAMSHARENAME: <empty>
    FTSVCACCOUNT: <empty>
    FTSVCPASSWORD: <empty>
    HELP: false
    IACCEPTPYTHONLICENSETERMS: false
    IACCEPTROPENLICENSETERMS: false
    IACKNOWLEDGEENTCALLIMITS: false
    INDICATEPROGRESS: false
    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: ACT7
    INSTANCENAME: ACT7
    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
    MATRIXCMBRICKCOMMPORT: 0
    MATRIXCMSERVERNAME: <empty>
    MATRIXNAME: <empty>
    MRCACHEDIRECTORY:
    NPENABLED: 0
    PBDMSSVCACCOUNT: <empty>
    PBDMSSVCPASSWORD: <empty>
    PBDMSSVCSTARTUPTYPE: 0
    PBENGSVCACCOUNT: <empty>
    PBENGSVCPASSWORD: <empty>
    PBENGSVCSTARTUPTYPE: 0
    PBPORTRANGE: <empty>
    PBSCALEOUT: false
    PID: *****
    QUIET: false
    QUIETSIMPLE: false
    ROLE: AllFeatures_WithDefaults
    RSINSTALLMODE: DefaultNativeMode
    RSSVCACCOUNT: <empty>
    RSSVCPASSWORD: <empty>
    RSSVCSTARTUPTYPE: Automatic
    SAPWD: *****
    SECURITYMODE: SQL
    SQLBACKUPDIR: <empty>
    SQLCOLLATION: Latin1_General_CI_AS
    SQLJAVADIR: <empty>
    SQLMAXDOP: 0
    SQLMAXMEMORY: 2147483647
    SQLMINMEMORY: 0
    SQLSVCACCOUNT: NT AUTHORITY\SYSTEM
    SQLSVCINSTANTFILEINIT: false
    SQLSVCPASSWORD: *****
    SQLSVCSTARTUPTYPE: Automatic
    SQLSYSADMINACCOUNTS: USSSwordfish\SB, \Everyone, NT AUTHORITY\SYSTEM
    SQLTELSVCACCT: NT Service\SQLTELEMETRY$ACT7
    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: true
    UpdateSource: MU
    USEMICROSOFTUPDATE: false
    USESQLRECOMMENDEDMEMORYLIMITS: false
    X86: false

    Configuration file: C:\Program Files\Microsoft SQL Server\150\Setup Bootstrap\Log\20220915_162419\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=15.0.4013.40&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4026&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4026

    Feature: SQL Browser
    Status: Passed

    Feature: SQL Writer
    Status: Passed

    Feature: SQL Client Connectivity SDK
    Status: Passed

    Feature: SQL Client Connectivity
    Status: Passed

    Rules with failures or warnings:

    Rules report file: C:\Program Files\Microsoft SQL Server\150\Setup Bootstrap\Log\20220915_162419\SystemConfigurationCheck_Report.htm

    541-221-1233


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.