Windows – Getting error 0x80070002 when I try to install IIS in Windows Features

iisinstallationwindows 8.1

Here's exactly what happens: I go to Programs and Features > Turn Windows features on or off. Then, check the box for IIS, and hit OK.

enter image description here

It seems to be installing for a second then shows these error messages and closes out.

enter image description here

enter image description here

All it says that's slightly helpful is "The system can not find the file specified."

I'm running Windows 8.1 Pro on a Dell Inspiron 660s.

Best Answer

After running an sfc /SCANNOW, it said I had a pending operation that required me to restart my computer before scanning.

When I restarted, I got some message on boot (too fast to read) and when it booted up it said We couldn't complete the features - Undoing changes.

When I checked Windows Features, IIS was installed. This must've happened because I had uninstalled it earlier and something went wrong with that.

When I went to uninstall it, it failed and gave me the same message saying that it couldn't complete the features.

I did some research and found out this is a problem with the Windows 8.1 April Update. http://support.microsoft.com/kb/2957390

Related Question