A community member has associated this post with a similar question:
SQL Server 2025 Express uninstall fails with error 29569 – RestoreSetupParams

Only moderators can edit this content.

SQL Server 2025 Express uninstall fails with error 29569 – RestoreSetupParams

Shyam Nikhil 0 Reputation points
2026-12-03T10:07:08.16+00:00

I checked the Installed SQL Server Features Discovery Report. Neither SQLEXPRESS nor SQLEXPRESS01 appears as INACTIVE; both appear as Configured Yes.

However, the latest SQLEXPRESS uninstall summary explicitly says the Database Engine uninstall cannot be tried again and recommends contacting Microsoft Customer Support.

Should I run a partial-installation uninstall command for either instance despite this warning, or is there a different supported recovery procedure for error 29569 in this situation?

SQL Server Database Engine
0 comments No comments

1 answer

Sort by: Most helpful
  1. AI answer

    2026-12-03T10:08:19.0366667+00:00

    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 /x against 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^

    1. Do not make further Setup or registry changes.
    2. Copy the complete latest Setup log directory to a safe location:
         %ProgramFiles%\Microsoft SQL Server\<nnn>\Setup Bootstrap\Log\<yyyyMMdd_HHmmss>
      
      Include Summary.txt, Detail.txt, all feature-specific MSI logs, the Datastore directory, and the generated .cab file. In Detail.txt, inspect the end first and then search for error and exception; in the relevant MSI log, search for value 3 and inspect the surrounding entries.^4^
    3. 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.
    4. Inventory the uninstall metadata without changing it. Run this from an elevated PowerShell window:
         Get-ItemProperty `
           'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\*' |
           Where-Object { $_.DisplayName -like '*SQL Server*' } |
           Select-Object DisplayName, DisplayVersion, PSChildName |
           Format-Table -AutoSize
      
      Save the output and compare the candidate entries with the InstanceId, 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^
    5. Export relevant registry keys before any support-directed repair. Incorrect registry editing can damage SQL Server or other installed products. Any missing InstanceId or uninstall metadata should be restored only when its correct value is established from a validated source or under Microsoft Support guidance.^3^
    6. Open a Microsoft Support case and provide:
      • Complete Setup Bootstrap log folder
      • Summary.txt and Detail.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

    1. Remove a partial installation of SQL Server
    2. Install, configure, or uninstall SQL Server on Windows from the command prompt
    3. SQL Server upgrade fails with error 29569
    4. View and read SQL Server Setup log files
    AI-generated content may be incorrect. Read our transparency notes for more information.