How to uninstall an app that another user installed?

前端 未结 13 515
时光取名叫无心
时光取名叫无心 2020-12-02 09:24

I keep hitting this problem when I try to debug my Windows 8 apps and there is a copy already installed on another user account:

DEP0700 : Registratio

13条回答
  •  隐瞒了意图╮
    2020-12-02 09:55

    There is a set of PowerShell cmdlets for managing Windows Store apps. You can list the installed apps on the machine for all the users if you run the following command as an administrator:

    Get-AppxPackage -AllUsers
    

    I haven't found a way to uninstall an app for a different user, though. Remove-AppxPackage works only for the current user. This makes everything even more interesting if you delete a user having apps installed. At least in prerelease versions of Windows 8 this made it impossible to delete an app he had installed. I managed to successfully avoid such a situation since final release therefore I can't confirm the problem is still present, i.e. apps aren't uninstalled when a user account is deleted.

提交回复
热议问题