Iis – Windows Server 2012 R2, IIS won’t install, no errors shown

iiswindows-server-2012

I have wasted nearly a day on this.

I have a fresh Windows Server 2012 R2, fully up to date, that I am trying to install IIS on.

I run the add Roles and Features wizard, select my required features, but the install fails without an error message.

enter image description here

I am unable to find any logs or details to help me trouble shoot what could be wrong.

Task Details shows me nothing:

enter image description here

Could someone please point me to somewhere that could explain my lack of success, or even better, let me know how to get IIS to install?

Best Answer

I had the exact same problem. Could not get any information about what was wrong. However from microsofts own guide there is an option for installing through cmd with:

  Start /w pkgmgr /iu:IIS-WebServerRole;IIS-WebServer;IIS-CommonHttpFeatures;IIS-StaticContent;IIS-DefaultDocument;IIS-DirectoryBrowsing;IIS-HttpErrors;IIS-HealthAndDiagnostics;IIS-HttpLogging;IIS-LoggingLibraries;IIS-RequestMonitor;IIS-Security;IIS-RequestFiltering;IIS-HttpCompressionStatic;IIS-WebServerManagementTools;IIS-ManagementConsole;WAS-WindowsActivationService;WAS-ProcessModel;WAS-NetFxEnvironment;WAS-ConfigurationAPI

For whatever reason this worked while the wizard did not.