Skip to content

Commit 1ba3e34

Browse files
authored
Merge pull request #9086 from prmadhes-msft/patch-2
AB#6236: Update remove-partial-installation.md
2 parents 0f8eac3 + ea9c277 commit 1ba3e34

File tree

1 file changed

+26
-4
lines changed

1 file changed

+26
-4
lines changed

support/sql/database-engine/install/windows/remove-partial-installation.md

Lines changed: 26 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
---
22
title: Remove a partial installation of SQL Server
33
description: This article describes the procedure to remove a partial installation of SQL Server.
4-
ms.date: 09/25/2020
4+
ms.date: 06/16/2025
55
ms.custom: sap:Installation, Patching, Upgrade, Uninstall
6-
ms.reviewer: amylewis
6+
ms.reviewer: prmadhes
77
ms.topic: how-to
88
---
99

@@ -33,11 +33,33 @@ Use the following procedure to resolve the problem:
3333
1. Using an elevated command prompt, navigate to the location of 'setup.exe' for \<SQL Version upgrading to\> installation media directory and execute the command from Step 2.
3434

3535
> [!NOTE]
36-
> It's very important to ensure you are running the commands against the right instance or else you may end up uninstalling a working instance.
36+
> It's very important to ensure you're running the commands against the right instance or else you may end up uninstalling a working instance.
3737
3838
1. Launch the **Installation Center** wizard GUI from either the SQL Server Program group or by rerunning the setup program.
3939

40-
1. Navigate to the **Tools** menu and select the **Installed SQL Server features discovery report** and verify there are no more \<instance name\>.INACTIVE instances shown in the report.
40+
1. Navigate to the **Tools** menu, select the **Installed SQL Server features discovery report**, and verify there are no more `<instance name>.INACTIVE` instances shown in the report.
41+
42+
1. If there are inactive instances in the discovery report, follow these steps to remove them:
43+
44+
1. Open the corresponding XML file.
45+
1. Find each `MSSQLSERVER.INACTIVE` entry.
46+
1. Locate and note down the value of `ProductCode`. Here's an example:
47+
48+
```xml
49+
ProductCode="{XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}"
50+
```
51+
1. Open **Command Prompt** as an administrator and run the following command for each `ProductCode`:
52+
53+
```cmd
54+
msiexec /x {PRODUCT-CODE-GUID}
55+
```
56+
57+
> [!NOTE]
58+
> Repeat the command for each **ProductCode** linked to the inactive instance. Here's an example:
59+
>
60+
> ```cmd
61+
> msiexec /x {9FFAE13C-6160-4DD0-A67A-DAC5994F81BD}
62+
> ```
4163

4264
1. Retry the setup program that was originally failing to complete.
4365

0 commit comments

Comments
 (0)