Forum Discussion
How to delete a SQL Server instance completely and cleanly?
I think there are a couple of things worth clarifying here, especially regarding the different SQL Server installation tools.
First, Laura is correct that deleting a connection in SSMS does not uninstall a SQL Server instance. Also, the fact that SQL Server Configuration Manager still shows three instances is a good reason to investigate further before deleting anything manually.
Regarding Programs and Features:
It still exists in Windows 11, but it's part of the classic Control Panel, not Settings > Apps > Installed apps.
You can open it directly:
1. Press Win + R.
2. Type appwiz.cpl and press Enter.
3. Find Microsoft SQL Server 2025 (64-bit).
You mentioned that the three-dot menu in Installed apps doesn't offer Uninstall and that Modify is disabled. This doesn't necessarily mean you're doing anything wrong. However, I would check the classic Programs and Features interface to see whether it provides the appropriate uninstall/change option.
Regarding SQL Server Installation Center:
Based on your description of the Basic, Custom, and Download Media options, you're most likely running the SQL Server online/web installer (bootstrapper) rather than the full SQL Server Setup. These are different interfaces. The online installer is primarily used to download the installation files or start a new installation. The full SQL Server Installation Center provides additional options, including Tools and Maintenance. To access it, try searching for SQL Server Installation Center in your Windows Start menu. Alternatively, you can use the online installer you already have:
1. Launch it and select Download Media.
2. Download the SQL Server 2025 installation media, preferably as an ISO.
3. Mount the ISO in Windows. Alternatively, you can extract its contents using 7-Zip or another free archive utility. An ISO is a disk image rather than a ZIP archive, but tools like 7-Zip can open and extract it.
4. Run setup.exe from the root directory of the mounted or extracted media.
This should open the actual SQL Server Installation Center, where you can access Tools > Installed SQL Server features discovery report, as Laura suggested.
Regarding removing the unwanted instance:
As Laura already explained, you should use the SQL Server removal procedure rather than deleting the installation directory. Once you've identified the correct instance using the discovery report, you can use the uninstall workflow in Programs and Features or SQL Server Setup to remove it. Be particularly careful when selecting the instance and its features, since you have multiple installations on the same machine.
And one important detail: the presence of an installation directory alone doesn't prove that an instance is still installed. SQL Server can leave files behind after an uninstall. Conversely, deleting those files does not unregister the instance from Windows.
If the standard removal procedure doesn't work, or the discovery report identifies an inactive installation, Microsoft also documents how to handle partially installed SQL Server instances.
Relevant Microsoft documentation:
- https://learn.microsoft.com/en-us/sql/database-engine/install-windows/install-sql-server-from-the-installation-wizard-setup
- https://learn.microsoft.com/en-us/sql/sql-server/install/uninstall-an-existing-instance-of-sql-server-setup
- https://learn.microsoft.com/en-us/troubleshoot/sql/database-engine/install/windows/remove-partial-installation