Error code 0x80070002 when trying to install IIS on Windows 10 Pro 64


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.

asked on Stack Overflow Feb 23, 2021 by Tim VN • edited Feb 24, 2021 by Tim VN

1 Answer


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:

Download .NET Framework

Once installed, try to install the IIS features again.

answered on Stack Overflow Feb 24, 2021 by samwu

User contributions licensed under CC BY-SA 3.0