Windows – How to register ASP.NET on Windows 10

asp.netiiswindows

I got the following error when I run this command: aspnet_regiis.exe -i

C:\Windows\Microsoft.NET\Framework64\v4.0.30319>aspnet_regiis.exe -i
Microsoft (R) ASP.NET RegIIS version 4.0.30319.0 Administration
utility to install and uninstall ASP.NET on the local machine.
Copyright (C) Microsoft Corporation. All rights reserved. Start
installing ASP.NET (4.0.30319.0). This option is not supported on this
version of the operating system. Administrators should instead
install/uninstall ASP.NET 4.5 with IIS8 using the "Turn Windows
Features On/Off" dialog, the Server Manager management tool, or the
dism.exe command line tool. For more details please see
http://go.microsoft.com/fwlink/?LinkID=216771. Finished installing
ASP.NET (4.0.30319.0).

This is my Windows Features configurations:
enter image description here

Best Answer

According to this .NET Framework Versions and Dependencies page, you need at least .NET 4.6 to be compatible with Windows 10.