How to install Office Online Server for SharePoint 2016 (OOS)
Recently I wanted to create a SharePoint 2016 lab environment. With Excel Services moving out of the SharePoint 2016 product, we now need to plan for an instance of OOS. Below are the steps I followed and screenshots of the process.
Cheers!

Steps
- Install Windows Server 2012 R2 (en_windows_server_2012_r2_with_update_x64_dvd_6052708.iso)
- NOTE – Windows Server 2016 seems to be missing Ink and Handwriting Support.
- Run PowerShell to install IIS
# Always
Import-Module ServerManager
# from https://docs.microsoft.com/en-us/officeonlineserver/deploy-office-online-server
# Win 2012 R2
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
# Win 2016
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,NET-Framework-Features,NET-Framework-45-Features,NET-Framework-Core,NET-Framework-45-Core,NET-HTTP-Activation,NET-Non-HTTP-Activ,NET-WCF-HTTP-Activation45,Windows-Identity-Foundation,Server-Media-Foundation
- Install Windows Identity Foundation
- Install Ink and Hand Writing Services
- Get latest Windows Updates
- Generate Self Signed Certificate
- Start > Run > INETMGR > Server > Server Certificates > Generate self signed certificate with “OOS” Friendly Name
- Start > Run > INETMGR > Server > Server Certificates > Export “OOS” to PFX file
with password - Start > Run > CERTLM.MSC > add Local Machine certificates > import PFX to “Personal” folder
- Start > Run > CERTLM.MSC > add Local Machine certificates > import PFX to “Trusted Root Certificate Authorities” folder
- Install Office Online Server (en_office_online_server_may_2016_x64_dvd_8484396.iso)
- Create new OOS farm
md "D:\Logs\ULS"
md "D:\ProgramData\Microsoft\OfficeWebApps\Working\d"
md "D:\ProgramData\Microsoft\OfficeWebApps\Working\waccache"
New-OfficeWebAppsFarm -InternalURL "https://offlineonline" -CertificateName "OOS" -EditingEnabled -LogLocation "D:\Logs\ULS" -CacheLocation "D:\ProgramData\Microsoft\OfficeWebApps\Working\d" -RenderingLocalCacheLocation "D:\ProgramData\Microsoft\OfficeWebApps\Working\waccache"
Screenshots


















Error
- Resolves the PowerShell error “New-OfficeWebAppsFarm : It does not appear that this machine is part of an Office Online Server farm.”
References
- http://social.technet.microsoft.com/wiki/contents/articles/34289.install-configure-office-online-server.aspx
- https://www.sslshopper.com/article-how-to-create-a-self-signed-certificate-in-iis-7.html
- https://social.technet.microsoft.com/Forums/en-US/2de9cc6a-b321-48c2-9239-63d481f5bc62/office-web-apps-office-web-apps-was-unable-to-find-the-specified-certificate?forum=sharepointadmin