Core component of SQL Server for storing, processing, and securing data
Do not run a partial-installation uninstall command against either configured instance; because neither instance is listed as <InstanceName>.INACTIVE and Setup says the Database Engine uninstall cannot be retried, preserve the current state and use the error 29569 metadata-recovery procedure with Microsoft Support.
Why the partial-installation procedure does not apply
The partial-installation workflow is specifically for an inactive instance shown in the discovery report, or for a command explicitly generated by Summary.txt to remove that inactive installation. Its /INSTANCEID and /FEATURES values must not be substituted with values from another installation. On a multi-instance computer, targeting the wrong instance can remove a working instance or shared components.^1^
Your report instead shows SQLEXPRESS and SQLEXPRESS01 as configured. Therefore, do not:
- Adapt an inactive-instance command for either configured instance.
- Run
msiexec /xagainst guessed SQL Server product codes. - Delete SQL Server registry keys, services, Installer-cache files, or folders.
- Retry the Database Engine uninstall after Setup explicitly says it cannot be retried.
The normal command-line uninstall syntax is supported for an existing instance, but it is not a recovery mechanism for inconsistent Setup metadata.^2^
Supported recovery path for error 29569
Error 29569 indicates that Setup cannot restore required installed-instance metadata, commonly because InstanceId or related uninstall metadata is missing or inconsistent. Microsoft’s procedure is to identify the mismatch and restore only metadata confirmed to be missing, using a validated source or Microsoft Support guidance.^3^
- Do not make further Setup or registry changes.
- Copy the complete latest Setup log directory to a safe location:
Include%ProgramFiles%\Microsoft SQL Server\<nnn>\Setup Bootstrap\Log\<yyyyMMdd_HHmmss>Summary.txt,Detail.txt, all feature-specific MSI logs, theDatastoredirectory, and the generated.cabfile. InDetail.txt, inspect the end first and then search forerrorandexception; in the relevant MSI log, search forvalue 3and inspect the surrounding entries.^4^ - Save both HTML and XML versions of the Installed SQL Server Features Discovery Report. Keep the report demonstrating that both instances are configured rather than inactive.
- Inventory the uninstall metadata without changing it. Run this from an elevated PowerShell window:
Save the output and compare the candidate entries with theGet-ItemProperty ` 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\*' | Where-Object { $_.DisplayName -like '*SQL Server*' } | Select-Object DisplayName, DisplayVersion, PSChildName | Format-Table -AutoSizeInstanceId, feature, and product information in the Setup logs. This is diagnostic only; do not create, rename, or delete registry values based solely on the comparison.^3^ - Export relevant registry keys before any support-directed repair. Incorrect registry editing can damage SQL Server or other installed products. Any missing
InstanceIdor uninstall metadata should be restored only when its correct value is established from a validated source or under Microsoft Support guidance.^3^ - Open a Microsoft Support case and provide:
- Complete Setup Bootstrap log folder
-
Summary.txtandDetail.txt - Feature-specific and other relevant MSI logs
- Discovery report in HTML and XML
- The read-only uninstall-metadata inventory
- Exact commands already run and their return codes
- Instance names, instance IDs, editions, versions, and installed features
- A system-configuration snapshot
Microsoft’s removal guidance says to stop manual cleanup and escalate when removal repeatedly fails, another working instance or shared features could be affected, the product mapping is uncertain, or the remaining action would require manual deletion.^1^
Only after the installed-instance metadata has been made consistent should Setup be retried.^3^
References