If you spend any time poking around through your Task Manager window, you’ve probably seen a process named “Host Process for Windows Tasks.” In fact, you’ve likely seen multiple instances of this task running at the same time. If you’ve ever wondered what it was and why there are sometimes so many, we’ve got the answer for you.

如果您花任何时间在“ 任务管理器”窗口中浏览,可能已经看到了一个名为“ Windows任务的主机进程”的进程。 实际上,您可能已经看到该任务的多个实例同时运行。 如果您曾经想知道这是什么,为什么有时有时会这么多,我们已经为您找到了答案。

This article is part of our ongoing series explaining various processes found in Task Manager, like Runtime Broker, svchost.exe, dwm.exe, ctfmon.exe, rundll32.exe, Adobe_Updater.exe, and many others. Don’t know what those services are? Better start reading!

本文是我们正在进行的系列文章的一部分,介绍了在任务管理器中找到的各种过程,例如Runtime Broker , svchost.exe , dwm.exe , ctfmon.exe , rundll32.exe , Adobe_Updater.exe 等 。 不知道这些服务是什么? 最好开始阅读!

它是什么?为什么在任务管理器中有那么多? (What Is It and Why Are There So Many in Task Manager?)

Host Process for Windows Tasks is an official Microsoft core process. In Windows, services that load from executable (EXE) files are able to institute themselves as full, separate processes on the system and are listed by their own names in Task Manager. Services that load from Dynamic Linked Library (DLL) files rather than from EXE files cannot institute themselves as a full process. Instead, Host Process for Windows Tasks must serve as a host for that service.

Windows Tasks的主机进程是Microsoft的官方核心进程。 在Windows中,从可执行(EXE)文件加载的服务能够在系统上将其自身设置为完整的独立进程,并在任务管理器中按其自己的名称列出。 从动态链接库(DLL)文件而不是从EXE文件加载的服务无法将自身建立为一个完整的过程。 而是,Windows任务的主机进程必须充当该服务的主机。

You will see a separate Host Process for Windows Tasks entry running for each DLL-based service loaded into Windows, or possibly for a group of DLL-based services. Whether and how DLL-based services are grouped is up to the developer of the service. How many instances you see depends entirely on how many such processes you have running on your system. On my current system, I see only two instances, but on other systems, I’ve seen as many as a dozen.

您将看到一个单独的“ Windows任务的主机进程”条目正在运行,该条目针对加载到Windows中的每个基于DLL的服务运行,也可能针对一组基于DLL的服务运行。 基于DLL的服务是否以及如何分组取决于该服务的开发人员。 您看到多少个实例完全取决于您的系统上运行了多少个此类进程。 在当前系统上,我只看到两个实例,但是在其他系统上,我看到了多达十二个实例。

Unfortunately, Task Manager gives you no way to see exactly what services (or group of services) are attached to each Host Process for Windows Tasks entry. If you’re really curious to see what each instance is linked to, you’ll need to download Process Explorer, a free Sysinternals utility provided by Microsoft. It’s a portable tool, so there’s no installation. Just download it, extract the files, and run it. In Process Explorer, select View > Lower Pane to be able to see details for whatever process you select. Scroll down the list and select one of the taskhostw.exe entries. That’s the file name of the Host Process for Windows Tasks service.

不幸的是,任务管理器无法让您确切地查看将哪些服务(或服务组)附加到每个Windows任务主机进程条目。 如果您真的想知道每个实例都链接到什么,则需要下载Process Explorer ,它是Microsoft提供的免费Sysinternals实用程序。 它是便携式工具,因此无需安装。 只需下载,解压缩文件并运行即可。 在“进程资源管理器”中,选择“视图”>“下部窗格”以查看所选进程的详细信息。 向下滚动列表,然后选择taskhostw.exe条目之一。 那是Windows任务主机进程服务的文件名。

Looking through the details in the lower pane, I’m able to piece together that this service is linked to my audio drivers and also has Registry keys associated keyboard layout. So, I’m going to assume it’s the service that monitors for when I press any of the media keys on my keyboard (volume, mute, and so on) and delivers the appropriate commands where they need to go.

