抱歉,您的浏览器无法访问本站
本页面需要浏览器支持(启用)JavaScript
了解详情 >

Windows 升级提示 “Windows无法配置一个或多个系统组件。要安装Windows,请重新启动计算机,然后重新启动安装”(Windows could not configure one or more systm components. To install Windows, restart the computer and then restart the installation.)

当前系统是 Windows 10 1809 版本,想通过系统自动更到到 1909 版本,试过两次下载安装,更新到一部分的时候就弹出一个提示框:“Windows无法配置一个或多个系统组件。要安装Windows,请重新启动计算机,然后重新启动安装”(Windows could not configure one or more systm components. To install Windows, restart the computer and then restart the installation.)“.

解决办法如下:

  • 关闭 IIS 功能
    关闭IIS功能.png

  • 重命名 inetsrv 文件夹
    Windows+i 打开 Windows 设置,点击【更新和安全】->【恢复】,在右侧高级启动下面点击【立即重启】,选择【疑难解答】->【高级选项】->【命令提示符】,将 inetsrv 文件夹重命名,执行以下命令:
    rename C:\Windows\system32\inetsrv inetsrv.old
    高级重启.png
    20191229155505.png

  • 停止 Application Host Helper Service 服务
    点击 Win+R ,输入: services.msc 后回车进入服务管理,找到 Application Host Helper Service 服务并且停止该服务,

  • 获取 WinSxS 文件夹所有权

    参考: Windows10获取文件和文件夹的所有权

  • 移动 IIS 相关文件

    打开 C:\Winodws\WinSxS 目录,使用关键字 “*windows-iis*.*“ 搜索当前目录,搜索结束后点击 Ctrl+A 选中全部,再点击 Ctrl+X 剪切到其它位置新建一个目录下备份。
    20191229155311.png

完成以上所有工作后,再去执行系统更新,现在就没有出现“无法配置一个或多个系统组件”的提示了。当系统更新完成后可以删除以上备份的 IIS 相关文件和 inetsrv.old 文件夹。

评论