.NET Runtime Uninstall Registry Inconsistency on Some Systems

2026-07-27T13:34:26.6666667+00:00

Hi Microsoft Support Team,

We are observing inconsistent behavior while uninstalling .NET Core components (ASP.NET Core Runtime, .NET Desktop Runtime, .NET Runtime, and .NET SDK) through Programs and Features (Control Panel) on a subset of Windows systems.

Issue Description

When uninstalling the .NET components from Control Panel, we observed the following behavior on only some systems:

  • The application is removed from Programs and Features.
  • However, the corresponding registry entry under:
  HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{GUID}

remains present.

This results in an inconsistent state where the application no longer appears in Control Panel, but the uninstall registry key is still retained.

Additional Observation

We also observed the reverse scenario:

  • If we manually delete the corresponding Uninstall registry key, the application is immediately removed from Programs and Features.

This indicates that the Control Panel entry is directly associated with the uninstall registry information. However, in the affected systems, uninstalling through Control Panel does not consistently remove the registry entry. It only removed "UninstallString" from the registry path.

Questions

We would appreciate your guidance on the following:

  1. Why does the uninstall process leave the Uninstall registry entry behind on only some systems?
  2. Is this a known issue with Windows Installer or the .NET uninstall process?
  3. What conditions can cause the registry cleanup to fail while the product is removed from Control Panel?
  4. Are there any known issues specific to .NET Runtime, ASP.NET Core Runtime, Desktop Runtime, or SDK uninstall that could result in this behavior?
  5. Is there a Microsoft-recommended method to repair or clean up these orphaned uninstall registry entries?

This issue has been observed only on a subset of systems, while the uninstall process works as expected on other machines.

We would appreciate any guidance regarding the root cause and the recommended resolution.

Kind regards,
Haritha D

Windows for business | Windows Server | User experience | Other
0 comments No comments

Answer accepted by question author
Allan Solomon Mejia 9,000 Reputation points
2026-07-27T18:49:24.5033333+00:00

Hello,

What you're describing isn't expected behavior. During a successful uninstall, the corresponding entry under:

HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall{GUID}

(or the 64-bit equivalent) should normally be removed by the installer.

If the registry key remains while only the UninstallString value is removed, it generally indicates that the uninstall completed only partially or that the installer encountered an issue during its cleanup phase. A few things to investigate are:

  • Compare the affected and unaffected systems for differences in the installed .NET version, installation source (offline installer, Visual Studio, Windows Update, Winget, etc.), and Windows build.
  • Check the Windows Installer logs and Event Viewer (Application and Setup logs) for MSI or installer-related errors during the uninstall.
  • If verbose MSI logging is available (msiexec /x {ProductCode} /L*V uninstall.log), review the log to determine whether the registry removal actions completed successfully.
  • Verify that no endpoint security, application control, or registry protection software is preventing modification of the uninstall registry key.
  • Confirm that the account performing the uninstall has sufficient administrative privileges and that no Group Policy or registry permissions differ between affected and unaffected machines.

If this behavior is reproducible only with specific .NET Runtime or SDK versions, it would also be helpful to identify the exact version (for example, .NET 8 or .NET 9) and whether it was installed via the standalone installer, Visual Studio, or another deployment mechanism.

If you can provide the .NET version, Windows build, and whether the affected components were installed via MSI, Visual Studio, Windows Update, or another deployment method, it may help narrow down whether this is a product-specific issue or an environmental one.

Please "Accept the Answer" if this information helped you. This will help us and others in the community as well.

Was this answer helpful?

1 person found this answer helpful.

0 additional answers

Sort by: Newest

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.