Uninstallation of WoW64 Support component fails when ASP.NET is installed on Windows 8 or Windows Server 2012

Taikoma: Windows 8Windows Server 2012 StandardWindows Server 2012 Standard


Consider the following scenario. You have a 64-bit computer running the Windows 8 or the Windows Server 2012 operating system, and with Internet Information Services (IIS) 8.0 and ASP.NET installed. You attempt to uninstall the WOW64 subsystem using the Remove Roles and Features Wizard, and then reboot the machine to complete the uninstallation. However after the machine has completed rebooting, you notice that the WOW64 subsystem is still present and failed to uninstall.


This problem occurs because the 32-bit version of ASP.NET is failing to uninstall and causing the WOW64 uninstall to roll back. This is due to the fact that the ASP.NET custom actions are different executables for 32- and 64-bit; when the WOW 64 subsystem uninstalls, it causes the 32-bit ASP.NET to uninstall, which calls the 32-bit version of the custom actions.


To workaround this problem, please take the following steps:
  1. Uninstall ASP.NET
  2. Uninstall the WOW64 subsystem by disabling "WoW64 Support" from the Remove Features wizard in Server Manager.
  3. Reinstall ASP.NET