Skip to content

.NET Core Uninstall Tool MSI is unsuitable for automation; request for standalone ZIP version reinstatement or MSI fix #394

@rand0mnz

Description

@rand0mnz

We are attempting to deploy and automate the use of the .NET Core Uninstall Tool across our organization using Microsoft Intune and other endpoint management tools. Unfortunately, the current delivery method — via a single dotnet-core-uninstall.msi — has several critical issues that make it unsuitable for scalable, automated use:

Problems with Current MSI:

  • The MSI installs to C:\Program Files (x86), even on 64-bit systems, causing confusion and file path issues.

  • Even when run from an elevated Administrator PowerShell session or SYSTEM context (via Intune Win32 apps or Proactive Remediations), the tool throws:

"The current user does not have adequate privileges. See https://aka.ms/dotnet-core-uninstall-docs"

  • The MSI package does not extract usable standalone binaries (e.g., dotnet-core-uninstall.exe + required Microsoft.Deployment.DotNet.Uninstall.*.dll files), making it impossible to repackage or relocate.

  • The tool cannot be invoked reliably from scripts, automation, or Intune even under elevated permissions, completely defeating its purpose in enterprise environments.

Previous ZIP Format Worked:

  • Earlier versions of the tool (e.g., v1.6.0) were distributed as ZIP files that included the standalone executable and all required DLLs.
  • These could be reliably deployed, copied to a standard location (e.g., C:\Program Files\dotnet-core-uninstall), and invoked with Start-Process -Verb RunAs or from SYSTEM context without issues.

Request:
Please either:

  1. Reinstate the ZIP distribution of the tool (e.g., as dotnet-core-uninstall.zip with the full EXE + DLLs), or

  2. Fix the MSI installer so that:

  • It installs to a 64-bit path (C:\Program Files)
  • It works when invoked from an elevated shell or system context
  • It exposes a usable install structure for scripting and automation

This tool is essential for keeping systems clean of deprecated SDKs and runtimes (e.g., .NET Core 3.1, 5.0), especially in security-conscious environments. A fix would significantly improve enterprise support.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions