Windows 10 Creators Update之后IIS消失了(包括站点和应用程序池) [英] IIS gone (including sites and application pools) after Windows 10 Creators Update

查看:59
本文介绍了Windows 10 Creators Update之后IIS消失了(包括站点和应用程序池)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在安装Windows 10 Creators Update(1607)之后,不再安装IIS.

After installing the Windows 10 Creators Update (1607), IIS is no longer installed.

当我从打开或关闭Windows功能"重新安装它时,我发现我所有的应用程序池和所有站点都消失了.

When I re-install it from "Turn Windows features on or off", I find that all my application pools and all my sites are gone.

推荐答案

好"消息是,似乎有一种方法可以还原IIS应用程序池和站点(从打开Windows功能"中重新启用IIS之后).或关闭").

The "good" news is that there seems to be a way to restore the IIS app pools and sites (after re-enabling IIS from "Turn Windows features on or off").

这有点棘手且容易出错,但是总比没有好.

It’s a little tricky and error prone, but it’s better than nothing.

以下是对我有用的程序:

Here is the procedure that worked for me:

  1. 在文本编辑器中,打开C:\Windows.old\WINDOWS\System32\inetsrv\config\applicationHost.config.这是更新之前的原始IIS数据.
  2. 在另一个文本编辑器中,打开C:\Windows\System32\inetsrv\config\applicationHost.config.这是活动的IIS数据.
  3. 用原始文件中的元素替换活动文件中的<applicationPools><sites>元素
  4. 从提升权限的命令提示符下运行iisreset
  1. In a text editor, open C:\Windows.old\WINDOWS\System32\inetsrv\config\applicationHost.config. This is the original IIS data from before the update.
  2. In another text editor open C:\Windows\System32\inetsrv\config\applicationHost.config. This is the active IIS data.
  3. Replace the <applicationPools> and <sites> elements in the active file with those from the original
  4. Run iisreset from an elevated command prompt

这篇关于Windows 10 Creators Update之后IIS消失了(包括站点和应用程序池)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