Share via

Unable to install SQL Server (setup.exe). Exit code (Decimal): -2068052377

Apostolos Kolovos 0 Reputation points
2025-09-19T18:42:03.9166667+00:00

Hello community,
2 days now i have a problem with the installation of sql server and sql management sudio 21. At first I achieved to install the programms and create server but I delete all of them as softwares and in background in regedit. Now i am trying again to install and i have that issue.
Unable to install SQL Server (setup.exe).

Exit code (Decimal): -2068052377
User's image

Does anyone have any source to fix the issue ?
Thanks a lot

SQL Server Database Engine

Answer recommended by moderator

Apostolos Kolovos 0 Reputation points
2025-10-27T10:20:55.4466667+00:00

Hello,
The issue was not resolved as I had hoped. However, I decided to format the specific PC as a last resort, and that successfully resolved the problem.

Was this answer helpful?

0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Erland Sommarskog 134.1K Reputation points MVP Volunteer Moderator
    2025-09-19T18:55:31.93+00:00

    Uninstalling the software should not be a problem. Going on a delete craze in the registry, on the other hand, is not the best of ideas. It may not be trivial to get the machine back on track. I don't read Greek, but the occurrence of the Windows SDK installer in the message is familiar. When this happens, this may be due to that the installer cache is not in order.

    Your best bet may be to install SQL Server on a virtual machine or Docker.

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