通过查看下部窗格中的详细信息,我可以了解到该服务已链接到我的音频驱动程序,并且还具有与注册表键关联的键盘布局。 因此,我将假设它是监视我按下键盘上的任何媒体键(音量,静音等)的服务,并在需要的地方提供适当的命令。

为什么Windows启动时会使用这么多资源? (Why Does It Use So Many Resources at Windows Startup?)

Typically, the CPU and memory each instance of Host Process for Windows Tasks just depends on what service the entry is attached to. Normally, each service will consume the resources it needs to do its job and then settle back down to a baseline of activity. If you notice that any single instance of Host Process for Windows Tasks continually uses more resources than you think it should, you’ll need to track down which service is attached to that instance and troubleshoot the related service itself.

通常,Windows任务主机进程的每个实例的CPU和内存仅取决于条目所附加的服务。 通常,每个服务都将消耗其完成工作所需的资源,然后重新回到活动基线。 如果您发现Host Task for Windows Tasks的任何单个实例持续使用的资源超出了您的预期,则需要跟踪该实例所附加的服务,并对相关服务本身进行故障排除。

You will notice that right after startup, all instances of Host Process for Windows Tasks may look like they’re consuming extra resources–especially the CPU. This is also normal behavior and should settle down quickly. When Windows starts, the Host Process for Windows Tasks scans the Services entries in the Registry and builds a list of DLL-based services that it needs to load. It then loads each of those services, and you’re going to see it consuming a fair bit of CPU during that time.

您会注意到,启动后,Windows Tasks的Host Process的所有实例似乎都在消耗额外的资源,尤其是CPU。 这也是正常现象,应该很快解决。 Windows启动时,Windows任务主机进程将扫描注册表中的“服务”条目,并生成它需要加载的基于DLL的服务的列表。 然后,它将加载所有这些服务,并且您将看到在那段时间它消耗了相当多的CPU。

我可以禁用它吗? (Can I Disable It?)

No, you can’t disable Host Process for Windows Tasks. And you wouldn’t want to anyway. It’s essential for being able to load DLL-based services onto your system and, depending on what you’ve got running, disabling Host Process for Windows Tasks could break any number of things. Windows won’t even let you temporarily end the task.

不,您不能为Windows任务禁用主机进程。 而且您还是不想。 这是能够将基于DLL的服务加载到系统上的必要条件,并且根据运行的情况,为Windows Tasks禁用Host Process可能会破坏很多事情。 Windows甚至不会让您暂时结束任务。

这个过程可能是病毒吗? (Could This Process Be a Virus?)

The process itself is an official Windows component. While it’s possible that a virus has replaced the real Host Process for Windows Tasks with an executable of its own, it’s very unlikely. We’ve seen no reports of viruses that hijack this process. If you’d like to be sure, you can check out Host Process for Windows Tasks’ underlying file location. In Task Manager, right-click Host Process for Windows Tasks and choose the “Open File Location” option.

该过程本身是Windows的正式组件。 尽管病毒可能用自己的可执行文件代替了Windows Tasks的实际Host Process,但这种可能性很小。 我们还没有关于劫持此过程的病毒的报告。 如果您想确定的话,可以签出Windows任务主机进程的基础文件位置。 在任务管理器中,右键单击“ Windows任务的主机进程”,然后选择“打开文件位置”选项。

If the file is stored in your Windows\System32 folder, then you can be fairly certain you are not dealing with a virus.

如果文件存储在Windows \ System32文件夹中,则可以确定您没有在处理病毒。

That said, if you still want a little more peace of mind–or if you see that file stored anywhere other than the System32 folder–scan for viruses using your preferred virus scanner. Better safe than sorry!

就是说,如果您仍然想让自己更加安心-或者看到该文件存储在System32文件夹以外的其他位置,请使用首选的病毒扫描程序扫描病毒 。 安全胜过遗憾!

翻译自: https://www.howtogeek.com/269307/what-is-host-process-for-windows-tasks-and-why-are-so-many-running-on-my-pc/

