当您在 Windows 10 计算机上启动 Windows 任务管理器(launch the Windows Task Manager)时,您会发现多个系统应用程序和后台进程。您会认识到其中一些过程。其他的,没有那么多。
如果在任务管理器(Task Manager)中有某个“现代安装主机(Modern Setup Host)”占用了您的 PC 的CPU ,并且您想知道它做了什么,我们在此解释器中突出显示了您需要了解的有关系统进程的所有信息。最重要的是,您还将学习如何检查Modern Setup Host是否安全以及如何降低其在计算机上的高CPU使用率。
什么是现代安装主机
现代安装主机(Modern Setup Host)是Windows操作系统的核心组件。无论操作系统版本或构建如何,您都可以在任何Windows计算机上找到它。(Windows)Windows会自动在您的计算机上下载并安装Modern Setup Host的安装文件 ( SetupHost.exe )。
自然地,该进程在休眠模式下保持非活动状态,几乎就像它不存在一样。但是,当您在计算机上安装次要或主要 Windows 更新时,Modern Setup Host会启动。
Modern Setup Host的主要功能是准备您的计算机以安装Windows 更新(updates)。在安装过程中,您会发现Modern Setup Host在后台运行。
它是Windows(Windows)计算机的关键组件。如果没有Modern Setup Host,您可能无法将 PC 更新到最新的操作系统。同样,如果Modern Setup Host(Modern Setup Host)损坏或出现故障,您可能会遇到将计算机从旧Windows版本更新到Windows 10 的困难。(Windows)
您将在计算机本地磁盘的C:/$Windows.~BT/SourcesModern Setup Host文件。它是一个自启动的可执行安装文件;除非准备好安装Windows更新,否则您无法手动启动它。
现代安装主机文件安全吗?
Microsoft是Modern Setup Host文件的开发者,因此将其安装在您的计算机上是安全的。但是,病毒或恶意软件可以将自己伪装成 PC 上的 setuphost.exe 文件。
从非官方来源或第三方网站下载安装文件会使您面临在计算机上安装病毒缠身的Modern Setup Host的风险。这可能会导致性能问题,如CPU使用率高、电池耗尽问题等。但是如何确定计算机上的 setuphost.exe 文件是正版(来自Microsoft )还是镜像(Microsoft)Modern Setup Host文件的病毒?
检查设置文件属性
1. 转到包含 setuphost.exe 文件的文件夹(本地磁盘(Disk)(C:) > $ WINDOWS.~BT > Sources
或者,在Windows 搜索(Windows Search)框中键入 setuphost.exe,右键单击结果页面上的 setuphost.exe,然后单击打开文件位置(Open file location)。
2. 右键单击 setuphost.exe文件并从上下文菜单中选择属性。(Properties)
3. 转到详细信息(Details)选项卡并检查 setuphost版权所有(Copyright)属于ⓒ Microsoft Corporation。
4. 此外,转到数字签名(Digital Signatures)选项卡并检查Microsoft Windows是否在签名者名称(Name of signer)列中。
这些迹象表明您 PC 上的 setuphost.exe 文件是真实且安全的。但是,如果Modern Setup Host继续过度使用CPU资源,您应该使用防病毒应用程序扫描您的 PC 以查找病毒和恶意软件(scan your PC for viruses and malware)。请参阅我们关于在 Windows 10 上删除顽固恶意软件(removing stubborn malware on Windows 10)的综合指南以了解更多信息。
为什么现代设置主机具有高 CPU 使用率(Modern Setup Host Has High CPU Usage)
我们已经确定Modern Setup Host有助于让您的 PC 准备好安装Windows更新。在所有条件相同的情况下,setuphost.exe 文件只需要大约 15-30 分钟即可完成此任务。如果该过程持续数小时并开始增加 PC 的CPU负载,可能是因为:
- 您的硬盘写入速度较慢;这可能会影响在您的计算机上下载和安装更新的速度。
- 您的 PC 上有损坏或冲突的临时文件。
- Windows 更新进程卡住(Windows Update process is stuck)了。
- 有许多应用程序在后台运行。
解决现代设置主机问题(Fix Modern Setup Host Issues)的4种(Ways)方法
Windows 10操作系统有一个内置工具,可以诊断并自动修复阻止您的计算机安装更新的问题。此工具还可以帮助解决导致Modern Setup Host发生故障的问题。
1. 运行Windows 更新疑难解答(Windows Update Troubleshooter)
- 启动 Windows 设置并单击更新和安全(Updates & Security)。
- 在右侧边栏上,单击疑难解答(Troubleshoot)。
- 选择Windows 更新(Windows Update)并单击运行疑难解答(Run the troubleshooter)按钮。
- 如果Windows 更新(Windows Update)疑难解答程序发现阻止您的计算机安装更新的故障,请单击应用修复(Apply the fix)以立即解决问题。
2.删除SoftwareDistribution文件夹(Delete SoftwareDistribution Folder)
SoftwareDistribution文件夹存储在您的计算机上安装新更新所需的重要文件。如果此文件夹包含损坏或冲突的临时文件,您可能会在安装 Windows 更新时遇到困难(difficulties installing Windows updates)。此外,这还可能导致Modern Setup Host进程在后台徘徊,从而提高CPU使用率。
要解决此问题,请删除SoftwareDistribution文件夹的内容并重新启动计算机。您不必担心会破坏设备上的任何东西。Windows将重新下载必要的文件。
按照以下步骤删除SoftwareDistribution文件夹的内容。
- Windows + R ”键盘快捷键启动Windows 运行(Windows Run)提示。
- 接下来,在对话框中输入softwaredistribution并单击(softwaredistribution)OK。
- 选择(Select)SoftwareDistribution文件夹的所有内容并将其删除。更好(Better)的是,备份计算机上另一个文件夹中的内容。
3.禁用后台应用程序
当不必要的应用程序在后台运行时,它们会从重要的系统活动中接管CPU资源。(CPU)尽可能多地禁用不必要的后台应用程序。(Disable)这应该会减少计算机的CPU负载并加快Windows 更新(Windows Update)过程。
- 启动Windows 设置(Windows Settings)菜单并选择隐私(Privacy)。
- 滚动到右侧边栏的应用权限部分,然后选择(App)后台应用(Background apps)。
- 查看(Look)后台应用程序并关闭您几乎不使用的应用程序。
4.删除损坏的文件
下载和安装Windows 更新(Windows Updates)期间的意外中断(例如,互联网或电源故障)可能会导致损坏文件的堆积。因此,这可能会导致Modern Setup Host进程卡在后台并使用高CPU资源。
若要解决此问题,请使用部署映像服务和管理 (DISM)(Deployment Image Servicing and Management (DISM))和系统文件检查器 (SFC)(System File Checker (SFC))工具来修复损坏的文件,从而阻止Windows更新。
- 在Windows 搜索(Windows Search)框中键入命令提示符,然后单击(command prompt)以管理员身份运行(Run as administrator)。
- 将以下命令粘贴到控制台中,然后按键盘上的Enter 。
DISM.exe /Online /Cleanup-image /Scanhealth
- 等到(Wait)该工具完成对您计算机的扫描(即当进度条达到 100% 时),然后再继续下一步。
- 将以下命令粘贴到控制台中,然后按键盘上的Enter 。
DISM.exe /Online /Cleanup-image /Checkhealth
再次等待进度条达到 100% 并继续下一步。 - 将此命令粘贴到控制台中,然后按Enter。
DISM.exe /Online /Cleanup-image /Restorehealth - 最后,粘贴下面的命令以运行系统文件检查器(System File Checker)工具。
sfc /scannow
注意:(Note:)每个命令可能需要几分钟(比如 10 到 20 分钟)才能完成。不要关闭命令提示符(Command Prompt)窗口或中断进程。
成功执行这些命令后重新启动计算机,并检查这是否解决了Modern Setup Host高CPU使用率问题。
保持更新,保持安全
您需要Modern Setup Host来更新您的计算机。但是,当系统进程导致 CPU 使用率过高(system process causes high CPU usage)时,您应该检查它是否是恶意软件或病毒。确保(Make)安装文件是真实的并由官方制造商进行数字签名。使用防病毒软件(如果有的话)扫描文件也可以帮助确定它是否安全。
如果推荐的解决方案都不能解决Modern Setup Host的高磁盘使用率,您可能需要将 Windows PC 恢复出厂设置(factory reset your Windows PC)。
What is Modern Setup Host in Windows 10 and Is it Safe?
You’ll find several system apps & background processes when you launch the Windows Task Manager on your Windows 10 computer. Some of these processes, you’ll recognize. Others, not so much.
If there’s a certain “Modern Setup Host” consuming your PC’s CPU in the Task Manager and you’re wondering what it does, we’ve highlighted everything you need to know about the system process in this explainer. As a cherry on top, you’ll also learn how to check if the Modern Setup Host is safe and how to reduce its high CPU usage on your computer.
What Is Modern Setup Host
The Modern Setup Host is a core component of the Windows operating system. You’ll find it on any Windows computer, irrespective of the operating system version or build. Windows automatically downloads and installs the Modern Setup Host’s installation file (SetupHost.exe) on your computer.
Naturally, the process stays inactive in hibernation mode, almost like it doesn’t exist. However, when you’re installing a minor or major Windows update on your computer, the Modern Setup Host comes alive.
The primary function of the Modern Setup Host is to prepare your computer to install Windows updates. During the installation process, you’ll find the Modern Setup Host running in the background.
It’s a critical component of your Windows computer. Without the Modern Setup Host, you may be unable to update your PC to the latest operating system. Likewise, you may encounter difficulties updating your computer to Windows 10 from older Windows versions if Modern Setup Host is corrupt or malfunctioning.
You’ll find the Modern Setup Host file in the C:/$Windows.~BT/Sources folder of your computer’s local disk. It is a self-initiating executable setup file; you cannot start it manually unless there’s a Windows update ready to be installed.
Is the Modern Setup Host File Safe?
Microsoft is the developer of the Modern Setup Host file, so it’s safe to have it on your computer. However, a virus or malware can disguise itself as the setuphost.exe file on your PC.
Downloading the setup file from unofficial sources or third-party websites put you at the risk of installing a virus-ridden Modern Setup Host on your computer. That could result in performance problems like high CPU usage, battery drainage issues, etc. But how do you determine if the setuphost.exe file on your computer is genuine (from Microsoft) or a virus mirroring the Modern Setup Host file?
Check the Setup File Properties
1. Go to the folder (Local Disk (C:) > $WINDOWS.~BT > Sources) containing the setuphost.exe file.
Alternatively, type setuphost.exe in the Windows Search box, right-click on setuphost.exe on the result page and click Open file location.
2. Right-click the setuphost.exe file and select Properties from the context menu.
3. Go to the Details tab and check the setuphost Copyright belongs to ⓒMicrosoft Corporation.
4. Also, go to the Digital Signatures tab and check if Microsoft Windows is in the Name of signer column.
These are indications that the setuphost.exe file on your PC is genuine and safe. However, if the Modern Setup Host continues to excessively use CPU resources, you should scan your PC for viruses and malware using an antivirus app. Refer to our comprehensive guide on removing stubborn malware on Windows 10 to learn more.
Why Modern Setup Host Has High CPU Usage
We’ve already established that Modern Setup Host helps to get your PC ready for the installation of Windows updates. All things being equal, it should only take the setuphost.exe file about 15—30 minutes to complete this task. If the process runs into hours and begins to raise your PC’s CPU load, it could be because:
- Your hard disk has a slow write speed; this may affect how fast updates are downloaded and installed on your computer.
- There are corrupt or conflicting temporary files on your PC.
- The Windows Update process is stuck.
- There are numerous apps running in the background.
4 Ways to Fix Modern Setup Host Issues
The Windows 10 operating system has a built-in tool that diagnoses and automatically fixes problems preventing your computer from installing updates. This tool could also help resolve issues causing the Modern Setup Host to malfunction.
1. Run Windows Update Troubleshooter
- Launch Windows Settings and click Updates & Security.
- On the right sidebar, click Troubleshoot.
- Select Windows Update and click the Run the troubleshooter button.
- If the Windows Update troubleshooter finds a fault preventing your computer from installing an update, click Apply the fix to resolve the problem immediately.
2. Delete SoftwareDistribution Folder
The SoftwareDistribution folder stores important files needed to install new updates on your computer. If this folder contains corrupt or conflicting temporary files, you might encounter difficulties installing Windows updates. Plus, that could also cause the Modern Setup Host process to linger in the background, driving up CPU usage.
To fix this, delete the content of the SoftwareDistribution folder and restart your computer. You don’t have to worry about breaking anything on your device. Windows will redownload the necessary files.
Follow the steps below to delete the content of the SoftwareDistribution folder.
- Launch the Windows Run prompt using the “Windows + R” keyboard shortcut.
- Next, type softwaredistribution into the dialog box and click OK.
- Select all the content of the SoftwareDistribution folder and delete them. Better yet, back up the content in another folder on your computer.
3. Disable Background Apps
When unnecessary apps run in the background, they takeover CPU resources from vital system activities. Disable as many unnecessary background apps as you can. That should reduce your computer’s CPU load and hasten up the Windows Update process.
- Launch the Windows Settings menu and select Privacy.
- Scroll to the App permissions section on the right sidebar and select Background apps.
- Look through the background applications and toggle off apps that you barely use.
4. Delete Corrupt Files
Unexpected interruptions (internet or power failures, for example) during the download and installation of Windows Updates can result in a buildup of corrupt files. Consequently, this could cause the Modern Setup Host process to get stuck in the background and use high CPU resources.
To fix this problem, use the Deployment Image Servicing and Management (DISM) and System File Checker (SFC) tools to repair corrupt files preventing the Windows update.
- Type command prompt in the Windows Search box and click Run as administrator.
- Paste the command below in the console and press Enter on your keyboard.
DISM.exe /Online /Cleanup-image /Scanhealth
- Wait until the tool completes the scan of your computer (i.e. when the progress bar gets to 100%) before you proceed to the next step.
- Paste the command below in the console and press Enter on your keyboard.
DISM.exe /Online /Cleanup-image /Checkhealth
Again, wait till the progress bar gets to 100% and proceed to the next step. - Paste this command in the console and press Enter.
DISM.exe /Online /Cleanup-image /Restorehealth
- Finally, paste the command below to run the System File Checker tool.
sfc /scannow
Note: Each command can take several minutes (say 10 – 20 minutes) to complete. Do not close the Command Prompt window or interrupt the process.
Restart your computer when these commands have been executed successfully and check if that resolves the Modern Setup Host high CPU usage issue.
Stay Updated, Stay Safe
You need the Modern Setup Host to keep your computer updated. However, when a system process causes high CPU usage, you should check that it isn’t a malware or virus. Make sure the setup file is genuine and digitally signed by the official manufacturer. Scanning the file using an antivirus software (if you have one) could also help determine whether it’s safe or not.
If none of the recommended solutions resolves the Modern Setup Host high disk usage, you may have to factory reset your Windows PC.