Unable to uninstall SQL Server 2019 developer

Samira Abdous 1 Reputation point
2022-01-26T15:10:01.403+00:00

I am trying to uninstall SQL Server 2019 developer

pragimtech

SQL Server Other
{count} votes

1 answer

Sort by: Most helpful
  1. CathyJi-MSFT 22,396 Reputation points Microsoft External Staff
    2022-01-27T03:03:15.713+00:00

    Hi @Samira Abdous ,

    Please share us more information about your issue, then we can better understand your issue and give you a better help.

    What error message that you got when you uninstall SQL server 2019? Please share us a screenshot or error information from setup log. The SQL 2019 setup log is located at C:\Program Files\Microsoft SQL Server\150\Setup Bootstrap\Log by default. A time-stamped log folder is created after every installation or uninstallation. Please read the correct one. Refer to MS document View and Read SQL Server Setup Log Files.

    We can uninstall SQL 2019 from Control Panel\Programs\Programs and Features or Start Menu->Settings ->Apps & Features. Please follow steps from MS document Uninstall an Existing Instance of SQL Server (Setup).

    Or you can follow below steps to uninstall SQL 2019;

    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.

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

    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.