Delete NoUIEntryPoints-DesignMode packages

后端 未结 1 1390
误落风尘
误落风尘 2020-12-23 14:04

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 whic

相关标签:
1条回答
  • 2020-12-23 14:50

    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

    This does 3 steps:

    1. Gets all installed AppX packages published by Microsoft.
    2. Filters them by those marked as DevelopmentMode.
    3. Removes the results.

    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.

    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

    0 讨论(0)
提交回复
热议问题