

To install or uninstall ASP.NET 4.5 in Windows 8 or Windows Server 2012, use one of the following options: ASP.NET 4.5 is now a Windows component and can be installed and uninstalled just like any other Windows component. The Aspnet_regiis.exe utility is no longer used for installing and uninstalling ASP.NET 4.5 in Windows 8. If you install an application on Windows 8 that attempts to install ASP.NET 4.5 using aspnet_regiis -I, the application will fail to enable ASP.NET 4.5. If you have an application that uses setup projects to install an application on IIS, the installation will fail to enable ASP.NET 4.5 and the application may fail to install. 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. This option is not supported on this version of the operating system. If you run aspnet_regiis -I to install ASP.NET 4.5 on IIS 8, an error message like the following one will be displayed:

Starting in Windows 8, the following problems may occur when trying to install ASP.NET using the Aspnet_regiis.exe utility: In previous versions of Windows running Internet Information Services (IIS), the aspnet_regiis -I command could be used to install the ASP.NET feature. NET Framework 4.5.2, Windows 8, Windows Server 2012 Original KB number: 2736284 Symptoms This article explains why you can't install or uninstall ASP.NET 4.5 in Microsoft Windows 8 by using the Aspnet_regiis.exe utility, and helps you resolve this problem.
