SharePoint 2013 Pre-requisite Installer failed

When I was installing SharePoint 2013 Pre-requisites, the installation failed to progress past the “Configuring Application Server Role, Web Server (IIS) Role” stage. Error received # The source files could not be downloaded. Although my server was connected to the internet.

I then followed the article located here. http://support.microsoft.com/kb/2765260

This blog explains my experience in resolving this issue.

There were basically two Methods.

Method 1

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

(http://support.microsoft.com/kb/2771431/ )

Important: Restart the machine after installation of the update

This usually fixes the problem, unfortunately in my case, the problem persisted to I moved on to Method 2

Method 2

Manually installing the Windows Server 2012 Roles and Features that are required by SharePoint 2013. To do this, use one of the following methods, depending on whether the SharePoint server is connected to the Internet or is offline

Since my machine was connected to the internet I followed the online option.

A: Online Option

Open an elevated (Run as Administrator) Windows PowerShell prompt on the SharePoint server, and execute the following commands:

Import-Module ServerManager

Add-WindowsFeature NET-WCF-HTTP-Activation45,NET-WCF-TCP-Activation45,NET-WCF-Pipe-Activation45

Add-WindowsFeature Net-Framework-Features,Web-Server,Web-WebServer,Web-Common-Http,Web-Static-Content,Web-Default-Doc,Web-Dir-Browsing,Web-Http-Errors,Web-App-Dev,Web-Asp-Net,Web-Net-Ext,Web-ISAPI-Ext,Web-ISAPI-Filter,Web-Health,Web-Http-Logging,Web-Log-Libraries,Web-Request-Monitor,Web-Http-Tracing,Web-Security,Web-Basic-Auth,Web-Windows-Auth,Web-Filtering,Web-Digest-Auth,Web-Performance,Web-Stat-Compression,Web-Dyn-Compression,Web-Mgmt-Tools,Web-Mgmt-Console,Web-Mgmt-Compat,Web-Metabase,Application-Server,AS-Web-Support,AS-TCP-Port-Sharing,AS-WAS-Support, AS-HTTP-Activation,AS-TCP-Activation,AS-Named-Pipes,AS-Net-Framework,WAS,WAS-Process-Model,WAS-NET-Environment,WAS-Config-APIs,Web-Lgcy-Scripting,Windows-Identity-Foundation,Server-Media-Foundation,Xps-Viewer


Your server will require a restart after you run this Windows PowerShell code. Run the Pre-requisite installer again after completion of the above command.

Note: Although my computed was connected to the internet this option did not work for me as well. And I received the following error

Add-WindowsFeature: The request to add or remove features on the specified server failed.
Installation of one or more roles, role services, or features failed. The source files could not be downloaded.
Use the “source” option to specify the location of the files that are required to restore the feature. For more information on specifying a source location, see http://go.microsoft.com/fwlink/?LinkId=243077
(http://go.microsoft.com/fwlink/?LinkId=243077)

. Error: 0x800f0906

This could be on account Windows tries to contact Windows Update to download the missing information to install the feature. The network configuration and how computers are configured to install updates in the environment can affect this process. Therefore, you may encounter errors when you first install such features.

So the only option that was left for me was the Offline option

A: Offline Option or Server not connected to Internet

In this option you must have access to the Windows Server 2012 installation media. You can then run the same Windows PowerShell commands that you used in Option above, but you must use the -source parameter to specify the location of the required files on the installation media.

For example, assume that you mounted the Windows Server 2012 installation media (ISO) to drive D of the server. Then, the path to provide for the -source parameter is as follows:

D:sourcessxs

Note (Check that the path maps to the sourcessxs folder on the installation media for Win Server 2012 used to build the server)

Open an elevated (Run as Administrator) Windows PowerShell prompt on the SharePoint server, and execute the following commands:

Import-Module ServerManager

Add-WindowsFeature NET-WCF-HTTP-Activation45,NET-WCF-TCP-Activation45,NET-WCF-Pipe-Activation45 -Source D:Sourcessxs

Add-WindowsFeature Net-Framework-Features,Web-Server,Web-WebServer,Web-Common-Http,Web-Static-Content,Web-Default-Doc,Web-Dir-Browsing,Web-Http-Errors,Web-App-Dev,Web-Asp-Net,Web-Net-Ext,Web-ISAPI-Ext,Web-ISAPI-Filter,Web-Health,Web-Http-Logging,Web-Log-Libraries,Web-Request-Monitor,Web-Http-Tracing,Web-Security,Web-Basic-Auth,Web-Windows-Auth,Web-Filtering,Web-Digest-Auth,Web-Performance,Web-Stat-Compression,Web-Dyn-Compression,Web-Mgmt-Tools,Web-Mgmt-Console,Web-Mgmt-Compat,Web-Metabase,Application-Server,AS-Web-Support,AS-TCP-Port-Sharing,AS-WAS-Support, AS-HTTP-Activation,AS-TCP-Activation,AS-Named-Pipes,AS-Net-Framework,WAS,WAS-Process-Model,WAS-NET-Environment,WAS-Config-APIs,Web-Lgcy-Scripting,Windows-Identity-Foundation,Server-Media-Foundation,Xps-Viewer -Source D:Sourcessxs

Screenshots I encountered


After installation you may be prompted to restart the server

After restart re-run the SharePoint 2013 PrerequisiteInstaller.exe

This resolve the issue I had.

Leave Reply

Hey, so you decided to leave a comment! That’s great. Just fill in the required fields and hit submit. Note that your comment will need to be reviewed before it’s published Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>