Skip to content

WebView2 controller is not created when launch application as different Admin user #3738

Closed
@mdnchauhan

Description

@mdnchauhan

The case is:-
Logged in to machine as a standard user (non admin) user_S
Run the application as a different user (admin) user_A

  • Application launched and running as user_A
  • But ICoreWebView2Controller is null during CreateCoreWebView2Controller.

Some more observation -
1- Login as user_S and Run the app : everything works fine and I can see app + msedgewebview2.exe both are running as user_S.
2- Login as user_A and Run the app : everything works fine and I can see app + msedgewebview2.exe both are running as user_A.
3- Login as user_S and Run the app as user_A : app is as user_A BUT msedgewebview2.exe is not running.

Note- I am providing webview2 userdata folder that is accessible and readable/writable to all users during CreateCoreWebView2EnvironmentWithOptions.

Version
working on Win10.
installed WebView2 version 115.0.1901.203
WebView2 component is installed at C:\Program Files (x86)\Microsoft\EdgeWebView\Application\115.0.1901.203

Is there any settings that I can change at the time of WebView2 initialization, or is it a limitation of WebView2?

AB#46240515

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingtrackedWe are tracking this work internally.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions