MicrosoftEdge / MicrosoftEdge/WebView2Feedback

How can I delete the user Data folder ?

Open
#1,558 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug priority-low tracked
Dominant language
PowerShell
Stars
526
Forks
67
PR merge metrics
No merged PRs in 30d

Description

I have tried to delete the user data folder that I've created in AppData\Roaming\myappname, after the form is closed and all processes of Microsoft Edge WebView2 is closed, but still I get this exception :
path to file BrowserMetrics-60FA3663-2684.pma is denied.

AB#34815245

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No repository file, test, or entry point is identified. Start by reproducing the deletion attempt after the form and Microsoft Edge WebView2 processes close, focusing on the reported BrowserMetrics file-denied exception. Done means the cause of the locked or inaccessible file is identified and a supported way to remove the user data folder is documented or verified.

Written by the indexing model from the issue text.

Assessment

Domain
desktop, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.