Where does these tasks come from ???

KeldSor 351 Reputation points
2022-02-05T09:57:29.397+00:00

My TastManager sometimes shows a lot (10-15) of "Microsoft Edge WebView2" each taking up some 10-18Mb memory !

Whats the cause of these tasks - I NEVER uses Edge and never will !

How can I prevent them to emerge ?

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,759 questions
0 comments No comments
{count} votes

5 answers

Sort by: Most helpful
  1. Andreas Baumgarten 98,531 Reputation points MVP
    2022-02-05T10:02:43.43+00:00

    Hi @KeldSor ,

    maybe this helps: https://learn.microsoft.com/en-us/microsoft-edge/webview2/

    The Microsoft Edge WebView2 control allows you to embed web technologies (HTML, CSS, and JavaScript) in your native apps.

    It looks like an installed app on your computer is using the Microsoft Edge WebView2.

    ----------

    (If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)

    Regards
    Andreas Baumgarten

    0 comments No comments

  2. KeldSor 351 Reputation points
    2022-02-05T10:39:41.657+00:00

    Where can I check that it isn't my VS2022 that references this control without me knowing ?

    0 comments No comments

  3. Andreas Baumgarten 98,531 Reputation points MVP
    2022-02-05T10:46:05.8+00:00

    Hi @KeldSor ,

    if you take a look here you can see how WebView2 SDK is added:
    https://learn.microsoft.com/en-us/microsoft-edge/webview2/get-started/win32#step-2---install-webview2-sdk

    There are more examples in the "Get started"§ section on the left navigation bar on the webpage.

    ----------

    (If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)

    Regards
    Andreas Baumgarten

    0 comments No comments

  4. Castorix31 81,861 Reputation points
    2022-02-05T11:48:10.547+00:00

    You can use Process Monitor to trace processes creation
    For example, when I use IRP_MJ_CREATE Operation and I launch a VB application where I use the WebView2 control, I get the path of my application :

    171622-processmonitor-webview2.jpg

    0 comments No comments

  5. KeldSor 351 Reputation points
    2022-02-05T13:40:48.56+00:00

    I just want to shut OFF the setting in my VS2022 that creates these tasks !

    I can't find any reference to "Microsoft Edge WebView2" anywhere !

    Could it be referenced as a part of another 'reference' ?

    It SEEMS like these tasks are generated by the TastManager !!!!!!!!!

    When I run my program in the VS2022 (just a simple program for listing processes - NO use of any 'Microsoft Edge WebView2' at all !) these tasks DON'T come up, when I update the TaskManager window - but when I CLOSE and starts the TaskManager again - the taks are there ... 9 of them !!!!!!

    WHat is wrong here ?