How to fix Sql Server installation error on my windows 11

Kiodore 0 Reputation points
2023-12-25T00:52:47.56+00:00

Hi, I'm unable to install SQL Server 2022 on my windows 11. When I make an effort to do so, it results in a message stating unable to install SQL Server (setup.exe). Exit code (Decimal) -2147467259 Error description: Unknown error (0xe0000235). I saw that the database engine service failed in the summary text file.

Detail.txt

Summary_KIODORE-VM_20231224_184257.txt

Windows for business Windows Client for IT Pros User experience Other
SQL Server Other
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. ZoeHui-MSFT 41,491 Reputation points
    2023-12-25T01:54:35.96+00:00

    Hi @Kiodore,

    There is a known issue when installing SQL Server on Win11.

    You may follow the documentation to see if it is helpful.

    If this does not work, you may follow the steps to uninstall the failed installation and reinstall it.
    Please follow the below steps to remove all components of previous installed SQL Server completely:

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

    Regards,

    Zoe Hui


    If the answer is helpful, please click "Accept Answer" and upvote it.

    1 person found this answer helpful.

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.