1. Sharepoint Products Preparation Tool 2016
  2. Microsoft Sharepoint Products And Technologies Preparation Tool

CaseWhen we run the SharePoint 2013 pre-requisites installer in order to prepare our machine to install SharePoint 2013 product installation on Windows Server 2012, the installer fails due to the error shown in the screen below:'The tool was unable to install Application Server Role, Web Server (IIS) Role'The error occurred due to the reason that your operating system Windows Server 2012 do not allow applications to connect to the internet straight away to download files necessary for installation. SolutionIn order to fix this error, some steps need to be taken as described below:.

Open an MMC console. Add the Group Policy Object snap-in.

Sharepoint Products Preparation Tool 2016

2013Microsoft

The following screen will open. In Local Computer Policy go to Computer Configuration - Administrative Templates and select 'System'. Scroll down the list in the System settings and find 'Specify settings for optional component installation and component repair'.

Double-click the settings, a screen as displayed below will appear. Select Enabled in the top left corner and select 'Contact Windows Update directly to download repair content instead of Windows Server Update Services (WSUS)'. Click OK and close the MMC console.

Microsoft Sharepoint Products And Technologies Preparation Tool

Run the pre-requisite installer again and this time it will not give errors on a server role installation.