One executable backgroundTaskHost.exe with many different Process Name

9,826

Solution 1

In Windows 10 the Task Manager has become much more beautiful, but it has also lost some information.

The Task Manager of Windows 7 has distinguished between Application Name and Process Name. While the later is derived from the executable file-name, the Application Name is either derived from the title of the main top-level window of the application, or is specified when the process was launched (see in the CreateProcess API the parameter lpApplicationName).

In your case, the parent of all the processes you cite is svchost.exe, which is the process charged with the launching of system services. Apparently, in Windows 10 it makes an effort to give the started service a better application-name. This is an improvement over Windows 7, where svchost was a black box requiring manipulations to identify a wasteful service.

To summarize, two processes with the same executable can have different application-names specified by invocation or by execution.

Solution 2

backgroundTaskHost.exe is the process that starts background tasks. So Cortana and the other Microsoft app registered a background task which is now started by Windows.

Share:
9,826

Related videos on Youtube

Biswapriyo
Author by

Biswapriyo

Updated on September 18, 2022

Comments

  • Biswapriyo
    Biswapriyo over 1 year

    OS Windows 10 Pro 64bit version 1703 build 15063.

    • When I start up the machine it shows two processes in Task Manager (disappear after 2 minutes). Two process have the same executable file (.exe) which is backgroundTaskHost.exe. But with two different process name.

    • First one is with process name "Cortana Background Task Host" and with command line "C:\Windows\system32\backtgroundTaskHost.exe" -ServerName:CortanaUI.AppXy7vb4pc2dr3kc93kfc509b1d0arkfb2x.mca.

    Image:Cortana Background Task Host

    • Second one is with process name "Microsoft Account Background Task Host" and with command line "C:\Windows\system32\backgroundTaskHost.exe" -ServerName:App.AppXmtcan0h2tfbfy7k9kn8hbxb6dmzz1zh0.mca.

    Image:Microsoft Account Background Task Host

    • My questions are::
    • How is this possible to use one executable in two process name?
    • And what are the -ServerName options in command line?
    • Is the .mca a file extension? Where is it stored?
    • Where the full .mca file name saved?

    Update:: There are fourteen different command line associated with that background task and all are metro apps linked with it. Here all the images given::

    Photos::Windows Metro Apps

    • Julian Knight
      Julian Knight almost 7 years
      A name is just a name, the application sets it when it runs. In this case, the exe is a wrapper for running applications in the background. Server is a phrase used to indicate a background task, a daemon in UNIX terms.
    • Julian Knight
      Julian Knight almost 7 years
      It isn't really an answer so probably not. Not sure what more you want. The exe runs other code, in this case wrapped up in a file with a .mca extension. The name will be set from the code in the mca file. I don't know whether .mca files contain code or are configuration files pointing to code.
    • magicandre1981
      magicandre1981 almost 7 years
      as I already said, those a re all background tasks. so you have 14 apps that use background tasks to do work when they don't run in foreground /getting current weather data, photo app my upload the taken photos to onedrive and so one). We can't add more details, we don't code them.
  • magicandre1981
    magicandre1981 almost 7 years
    this includes the name of the task that needs to run
  • magicandre1981
    magicandre1981 almost 7 years
    appx is the installer format of the new store apps since Windows 8.1. please do some research on your own and use google.
  • magicandre1981
    magicandre1981 almost 7 years
    I have no idea, this is not documented by Microsoft.
  • magicandre1981
    magicandre1981 almost 7 years
    maybe it is a kind of hash to identify the task, but I don't know if this is correct.
  • Biswapriyo
    Biswapriyo almost 7 years
    Thanks! But from where did the .mca file name come?
  • ivan_pozdeev
    ivan_pozdeev almost 7 years
    @Biswa it's not necessarily a file - what you see is the process' command line. The name is clearly autogenerated. This looks like some unique temporary name (whether it's of a file, Object Manager object, named pipe or something else) that Task Scheduler service and backgroundTaskHost.exe use to communicate with each other.