I am trying to install IIS on my Windows 10 machine, but keep getting this error:
Windows couldn't complete the requested changes.
The system could not find the file specified.
Error code 0x80070002
Any help would be greatly appreciated.
I think this error may be caused by the .net framework, you can try to run the following command:
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_regiis.exe -r
Or you can run one of the repair utilities supplied by Microsoft:
Microsoft .NET Framework Repair Tool
If you do not have the correct framework, you can download version at the following links:
Once installed, try to install the IIS features again.
User contributions licensed under CC BY-SA 3.0