Installation Of Office Online Server For SharePoint 2016 - Installation Of Prerequisite

In this article, I will walk through all the prerequisites required to be installed before installing the Office Online Server. Just make  sure that you have installed the latest update of Windows Server. If for some reason, you can’t install the latest, then make sure that you have at least KB… If you don’t have that level, then some or one of the prerequisites will fail to install and your installation will hang in between.

For convenience, please download all 4 required softwares in advance.

Install the prerequisite

First, we have to enable/configure the Windows feature. Please follow the below steps.

  • Login with Service Account (should be local Admin on the Server).
  • Open Windows PowerShell (run as administrator).



  • Type the below command in the PowerShell window.

    Add-WindowsFeature Web-Server, Web-Mgmt-Tools, Web-Mgmt-Console, Web-WebServer, Web-Common-Http, Web-Default-Doc, Web-Static-Content, Web-Performance, Web-Stat-Compression, Web-Dyn-Compression, Web-Security, Web-Filtering, Web-Windows-Auth, Web-App-Dev, Web-Net-Ext45, Web-Asp-Net45, Web-ISAPI-Ext, Web-ISAPI-Filter,Web-Includes, InkandHandwritingServices, NET-Framework-Features, NET-Framework-Core, NET-HTTP-Activation, NET-Non-HTTP-Activ, NET-WCF-HTTP-Activation45, Windows-Identity-Foundation, Server-Media-Foundation



  • Now, wait for a few minutes as it configures the Windows features.



  • Restart the Server. It will take time to restart as it is trying to finish the installation of features and roles.



  • You will see that it is showing a couple messages while being restarted.





  • Once completed, install the following prerequisite. I downloaded all the files locally on the Server and we will use them to install required software.


Installation of .NET Framework 4.5.2

Please follow the below steps to install the .NET Framework 4.5.2.

  • Double click on the downloaded file NDP452-KB2901954-WEB.


    • Click Yes on “User Account Control”.



    • It will extract the files.



    • Accept the license terms and conditions.



    • It will start the installation process of .NET Framework 4..5.2.



  • It will ask you to stop the couple of services; click "Yes".



  • Now, wait for the installation to complete.


  • You will get the "Installation Is Complete" message.


Installation of Visual C++ Redistributable Packages for Visual Studio 2013

Please follow the below steps to install Visual C redistributable package for Visual Studio 2013.

  • Double click on the vcredist_x64.



  • Accept the license terms and conditions.



  • Wait for installation to complete.



  • You will get the success message.
Installation of Visual C++ Redistributable for Visual Studio 2015

Now, we will install the Visual C++ Redistributed for Visual Studio 2015 and at this point, if Windows Server is not up to date, then this installation will fail. Make sure, at least KB2919355 is installed on Windows Server.

  • Browse the folder and double click on x64.



  • Accept the license terms and conditions.



  • Click "Yes" on the User Account Control.



  • Wait for the completion of installer.



  • Once it is completed, you will get a success message.


Installation of Microsoft.IdentityModel.Extention.dll

Let’s install the Microsoft Identity Model extension using the below steps.

  • Browse to the folder and double click on MicrosoftIdentityExtensions-64.



  • Click "Yes" on the User Account Control.



  • Accept the terms in license agreement.



  • Wait for a couple of minutes as installer is installing it.



  • You will see the success message once it is completed. 


At this point, we are done with the installation of the prerequisites and configuring the Windows features. Now, we will move to the next step in the next article, which will be the installation of Office Online Server and Language Pack.

See Also

  • Installation of Office Online Server for SharePoint 2016
  • Installation of prerequisites
  • Installation of the Office Online Server and Language packs
  • Configure the Office Online server and verify it
  • Connect Office online server with SharePoint