Unable to install SQL Server Developer Edition 2019 in Windows 11 Pro.

Rushi Chandel 26 Reputation points
2022-11-09T03:59:33.463+00:00

Hello,

I've been trying to install SQL Server Developer Edition 2019 in Windows 11 Pro but failing every single time. I tried installing it by following resources / links but that didn't help either.

https://www.mssqltips.com/sqlservertip/4526/sql-server-install-error-wait-on-the-database-engine-recovery-handle-failed/

https://www.mssqltips.com/sqlservertip/4050/cleanly-uninstalling-stubborn-sql-server-components/

Can someone please guide me resolving this issue with installation ?

SQL Server Other
{count} vote

Accepted answer
  1. Joel Fleischman 76 Reputation points
    2022-11-13T23:26:22.253+00:00

    I had the same issue after upgrading to windows 11.

    I'm using an SSD hard drive after following the instructions here to simulate the sector size
    and the instructions here to reinstall SQL Server with the local system account, I was able to install it successfully.


2 additional answers

Sort by: Most helpful
  1. Sreeju Nair 12,666 Reputation points
    2022-11-09T04:47:47.29+00:00

    Based on the log you shared, it seems you are trying to repair your implementation. Try uninstalling and reinstall from the start.

    "The SQL Server feature 'SQL_Engine_Core_Inst' is not in a supported state for repair, as it was never successfully configured. Only features from successful installations can be repaired. To continue, remove the specified SQL Server feature.
    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=0x2841E06E%401204%402&EvtType=0x2841E06E%401204%402
    "

    You may also select only required services and install them in case you fail in a fresh installation.


  2. PandaPan-MSFT 1,931 Reputation points
    2022-11-09T07:02:57.347+00:00

    Hi @Rushi Chandel ,
    There was a case that the install path is too long may make this situation happen. Did you set the too long install location?

    Or you can try reinstalling the SQL:

    1. Remove all SQL Server components from 'Programs and Features'
    2. Backup the registry
    3. Delete the following keys in regedit:
      --HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server
      --HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSSQLServer
    4. Go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall and delete all the sub-keys referencing SQL Server
    5. Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services and delete all the keys referencing SQL Server
    6. Reboot the machine

    In addition, please use an administrator account to reinstall SQL Server on your computer(Right click->run as administrator).


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment"


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.