MicrosoftEdge / MicrosoftEdge/WebView2Feedback

[Problem/Bug]: Not working with Administrator Protection feature

Open
#5,077 6 comments 0 reactions 1 assignee View on GitHub

@gourabkmsft is already working on this.

Since Feb 3, 2025.

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

Description

What happened?

The Administrator Protection feature that has already been there and is being surfaced in Windows Insider builds causes issues with Webview apps.


We couldn't create the data directory

Microsoft Edge can't read and write to its data directory:

    C:\Users\ADMIN_(redacted)\AppData\Local\driverscloud\EBWebView

OK

Feedback also sent by Windows Insider program.

Importance

Blocking. My app's basic functions are not working due to this issue.

Runtime Channel

Stable release (WebView2 Runtime), Prerelease (Edge Canary/Dev/Beta)

Runtime Version

No response

SDK Version

No response

Framework

Other

Operating System

Windows 11

OS Version

27783.1000

Repro steps

Launch app that elevates.

Repros in Edge Browser

No, issue does not reproduce in the corresponding Edge version

Regression

No, this never worked

Last working version (if regression)

No response

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.