UWP remove PasswordVault entries when uninstall the app

Pierre Colart 20 Reputation points
2024-02-22T12:46:10.36+00:00

We have actually an application running under UWP. We were investigate some security issues related to the application: we are storing sensible data into the Credential Locker using PasswordVault. The issue is : when we uninstall the app, the data still persist on the app and we want to remove it whenever the app is uninstalled.

We tried to use :

  • PackageUninstalling to detect the event, but what happen when the app is not running ?
  • We have investigate Desktop6 but looks like it is related to Games

We expect a solution to remove these sensible data during the uninstallation process

Universal Windows Platform (UWP)
0 comments No comments
{count} votes

Accepted answer
  1. Junjie Zhu - MSFT 20,846 Reputation points Microsoft External Staff
    2024-02-23T06:10:06.29+00:00

    Hi @Pierre Cochet ,

    Welcome to Microsoft Q&A!

    Sorry, UWP currently cannot monitor its own uninstall event outside of the process.

    Thank you.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.