Not sure about how to fix .NET 8.0.4 uninstall failure

SomeguyinITprobably-5539 0 Reputation points
2024-12-25T21:18:05.0633333+00:00

I have a handful of devices which recently had .NET 8.0.4 install on it. This version has vulnerabilities. I'm hoping to fix all of this remotely, preferable with PowerShell. Before attempting the removal of .NET 8.0.4 x86 I've installed .NET 8.0.11 x86 remotely. When I run the command Start-Process -FilePath "c:\Windows\ccmcache\OLEdB\dotnet-runtime-8.0.4-win-x86.exe" -ArgumentList "/quiet /log C:\Windows\CCM\Logs\2dotnet8.0.4.log /uninstall" -Wait the command completes, .NET 8.0.4 is still installed. It appears there are dependencies for this old, obsolete version of .NET 8.0.4. Does any one have advice on how to remotely remove this obsolete version. I've included the log below.

[32EC:4FE8][2024-12-25T14:59:37]i001: Burn v3.14.0.8606, Windows v10.0 (Build 19045: Service Pack 0), path: C:\Windows\Temp\{F276AFB7-0B0E-4302-A647-2C4A09E36B95}\.cr\dotnet-runtime-8.0.4-win-x86.exe

[32EC:4FE8][2024-12-25T14:59:37]i000: Initializing string variable 'BUNDLEMONIKER' to value 'Microsoft .NET Runtime - 8.0.4 (x86)'

[32EC:4FE8][2024-12-25T14:59:37]i000: Initializing string variable 'PRODUCT_NAME' to value 'Microsoft .NET Runtime - 8.0.4 (x86)'

[32EC:4FE8][2024-12-25T14:59:37]i000: Initializing string variable 'LINK_PREREQ_PAGE' to value 'https://go.microsoft.com/fwlink/?linkid=846817'

[32EC:4FE8][2024-12-25T14:59:37]i009: Command Line: '-burn.clean.room=C:\Windows\ccmcache\OLEdB\dotnet-runtime-8.0.4-win-x86.exe -burn.filehandle.attached=712 -burn.filehandle.self=720 /quiet /log C:\Windows\CCM\Logs\2dotnet8.0.4.log /uninstall'

[32EC:4FE8][2024-12-25T14:59:37]i000: Setting string variable 'WixBundleOriginalSource' to value 'C:\Windows\ccmcache\OLEdB\dotnet-runtime-8.0.4-win-x86.exe'

[32EC:4FE8][2024-12-25T14:59:37]i000: Setting string variable 'WixBundleOriginalSourceFolder' to value 'C:\Windows\ccmcache\OLEdB\'

[32EC:4FE8][2024-12-25T14:59:37]i000: Setting string variable 'WixBundleLog' to value 'C:\Windows\CCM\Logs\2dotnet8.0.4.log'

[32EC:4FE8][2024-12-25T14:59:37]i000: Setting string variable 'WixBundleManufacturer' to value 'Microsoft Corporation'

[32EC:54EC][2024-12-25T14:59:37]i000: Setting numeric variable 'WixStdBALanguageId' to value 1033

[32EC:54EC][2024-12-25T14:59:37]i000: Setting version variable 'WixBundleFileVersion' to value '8.0.4.33519'

[32EC:4FE8][2024-12-25T14:59:37]i100: Detect begin, 3 packages

[32EC:4FE8][2024-12-25T14:59:37]i102: Detected related bundle: {f6651322-a339-4553-b0e3-4f405d4a8f5f}, type: Upgrade, scope: PerMachine, version: 8.0.11.34217, operation: None

[32EC:4FE8][2024-12-25T14:59:37]i108: Detected compatible package: dotnet_host_8.0.4_win_x86.msi, provider: Dotnet_CLI_SharedHost_8.0_x86, installed: {45D974D3-5A16-4D43-8905-6F9E3475472B}, version: 64.44.23191, chained: {417B3118-9B7D-44B2-9AE8-B309A107636B}

[32EC:4FE8][2024-12-25T14:59:37]i103: Detected related package: {45D974D3-5A16-4D43-8905-6F9E3475472B}, scope: PerMachine, version: 64.44.23191.0, language: 0 operation: Downgrade

[32EC:4FE8][2024-12-25T14:59:37]i101: Detected package: dotnet_runtime_8.0.4_win_x86.msi, state: Present, cached: Complete

[32EC:4FE8][2024-12-25T14:59:37]i101: Detected package: dotnet_hostfxr_8.0.4_win_x86.msi, state: Present, cached: Complete

[32EC:4FE8][2024-12-25T14:59:37]i101: Detected package: dotnet_host_8.0.4_win_x86.msi, state: Obsolete, cached: Complete

