unable to install sql server exit code -2068052377

John Burks 11 Reputation points
2022-07-05T15:16:37.617+00:00

217705-ssms3.png

I was using 2018 ssms with sql server and it worked up to a few days ago.
I've tried several ways to fix this. I ran repair setup and goes thru the repair but still have the issue. I uninstall and reinstall. I check service.msc and and tried to restart and it says file not found. When I check the sql service I noticed the path it is pointing to is not there. I tied looking at the ssql config and could find it . Untill I found it in win32 folder I tried to run and it can't pin mmc. Not sure what to do from here

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,947 questions
{count} vote

9 answers

Sort by: Most helpful
  1. Seeya Xi-MSFT 16,471 Reputation points
    2022-07-13T06:44:33.52+00:00

    Hi @John Burks ,

    There seems to be a problem with your uninstallation. The components don't seem to have been completely removed, so the reinstallation went wrong.
    before reinstall, 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).

    Best regards,
    Seeya


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it.

    0 comments No comments

  2. John Burks 11 Reputation points
    2022-07-13T08:50:13.327+00:00

    Thanks I got it to work

    0 comments No comments

  3. John Burks 11 Reputation points
    2022-07-13T08:50:35.79+00:00

    Thanks I got it to work

    0 comments No comments

  4. morteza ebrazeh 0 Reputation points
    2023-09-15T18:09:08.6366667+00:00

    Hi guys,

    Is there any one who knows how can I solve 2068052377 error in installing sql server?


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.