Download the SharePoint 2013 setup file or ISO image file from Microsoft and Mounted that ISO image.
Right click on prerequisiteinstaller.exe select Run as Administrator file
These are the prerequisites going to be install:
- Microsoft .NET Framework version 4.5
-
Windows Management Framework 3.0
-
Application Server Role and Web Server (IIS) Role: Enable the Web Server (IIS) role and the Application Server role in Server Manager
-
Microsoft SQL Server 2008 R2 SP1 Native Client
-
Windows Identity Foundation (KB974405)
-
Microsoft Sync Framework Runtime v1.0 SP1 (x64)
-
Microsoft AppFabric 1.1 for Windows Server
-
Windows Identity Extensions
-
Microsoft Information Protection and Control Client (MSIPC) MSIPC.dll - Microsoft Active Directory Rights Management Services Client
-
Microsoft WCF Data Services 5.0 for OData V3
-
Cumulative Update Package 1 for Microsoft AppFabric 1.1 for Windows Server (KB 2671763)
Note: User must be Server Local Administrator.
Error will occur: SharePoint 2013 Pre requisites install fail, Error: The tool was unable to install Application Server Role, Web Server (IIS) Role
Note: To avoid this Error we have to take some steps
Set Local Policy:
- Windows Key + s (Go to Windows Start Screen) find MMC
- Run as Administrator
3. Click File -> Add/Remove Snap-in
4. Select Group Policy Object Editor and click on Add
5. Navigate to Administrative templates -> System
6. Select "Specify Settings for optional component installation and component repair"
7. Enable and select “Contract Windows Update directly to download repair content instead of Windows Server Update Services (WSUS)” and click Apply.
After that we have to do one more thing is:
Go to
C:\Windows\System32
Find the ServerManager and make a copy of it rename it with ServerManagerCMD
Re-run the prerequisiteinstaller to install the Roles and Features that are required by SharePoint 2013 on Windows Server 2012 or Windows Server 2012 R2
OR
We can run the PowerShell Commands
Press windows key + s and find PowerShell Run as Administrator.
Execute the following Commands (Server is connected to the Internet)
- 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
- Restart the server
- Run the PrerequisiteInstaller.exe again to confirm the Role and features installation complete or not.
Execute the following Commands (Server is not connected to the Internet)
Mounted the Windows Server 2012 or 2012 r2 installation media (ISO) to drive D of the server
This is the location of ASP.Net3.5 "D:\sources\sxs" where you mounted the windows server 2012 ISO image.
- Import-Module ServerManager
- Add-WindowsFeature NET-WCF-HTTP-Activation45,NET-WCF-TCP-Activation45,NET-WCF-Pipe-Activation45 -Source D:\Sources\sxs
- 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
- Restart the server
- Run the PrerequisiteInstaller.exe again to confirm the Role and features installation complete or not.
The another way of prerequisites offline Installation
Download prerequisites for SharePoint 2013 put the file in Network Path.
-
Microsoft .NET Framework version 4.5
-
Windows Management Framework 3.0
-
Application Server Role and Web Server (IIS) Role: Enable the Web Server (IIS) role and the Application Server role in Server Manager
-
Microsoft SQL Server 2008 R2 SP1 Native Client
-
Windows Identity Foundation (KB974405)
-
Microsoft Sync Framework Runtime v1.0 SP1 (x64)
-
Microsoft AppFabric 1.1 for Windows Server
-
Windows Identity Extensions
-
Microsoft Information Protection and Control Client (MSIPC) MSIPC.dll - Microsoft Active Directory Rights Management Services Client
-
Microsoft WCF Data Services 5.0 for OData V3
-
Cumulative Update Package 1 for Microsoft AppFabric 1.1 for Windows Server (KB 2671763)
by Farooque Azam via Everyone's Blog Posts - SharePoint Community
No comments:
Post a Comment