How to clean Uninstall SQL Server 2014 silently

Yan, Jayden 81 Reputation points
2023-03-01T02:05:53.8866667+00:00

How to use script to uninstall SQL Server 2014 all instance(the instance name is not default) and all components silently?

SQL Server | Other
{count} votes

1 answer

Sort by: Most helpful
  1. Seeya Xi-MSFT 16,586 Reputation points
    2023-03-01T06:08:24.29+00:00

    Hi @Yan, Jayden,

    To silently clean uninstall SQL Server 2014, you can use the following steps:

    1. Open a Command Prompt with administrative privileges.
    2. Navigate to the directory where the SQL Server 2014 setup executable is located.
    3. Run the following command to launch the setup program in silent mode: Setup.exe /q /ACTION=uninstall /FEATURES=SQL /INSTANCENAME=YourInstanceName /IACCEPTSQLSERVERLICENSETERMS Optionally, you can use the /QUIETSIMPLE parameter to suppress any dialog boxes that may appear during the uninstallation process.

    This is a general command. However, if you have installed additional SQL Server components such as SQL Server Reporting Services or SQL Server Analysis Services, you will need to specify those components in the command line by modifying the "/FEATURES" parameter accordingly.

    For example, if you have installed both the Database Engine and Reporting Services, you would modify the "/FEATURES" parameter to "/FEATURES=SQL,RS" to uninstall both components.

    Please refer to this blog:

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

    This blog contains screenshots that I think will be useful to you.

    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

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.