Unable to Uninstall SQL Server 2019

Pramod Kumar 20 Reputation points
2024-06-03T11:48:17.8633333+00:00

I'm trying to uninstall SQL Server 2019 (64-bit) from the Control Panel, but I'm encountering errors during the uninstallation process.

I was able to remove all the features, but I received a prompt to restart my system. After restarting, I noticed that 'SQL Server 2019' is still listed in the Control Panel.

When I tried to uninstall it again, I found that the 'SQL Client Connectivity SDK' feature is still present. Attempting to uninstall this feature results in the following1000021594

error message:

'There are validation errors on this page. Click OK to close the dialog box. Review errors at the bottom of the setup page, then provide valid parameters.'

At the bottom of the setup page, there is an error message stating: 'There are no valid SQL Server 2019 features to perform this operation.'

Please suggest steps to remove SQL SERVER 2019 completely from my system.1000021595

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,203 questions
Transact-SQL
Transact-SQL
A Microsoft extension to the ANSI SQL language that includes procedural programming, local variables, and various support functions.
4,591 questions
0 comments No comments
{count} votes

Accepted answer
  1. LucyChenMSFT-4874 2,825 Reputation points
    2024-06-04T06:50:35.1166667+00:00

    Hi @Pramod Kumar,

    Thank you for reaching out and welcome to Microsoft Q&A.

    SDK is short for “software development kit”, it’s a set of software used for further development of your SQL environment.

    You should stop the main SQL Service (not others) in order to completely uninstall it.

    Here are the steps to uninstall SQL Server cleanly, you can follow the steps below to resolve your issue:

    1. Run 'services. MSc' to view all services, stop all services related to SQL Server.
    2. Remove all SQL Server components from 'Programs and Features'
    3. Backup the registry
    4. Delete the the SQL Server related registry: --HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server --HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSSQLServer
    5. Go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall and delete all the sub-keys referencing SQL Server
    6. Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services and delete all the keys referencing SQL Server.
    7. Delete the relevant folders: Remove the physical path where the Microsoft SQL Server database is installed.
    8. Delete the default installation folder of the system (If it is 64-bit, don’t forget to check the Program Files (x86) folder).
    9. Reboot the machine.

    NOTE: please use an administrator account to reinstall SQL Server on your computer (Right click->run as administrator).

    Hope this can help you well.

    Feel free to share your issue here if you have any confused.

    Best regards,

    Lucy Chen


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

    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.

    https://docs.microsoft.com/en-us/answers/support/email-notifications

    1 person found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. Olaf Helper 42,761 Reputation points
    2024-06-04T05:17:21.0633333+00:00

    Please suggest steps to remove SQL SERVER 2019 completely from my system.

    It's just a SDK = "Software Development Kit", why does it hurt? Leave it as it is.