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

隐身守侯 提交于 2019-12-11 02:32:53

问题


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

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.


回答1:


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. 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


来源:https://stackoverflow.com/questions/44184699/iis-gone-including-sites-and-application-pools-after-windows-10-creators-updat

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!