[32EC:4FE8][2024-12-25T14:59:37]i052: Condition '((VersionNT > v6.1) OR (VersionNT = v6.1 AND ServicePackLevel >= 1))' evaluates to true.

[32EC:4FE8][2024-12-25T14:59:37]i199: Detect complete, result: 0x0

[32EC:4FE8][2024-12-25T14:59:37]i200: Plan begin, 3 packages, action: Uninstall

[32EC:4FE8][2024-12-25T14:59:37]w327: Will not uninstall package: {45D974D3-5A16-4D43-8905-6F9E3475472B}, found dependents: 2

[32EC:4FE8][2024-12-25T14:59:37]w328: Found dependent: {32e2abd1-d551-490e-897a-e59b2c59be7b}, name: Microsoft Windows Desktop Runtime - 8.0.4 (x86)

[32EC:4FE8][2024-12-25T14:59:37]w328: Found dependent: {f6651322-a339-4553-b0e3-4f405d4a8f5f}, name: Microsoft .NET Runtime - 8.0.11 (x86)

[32EC:4FE8][2024-12-25T14:59:37]w327: Will not uninstall package: dotnet_hostfxr_8.0.4_win_x86.msi, found dependents: 1

[32EC:4FE8][2024-12-25T14:59:37]w328: Found dependent: {32e2abd1-d551-490e-897a-e59b2c59be7b}, name: Microsoft Windows Desktop Runtime - 8.0.4 (x86)

[32EC:4FE8][2024-12-25T14:59:37]w327: Will not uninstall package: dotnet_runtime_8.0.4_win_x86.msi, found dependents: 1

[32EC:4FE8][2024-12-25T14:59:37]w328: Found dependent: {32e2abd1-d551-490e-897a-e59b2c59be7b}, name: Microsoft Windows Desktop Runtime - 8.0.4 (x86)

[32EC:4FE8][2024-12-25T14:59:37]i207: Planned related bundle: {f6651322-a339-4553-b0e3-4f405d4a8f5f}, type: Upgrade, default requested: None, ba requested: None, execute: None, rollback: None, dependency: None

[32EC:4FE8][2024-12-25T14:59:37]i201: Planned package: dotnet_host_8.0.4_win_x86.msi, state: Obsolete, default requested: None, ba requested: None, execute: None, rollback: None, cache: No, uncache: Yes, dependency: Unregister

[32EC:4FE8][2024-12-25T14:59:37]i201: Planned package: dotnet_hostfxr_8.0.4_win_x86.msi, state: Present, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: Unregister

[32EC:4FE8][2024-12-25T14:59:37]i201: Planned package: dotnet_runtime_8.0.4_win_x86.msi, state: Present, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: Unregister

[32EC:4FE8][2024-12-25T14:59:37]i201: Planned package: {45D974D3-5A16-4D43-8905-6F9E3475472B}, state: Present, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: Unregister

[32EC:4FE8][2024-12-25T14:59:37]i299: Plan complete, result: 0x0

[32EC:4FE8][2024-12-25T14:59:37]i300: Apply begin

[32EC:4FE8][2024-12-25T14:59:37]i010: Launching elevated engine process.

[32EC:4FE8][2024-12-25T14:59:37]i011: Launched elevated engine process.

[32EC:4FE8][2024-12-25T14:59:37]i012: Connected to elevated engine.

[0328:39D0][2024-12-25T14:59:37]i358: Pausing automatic updates.

[0328:39D0][2024-12-25T14:59:37]i359: Paused automatic updates.

[0328:39D0][2024-12-25T14:59:37]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{f120b0df-7a62-4b2d-9069-bb247eaf7579}, resume: Active, restart initiated: No, disable resume: No

[0328:39D0][2024-12-25T14:59:37]i326: Removed dependency: {f120b0df-7a62-4b2d-9069-bb247eaf7579} on package provider: Dotnet_CLI_SharedHost_8.0_x86, package dotnet_host_8.0.4_win_x86.msi

[0328:39D0][2024-12-25T14:59:37]i326: Removed dependency: {f120b0df-7a62-4b2d-9069-bb247eaf7579} on package provider: Dotnet_CLI_SharedHost_8.0_x86, package {45D974D3-5A16-4D43-8905-6F9E3475472B}

[0328:39D0][2024-12-25T14:59:37]i326: Removed dependency: {f120b0df-7a62-4b2d-9069-bb247eaf7579} on package provider: Dotnet_CLI_HostFxr_64.16.12025_x86, package dotnet_hostfxr_8.0.4_win_x86.msi

[0328:39D0][2024-12-25T14:59:37]i326: Removed dependency: {f120b0df-7a62-4b2d-9069-bb247eaf7579} on package provider: dotnet_runtime_64.16.12025_x86, package dotnet_runtime_8.0.4_win_x86.msi

