I get the following message even though the server is online.Application Server Role, Web Server (IIS) Role: configuration error
I’ve even tried downloading the prerequisites and passing them as parameters to the install tool. I’ve done two clean installs of Server 2012 but cannot get this to install.
To work around this issue, use one of the following methods.
Install the hotfix that is described in Microsoft Knowledge Base (KB) article 2771431. For more information about hotfix 2771431, click the following article number to view the article in the Microsoft Knowledge Base:
2771431 A servicing stack update is available for Windows 8 and Windows Server 2012
Note Although KB 2771431 states that you do not have to restart your computer in order to apply the hotfix, you must restart the SharePoint Server as part of the installation process after you apply this hotfix.
domain group policy default applies a restriction on PowerShell to allsigned that cannot be overridden by the usual Set-ExecutionPolicy Unrestricted.
Changed the policy (Computer Configuration/Administrative Templates/Windows Components/Windows
PowerShell : Turn on Script Execution to Allow all scripts
Ran the prerequisite installer successfully.