I have problems while unistalling sql-server 2019

Iratxe De Osa 6 Reputation points
2021-03-05T17:27:30.327+00:00

I have been uninstalling and installing sql server 2019 . Also I have deteted subkeys referered to sqlserver. I tried to uninstall it manually. It dosen´t work.
I attach the log files.
How could I solve the problem? I would be really gratefull if anybody could answer with the right solution.
Thanks a lot for your efforts74860-detail-local.txt74907-summary-desktop-vagdkcc-20210305-110255.txt

SQL Server Other
{count} vote

1 answer

Sort by: Most helpful
  1. CarrinWu-MSFT 6,891 Reputation points
    2021-03-08T08:48:47.483+00:00

    Hi @Iratxe De Osa ,

    You have been uninstalled and installed SQL Server, so you need to delete all the components of SQL Server before you reinstall it. And we recommend that you stop all SQL Server services before you uninstall SQL Server components. Active connections can prevent successful uninstallation. Please follow below steps to delete components:

    1. Uninstall the existing SQL Server and all the components from the add remove program.
    2. Backup the registry.
    3. Delete the following keys using 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. Rename all the SQL Server folders in the computer.
    7. Reboot the machine.

    Before you reinstall SQL Server, please make sure that the display language of computer is same as SQL Server setup. If you still get error message after you reinstall SQL Server, please make a comment and let me know the error message.

    Best regards,
    Carrin


    If the answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

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.