For about 5 years now I had a set up on my machine that runs my site locally. I enabled IIS. Configured PHP and MySql to run. Everything was working without an issue.
Today I turned on my PC and got a message that my Windows 10 machine was updated. When I went to check out my localhost, I saw that it wasn't running. IIS was disabled and all of the configurations were gone.
Looking at Windows Update history I see the following updates
https://support.microsoft.com/en-us/kb/3189866
https://support.microsoft.com/en-us/kb/3176937
https://support.microsoft.com/en-us/kb/3176935
https://support.microsoft.com/en-us/kb/2504637
Does anyone have an explanation for this? Why did Microsoft disabled IIS and removed all of my configurations? Is there a way to restore my previous settings?
update: For now, I rolled back to my previous Window's build and everything is back to normal.
IIS 10.0 is the latest version of Internet Information Services (IIS) which shipped with Windows 10 and Windows Server 2016.
The Peer Name Resolution Protocol (PNRP) cloud service was removed in Windows 10, version 1809. We're planning to complete the removal process by removing the corresponding APIs. Roaming of taskbar settings is removed in this release. This feature was announced as no longer being developed in Windows 10, version 1903.
To start: Windows won't just remove programs at random times. It will only remove programs when updating to a new major version, or “build,” of Windows 10.
Even after I re-enabled IIS, all the sites and app pools were gone.
I explained how I restored them here: https://stackoverflow.com/a/44184735/270348
Here's the main idea:
C:\Windows.old\WINDOWS\System32\inetsrv\config\applicationHost.config
. This is the original IIS data from before the update.C:\Windows\System32\inetsrv\config\applicationHost.config
. This is the active IIS data.<applicationPools>
and <sites>
elements in the active file with those from the originaliisreset
from an elevated command promptIf you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With