删除 NoUIEntryPoints-DesignMode 包 [英] Delete NoUIEntryPoints-DesignMode packages

查看:16
本文介绍了删除 NoUIEntryPoints-DesignMode 包的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

卸载程序时,我看到数百个名为NoUIEntryPoints-DesignMode"的包.根据我的研究,我已经认识到,如果您调试注册了文件扩展名的 UWP 应用程序,它将创建此包并且系统无法删除它.

When uninstalling programs I see hundreds of packages with the name "NoUIEntryPoints-DesignMode". As a result of my research I have recognized if you debug an UWP-App which registers a file extension it will create this package and the system is not able to delete it.

如何将它们全部删除?

目前应用和功能"页面如下所示:

At the moment the "Apps & Features"-Page looks like this:

推荐答案

您可以使用以下 PowerShell 命令:

You can use the following PowerShell command:

Get-AppxPackage -Publisher "CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US" |?{$_.IsDevelopmentMode -eq "True"} |Remove-AppxPackage

这有 3 个步骤:

  1. 获取所有已安装的 Microsoft 发布的 AppX 包.
  2. 通过标记为 DevelopmentMode 的那些过滤它们.
  3. 删除结果.

我只是浪费了大量时间试图弄清楚如何删除 1000 多个NoUIEntryPoints-DesignMode"调试应用程序部署,所以我认为我会让其他开发人员烦恼.

I just wasted a bunch of time trying to figure out how to remove 1000+ "NoUIEntryPoints-DesignMode" debug application deploys as well so I thought I'd save other developers to annoyance.

注意:如果你只是想删除所有开发者模式的应用,你可以去掉 -Publisher 过滤:

Note: If you have just want to delete all developer mode apps, you can remove the -Publisher filtering:

Get-AppxPackage |?{$_.IsDevelopmentMode -eq "True"} |Remove-AppxPackage

这篇关于删除 NoUIEntryPoints-DesignMode 包的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