You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

如何在Windows 11中卸载.NET 6 WindowsDesktop-Runtime 6.0.9?

卸载WindowsDesktop-Runtime 6.0.9的可行方法

方法一:通过Windows系统设置卸载

  • 打开「设置」→「应用」→「应用和功能」
  • 在顶部搜索框输入 WindowsDesktop-Runtime 6.0.9 或关键词 .NET
  • 找到目标运行时条目后,点击右侧「卸载」,按照提示完成操作即可

方法二:命令行卸载

方式1:借助MSI卸载(需获取产品GUID)

  1. 打开CMD或PowerShell,执行命令查找对应产品代码:
    wmic product where "name like '%WindowsDesktop%Runtime%6.0.9%'" get Name, IdentifyingNumber
    
  2. 复制输出的IdentifyingNumber(即一串GUID),执行静默卸载命令:
    msiexec /x {替换为找到的GUID} /quiet
    

方式2:使用dotnet官方命令

直接执行以下命令卸载指定版本的Windows Desktop Runtime:

dotnet uninstall runtime Microsoft.WindowsDesktop.App 6.0.9

方法三:手动清理(仅前两种方法失效时尝试)

  • 删除安装目录:默认路径为 C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App\6.0.9
  • 删除注册表项:打开注册表编辑器(运行regedit),定位到HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall,找到对应运行时的条目并删除

内容的提问来源于stack exchange,提问作者alex

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.08.12 08:05:22