什么是“ Windows任务的主机进程”,为什么我的PC上运行着这么多主机?相关推荐

  1. 什么是Windows登录应用程序(winlogon.exe),为什么它在我的PC上运行?

    The winlogon.exe process is a critical part of the Windows operating system. This process is always ...

  2. 在VB中如何让线程或进程在指定的CPU上运行

    代码如下: Option Explicit Private Declare Function WTSEnumerateProcesses Lib "wtsapi32.dll" Al ...

  3. 在同一台机运行多个mysql 服务 多个主/从在同一主机_在同一台机器上运行多个 MySQL 服务...

    在同一台机器上运行多个 MySQL 服务 ********************************************************** 第一部分, 在一台服务器构建多mysql ...

  4. 什么是“ Windows Shell体验主机”,为什么在我的PC上运行?

    If you've ever noticed a process named "Windows Shell Experience Host" in your Task Manage ...

  5. linux多核单进程,Linux的在多核处理器3个处理(每个进程在不同的核心上运行)之间共享存储器/ SMP...

    我想同步三种不同的过程,所以我想使用在进程之间共享内存.所以我从一个进程中分出了两个孩子,并在创建孩子之前创建了共享内存段. 我的意图是在不同的内核中运行子进程和父进程以使其并行执行.所以我使用亲和力 ...

  6. 什么是“ Windows音频设备图形隔离”,为什么它在我的PC上运行?

    If you spend any time in Task Manager, you may have noticed something called "Windows Audio Dev ...

  7. Windows下编写的脚本文件无法在Linux上运行的问题

    可以看到报错了,无法运行,不存在目录,但是这个目录多出来一个\r 这是因为换行符造成的 只需要使用编辑器修改这里,不再使用CRLF,而是使用LF,就可以解决这个问题

  8. window应用在linux运行,如何在Linux上运行Windows应用程序?

    原标题:如何在Linux上运行Windows应用程序? 一些人可能避免在Linux上运行Windows应用程序,但事实上有时候这么做大有帮助. 一些人无法摆脱Windows的最主要原因之一是可用的应用 ...

  9. vim 文本编辑器_Vim Windows安装指南–如何在PC上的PowerShell中运行Vim文本编辑器

    vim 文本编辑器 Vim is a powerful code editor. So powerful that both Linux and Mac have it installed by de ...

最新文章

  1. javaweb数据库操作
  2. JavaScript编程知识
  3. 【CodeForces - 660C】Hard Process (尺取 或 二分+滑窗,前缀和预处理)
  4. es6 Promise 的应用
  5. 阿里飞天大数据平台正式亮相:国内最大计算平台
  6. asp.net c# 常见面试试题总结汇总(含答案)
  7. ajax的data数据无意间的致命错误
  8. yolov4训练自己的数据 灰度图像_还在为图像训练数据少发愁吗?那是因为你还不会这几招...
  9. 编译原理 第3版 第一章练习
  10. 【渝粤题库】广东开放大学 大学生创业基础 形成性考核
  11. 速成! | 遗传算法详解及其MATLAB实现
  12. 【新提醒】超低成本手机全息3D投影制作教程_光学_极客迷
  13. Mahout实例(UserCF,ItermCF,SlopOne)
  14. ADS1115--已调通(附源码)
  15. 云计算应用现状及其发展趋势和特点
  16. DTI及MRI数据预处理
  17. air dots 配对_AirDots 使用分享
  18. 一线城市nbsp;ornbsp;二线城市?(目前为止…
  19. simpread-机器人智能抓取 AI+Grasp
  20. javascript_实现

热门文章

  1. android5.0协调布局CoordinatorLayout(第二篇CollapsingToolbarLayout效果实现原理讲解)原理
  2. Nginx 性能优化 Gzip 压缩配置
  3. 听说C语言很难?怎么不来看看我这篇(六)结构
  4. java数据结构和算法——图的广度优先(BFS)遍历
  5. 小程序--时间处理(显示几分钟前,,几小时前,,几天前...)
  6. SAP 发票校验统驭科目替代解决方案
  7. vue的安装与基本使用
  8. HDU 3374 最小 / 大表示法
  9. Codeforces 1110D Jongmah dp
  10. 复旦大学《数学分析》教学大纲,读后有感