How to uninstall an app that another user installed?

前端 未结 13 537
时光取名叫无心
时光取名叫无心 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:49

    On windows 10 :

    First, you need an SQL database editor like SqliteBrowser3

    1. Do that manipulation as system user (use psexec or else)
    2. Make a copy of C:\ProgramData\Microsoft\Windows\AppRepository\StateRepository-Machine.srd
    3. Open that copy with SqliteBrowser3
    4. You will need to edit "package", "packageuser" and "user" table. To do so, you will need to note down ghost user id from "user" table and then remove them. Then, remove entries having ghost user id in user column from "packageuser" table.
    5. kill tasklist /svc /fi "services eq StateRepository"
    6. replace original StateRepository-Machine.srd after backup.
    7. reboot and then you could remove your package normally

    Note : you need to leave your own user entry assigned to the package

提交回复
热议问题