保持 Windows 10 更新(Keeping Windows 10 updated)至关重要。即使您对新功能不感兴趣,持续的安全更新也可确保您的系统免受外界干扰。微软(Microsoft)坚信这一点,因此避免 Windows 10 自动更新(to avoid Windows 10 auto-updates)具有挑战性。
不幸的是,大量用户报告收到一条错误消息,阻止Windows更新成功。这是一个可怕和令人沮丧的位置,但它很容易解决。以下是修复“ Windows(Windows)无法配置一个或多个系统组件”错误的六种方法。
什么是“Windows 无法配置一个或多个系统组件”错误?(What is The “Windows Could Not Configure One Or More System Components” Error?)
就错误消息而言,“ Windows 无法配置一个或多个系统组件。要安装 Windows,请重新启动计算机,然后重新启动安装。” (Windows could not configure one or more system components. To install windows, restart the computer and then restart the installation.”)冗长而模糊。
您可能只会在更新计算机时看到它,并且由于Windows 10一直在自动更新,因此没有简单的方法可以避免在某些时候遇到此错误。更糟糕的是,重新启动很少能解决问题。
发生此错误的原因有多种。就像恢复损坏的视频(recovering corrupted video)一样,没有一种方法可以修复此错误,您可能需要尝试本文中演示的几种方法。如果您无法正常启动计算机,请进入安全模式。
为方便起见,我将在本文中将“ Windows 无法配置一个或多个系统组件”(Windows could not configure one or more system components” )错误称为“系统组件错误(System Components Error)”。
删除 Internet 信息服务(Remove Internet Information Services)
Windows 10 捆绑了适合所有人的功能。无论您是普通的日常用户,还是使用 Windows Server(working with Windows Servers)和.NET应用程序的经验丰富的网络工程师,您都可以安装相同的操作系统并直接获得相同的功能。
不幸的是,称为Internet 信息服务(Internet Information Services)( IIS ) 的Web 服务器软件可能会导致系统组件错误(System Components Error)。按照(Follow)每个部分禁用和排除IIS作为原因。
禁用 Internet 信息服务(Disable Internet Information Services)
- 要禁用 IIS,请按Windows键并键入 features,在出现时选择打开或关闭 Windows 功能(Turn Windows features on or off)。
- 在列表中搜索Internet Information Services,然后取消选中这两个框。出现警告提示时单击确定。(Click OK)IIS将自动卸载。
- 如果您收到提示Permission Denied(Permission Denied)的消息,请确保您使用的是具有管理员权限的帐户。
删除 IIS 机器密钥(Delete IIS Machine Keys)
系统组件错误(System Components Error)的一个可能原因是IIS用于散列和加密信息的机器密钥。在更新期间,安装程序会找到这些密钥并失败。这可能是一个拙劣的安全功能。解决它的简单方法是删除旧的机器密钥。
- 打开资源管理器窗口。
- 导航到C:\ProgramData\Microsoft\Crypto\RSA\MachineKeys.
- 如果文件夹看起来是空的,请选择查看(View)并单击隐藏项目(Hidden Items)复选框。
- 删除MachineKeys文件夹中的每个文件。
随着这些文件的消失,更新程序可以在它们的位置创建新文件。据报道,该解决方案适用于许多用户。如果更新仍然失败,请尝试下一步。
备份和删除 IIS 相关文件夹(Backup & Delete IIS Dependent Folders)
虽然删除IIS应该删除与其关联的所有文件,但它很少这样做。即使您从未启用过IIS功能,您仍然可以在多个地方找到它在硬盘驱动器上使用的文件。移动这些文件是系统组件错误(System Components Error)的潜在解决方案。
- 在桌面(Desktop)上创建一个文件夹并将其命名为IIS Backup。
- 打开资源管理器,然后导航到C:\Windows\WinSxS.
- 在搜索对话框中,输入*windows-iis*并按Enter。
- 选择搜索返回的每个文件,然后按Ctrl + X剪切它们。
- 返回桌面上的(Desktop)IIS 备份(IIS Backup)文件夹,然后按Ctrl + P 粘贴文件。
- 导航到C:\Windows\System32.
- 找到文件夹inetsrv 并按Ctrl + X将其剪切。
- 将其粘贴到IIS 备份(IIS Backup)文件夹中。
虽然远没有机器密钥(Machine Keys)问题那么常见,但一些用户在这些步骤之后报告了成功的更新。更新完成后,您可以将IIS 备份(IIS Backup)文件夹从桌面(Desktop)移动到回收站(Recycle Bin)。
删除和更新驱动程序(Removing & Updating Drivers)
系统组件错误(System Components Error)的另一个可能原因与系统网络驱动程序有关。常见的解决方案是卸载系统的Wi-Fi驱动程序并更新所有其他网络驱动程序。请注意,在这些步骤中,您应该准备一根以太网电缆以保持与 Internet 的连接。
- 按Windows键并键入设备管理器。(Device Manager.)
- 在网络适配器(Network Adaptors)下,右键单击您的 Wi-Fi 适配器并选择卸载。(Uninstall.)
- 对于列表中的每个其他条目,右键单击并选择更新驱动程序。(Update Driver.)
在某些情况下,这些步骤允许更新成功完成。更新后,重新安装Wi-Fi适配器不会导致任何问题,您可以继续照常使用计算机。
使用 Windows Media 创建工具(Use The Windows Media Creation Tool)
鉴于系统组件错误(System Components Error)通常发生在更新期间,媒体创建(Media Creation )工具的更新功能被引用为潜在修复也就不足为奇了。它可从 Microsoft 网站获得(available from the Microsoft website),无需安装即可使用。
下载完成后:
- 打开媒体创建工具。
- 同意许可协议。
- 当被问到你想做什么?(What do you want to do?)选择立即升级这台电脑。(Upgrade this PC now.)
- 按照屏幕上的提示更新您的系统。
目前尚不清楚为什么这种方法可以在其他方法失败的情况下工作,但根据一些用户的说法,这是解决方案。
移除您的 SD 卡读卡器(Remove Your SD Card Reader)
当所有其他方法都失败时,有时会有一些看似没有意义但已被证明对其他人有效的解决方案。听起来很奇怪,与其他选项不相称,对于某些用户来说,简单地从读卡器中取出 SD 卡已被认为是唯一的解决方案。
为清楚起见,这似乎适用于外部 SD 卡读卡器和内置读卡器,据报道,在重试更新之前移除 SD 卡会导致更新顺利。
错误喜剧(A Comedy of Errors)
Windows以容易出错而著称。如何处理(earning how to deal with the most common errors)您将面临的最常见错误当然值得学习。
尽管许多人发现微软的强制更新具有侵入性,但它们仍然可能是确保大多数用户安全的最佳解决方案,但这并不能阻止一些人转向他们可以完全控制的 Linux 操作系统。(to a Linux operating system)
(Did)您在尝试修复“ Windows无法配置一个或多个系统组件”错误时是否遇到任何问题?在下面的评论部分告诉(Tell)我们它们。
How to Fix “Windows Could Not Configure One Or More System Components” Error
Keeping Windows 10 updated is essential. Even if you aren’t interested in new features, constant security updates keep your system safe from outside interference. Microsoft believes in this firmly, and it’s therefore challenging to avoid Windows 10 auto-updates.
Unfortunately, a large number of users have reported receiving an error message preventing a successful Windows update. It is a scary and frustrating position to be in, but it’s quite easy to fix. Here are six ways to fix the “Windows could not configure one or more system components” error.
What is The “Windows Could Not Configure One Or More System Components” Error?
As far as error messages go, “Windows could not configure one or more system components. To install windows, restart the computer and then restart the installation.” is lengthy and vague.
You are likely only to see it when updating your computer, and since Windows 10 auto-updates all the time, there is no easy way to avoid running into this error at some point. Even worse, restarting rarely fixes the problem.
There are several possible reasons this error can occur. Much like recovering corrupted video, there is no one way to fix this error, and you may need to try several of the methods demonstrated in this article. If you are unable to boot your computer normally, boot into safe mode.
For convenience, I’ll refer to the “Windows could not configure one or more system components” error as the System Components Error throughout this article.
Remove Internet Information Services
Windows 10 comes bundled with features to suit everyone. Whether you are a light day-to-day user, or a seasoned network engineer working with Windows Servers and .NET apps, you can install the same operating system and get the same functionality straight out of the box.
Unfortunately, web server software called Internet Information Services (IIS) can be responsible for the System Components Error. Follow each section to disable and rule out IIS as a cause.
Disable Internet Information Services
- To disable IIS, press the Windows key and type features, selecting Turn Windows features on or off when it appears.
- Search for Internet Information Services in the list, and uncheck both boxes. Click OK when prompted with the warning. IIS will automatically uninstall.
- If you get a message saying Permission Denied, make sure you are using an account with administrator privileges.
Delete IIS Machine Keys
One possible cause for the System Components Error is the machine keys used by the IIS to hash and encrypt information. During the update, the installer finds these keys and fails. This is likely a botched security feature. The easy way to solve it is to delete your old machine keys.
- Open an Explorer window.
- Navigate to C:\ProgramData\Microsoft\Crypto\RSA\MachineKeys.
- If the folder looks empty, select View and click the Hidden Items checkbox.
- Delete every file in the MachineKeys folder.
With these files gone, the updater can create new ones in their place. This solution reportedly works for many users. If the update still fails, try the next step.
Backup & Delete IIS Dependent Folders
While removing the IIS should remove all files associated with it, it rarely does. Even if you never had the IIS feature enabled, there are still several places you’ll find files it uses on your hard drive. Moving these files is a potential solution to the System Components Error.
- Create a folder on the Desktop and name it IIS Backup.
- Open Explorer, and navigate to C:\Windows\WinSxS.
- In the search dialog, type *windows-iis* and hit Enter.
- Select every file the search returns and press Ctrl + X to cut them.
- Return to the IIS Backup folder on the Desktop and press Ctrl + P to paste the files.
- Navigate to C:\Windows\System32.
- Find the folder inetsrv and press Ctrl + X to cut it.
- Paste it into the IIS Backup folder.
While far less common than the Machine Keys issue, some users reported successful updates after these steps. Once the update is complete, you can move the IIS Backup folder from the Desktop to the Recycle Bin.
Removing & Updating Drivers
Another possible reason for the System Components Error links to system networking drivers. The common solution is to uninstall your system’s Wi-Fi driver and update all other network drivers. Note that you should prepare an ethernet cable to remain connected to the internet during these steps.
- Press the Windows key and type Device Manager.
- Under Network Adaptors right-click on your Wi-Fi adapter and select Uninstall.
- For each other entry in the list, right-click and select Update Driver.
In some cases, these steps have allowed the update to complete successfully. After the update, reinstalling the Wi-Fi adaptor shouldn’t cause any issues, and you can continue using your computer as usual.
Use The Windows Media Creation Tool
Given that the System Components Error usually occurs during an update, it’s unsurprising that the Media Creation Tool’s update feature is quoted as a potential fix. It’s available from the Microsoft website and requires no installation to use.
When the download is complete:
- Open the Media Creation Tool.
- Agree to the license agreement.
- When asked What do you want to do? Select Upgrade this PC now.
- Follow the onscreen prompts to update your system.
It’s not clear why this method can work where others fail, but according to some users, it was the solution.
Remove Your SD Card Reader
When all else fails, there are sometimes solutions that seem to make no sense but have been proved to work for other people. As bizarre and out of place with the other options as it sounds, simply removing your SD card from the reader has been known to be the only solution for some users.
For clarity, this seems to apply to both external SD card readers and built-in, removing the SD card before retrying the update reportedly resulted in a smooth update.
A Comedy of Errors
Windows has a reputation for being error-prone. It is certainly worth learning how to deal with the most common errors you’ll face.
While many find Microsoft’s forced updates invasive, they are still likely the best solution for keeping most users safe, but that isn’t going to stop some people making the jump to a Linux operating system they can fully control.
Did you have any issues when trying to fix the “Windows could not configure one or more system components” error? Tell us about them in the comments section below.