How to Uninstall SQL Server instance silently

Yan, Jayden 81 Reputation points
2023-02-20T03:11:38.5533333+00:00

How to Uninstall SQL Server 2014 silently from the Command Line to Remove Unwanted Background Instances?

K38LQ8}NDDKNKI88(ZG4UC2

SQL Server Other
{count} votes

Accepted answer
  1. Seeya Xi-MSFT 16,586 Reputation points
    2023-02-20T06:08:36.5333333+00:00

    Hi @Yan, Jayden,

    Please refer to this blog: https://www.sqlservercentral.com/blogs/uninstalling-sql-server-from-the-command-line-to-remove-unwanted-background-instances

    Navigate to the location of the SQL Server setup media. Run the following command to start the uninstallation process:

    setup.exe /q /action=uninstall /instancename=<instance name> /features=<comma separated feature list>

    You can get a list of features by running the following command:

    setup.exe /action=uninstall /help

    It means to see its supported features, you could see that there is /action which could be uninstall, and /QUIET (Setup will not display any user interface.) and /QUIETSIMPLE (Setup will display progress only without any user).

    Hope this would give you some help.

    Best regards,

    Seeya


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

    0 comments No comments

0 additional answers

Sort by: Most 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.