[0328:39D0][2024-12-25T14:59:37]i351: Removing cached package: dotnet_host_8.0.4_win_x86.msi, from path: C:\ProgramData\Package Cache\{417B3118-9B7D-44B2-9AE8-B309A107636B}v64.16.12025\

[0328:39D0][2024-12-25T14:59:37]i372: Session end, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{f120b0df-7a62-4b2d-9069-bb247eaf7579}, resume: None, restart: None, disable resume: No

[0328:39D0][2024-12-25T14:59:37]i330: Removed bundle dependency provider: {f120b0df-7a62-4b2d-9069-bb247eaf7579}

[0328:39D0][2024-12-25T14:59:37]i352: Removing cached bundle: {f120b0df-7a62-4b2d-9069-bb247eaf7579}, from path: C:\ProgramData\Package Cache\{f120b0df-7a62-4b2d-9069-bb247eaf7579}\

[0328:39D0][2024-12-25T14:59:37]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{f120b0df-7a62-4b2d-9069-bb247eaf7579}, resume: None, restart initiated: No, disable resume: No

[32EC:4FE8][2024-12-25T14:59:37]i399: Apply complete, result: 0x0, restart: None, ba requested restart: No

[32EC:4FE8][2024-12-25T14:59:37]i500: Shutting down, exit code: 0x0

[32EC:4FE8][2024-12-25T14:59:37]i410: Variable: BUNDLEMONIKER = Microsoft .NET Runtime - 8.0.4 (x86)

[32EC:4FE8][2024-12-25T14:59:37]i410: Variable: LINK_PREREQ_PAGE = https://go.microsoft.com/fwlink/?linkid=846817

[32EC:4FE8][2024-12-25T14:59:37]i410: Variable: PRODUCT_NAME = Microsoft .NET Runtime - 8.0.4 (x86)

[32EC:4FE8][2024-12-25T14:59:37]i410: Variable: VersionNT = 10.0.0.0

[32EC:4FE8][2024-12-25T14:59:37]i410: Variable: WixBundleAction = 3

[32EC:4FE8][2024-12-25T14:59:37]i410: Variable: WixBundleElevated = 1

[32EC:4FE8][2024-12-25T14:59:37]i410: Variable: WixBundleFileVersion = 8.0.4.33519

[32EC:4FE8][2024-12-25T14:59:37]i410: Variable: WixBundleInstalled = 1

[32EC:4FE8][2024-12-25T14:59:37]i410: Variable: WixBundleLog = C:\Windows\CCM\Logs\2dotnet8.0.4.log

[32EC:4FE8][2024-12-25T14:59:37]i410: Variable: WixBundleManufacturer = Microsoft Corporation

[32EC:4FE8][2024-12-25T14:59:37]i410: Variable: WixBundleName = Microsoft .NET Runtime - 8.0.4 (x86)

[32EC:4FE8][2024-12-25T14:59:37]i410: Variable: WixBundleOriginalSource = C:\Windows\ccmcache\OLEdB\dotnet-runtime-8.0.4-win-x86.exe

[32EC:4FE8][2024-12-25T14:59:37]i410: Variable: WixBundleOriginalSourceFolder = C:\Windows\ccmcache\OLEdB\

[32EC:4FE8][2024-12-25T14:59:37]i410: Variable: WixBundleProviderKey = {f120b0df-7a62-4b2d-9069-bb247eaf7579}

[32EC:4FE8][2024-12-25T14:59:37]i410: Variable: WixBundleSourceProcessFolder = C:\Windows\ccmcache\OLEdB\

[32EC:4FE8][2024-12-25T14:59:37]i410: Variable: WixBundleSourceProcessPath = C:\Windows\ccmcache\OLEdB\dotnet-runtime-8.0.4-win-x86.exe

[32EC:4FE8][2024-12-25T14:59:37]i410: Variable: WixBundleTag =

[32EC:4FE8][2024-12-25T14:59:37]i410: Variable: WixBundleUILevel = 2

[32EC:4FE8][2024-12-25T14:59:37]i410: Variable: WixBundleVersion = 8.0.4.33519

[32EC:4FE8][2024-12-25T14:59:37]i410: Variable: WixStdBALanguageId = 1033

[32EC:4FE8][2024-12-25T14:59:37]i007: Exit code: 0x0, restarting: No

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,008 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,182 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Bruce (SqlWork.com) 68,486 Reputation points
    2024-12-25T22:13:51.6233333+00:00

    .net core installs side by side even updates. There is a utility to delete older versions.

    https://learn.microsoft.com/en-us/dotnet/core/additional-tools/uninstall-tool-overview?pivots=os-windows

    0 comments No comments

Your answer

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