WebView2 application can't open file dialog when it run as administrator

jang 1 Reputation point
2022-07-21T07:07:49.93+00:00

WebView2 WPF application can't open file dialog when it run as administrator. When I run the application as user mode, I can open file dialog normally.

Microsoft Edge Microsoft Edge development
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Anonymous
    2022-07-22T06:20:33.213+00:00

    Hi @jang ,

    I think the issue you mentioned is the same as this thread on github: WebView2 WPF application can't open file dialog when it run as administrator.

    As the related team member already mentioned, WebView2 doesn't support running as administrator. So this is by design, hope you understand.

    Best regards,
    Xudong Peng


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

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.