A2oz

How to Uninstall SQL Server 2014 Using Command Prompt?

Published in Software Installation & Uninstallation 1 min read

You can uninstall SQL Server 2014 using the command prompt by following these steps:

  1. Open Command Prompt as Administrator:

    • Search for "cmd" in the Windows search bar.
    • Right-click on "Command Prompt" and select "Run as administrator".
  2. Navigate to the SQL Server Setup Directory:

    • The default location is usually: C:\Program Files\Microsoft SQL Server\120\Setup Bootstrap\SQLServer2014.
    • Use the cd command to navigate to this directory. For example: cd C:\Program Files\Microsoft SQL Server\120\Setup Bootstrap\SQLServer2014.
  3. Run the Uninstall Command:

    • Execute the following command: setup.exe /uninstall
  4. Follow the On-Screen Instructions:

    • The SQL Server Setup Wizard will guide you through the uninstallation process.
    • Select the features you want to remove and confirm your choices.

Example Command:

C:\Program Files\Microsoft SQL Server\120\Setup Bootstrap\SQLServer2014> setup.exe /uninstall

Important Notes:

  • Backup your data before uninstalling SQL Server.
  • Ensure you have the necessary permissions to uninstall SQL Server.
  • If you encounter any errors, refer to the SQL Server documentation for troubleshooting steps.

Related Articles