简体   繁体   English

Windows 10 Creators Update之后IIS消失了(包括站点和应用程序池)

[英]IIS gone (including sites and application pools) after Windows 10 Creators Update

After installing the Windows 10 Creators Update (1607), IIS is no longer installed. 安装Windows 10 Creators Update(1607)之后,不再安装IIS。

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. 从“打开或关闭Windows功能”重新安装时,我发现所有应用程序池和所有站点均已消失。

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"). “好消息”是,似乎有一种方法可以还原IIS应用程序池和站点(从“打开或关闭Windows功能”重新启用IIS之后)。

It's a little tricky and error prone, but it's better than nothing. 这有点棘手且容易出错,但总比没有好。

Here is the procedure that worked for me: 这是对我有用的过程:

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

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM