English

Install Microsoft Office 365

Contributors tvanroo Download PDF of this page

Manual steps overview

Licensing rules prevent Administrators from simply downloading Microsoft Office from logged in user’s account and installing it onto a shared terminal server and functioning for multiple users as expected. Instead, Administrators need to follow a specific process to install Office Pro Plus with the Shared Computer Activation flag activated.

Process steps summary

  1. Begin by downloading the Office Deployment Tool from https://www.microsoft.com/en-us/download/details.aspx?id=49117

  2. Navigate to the Office Config tool: https://config.office.com/deploymentsettings.

This guide will skip options beyond the minimum required and Shared Computer Activation. If other options are needed, you can learn more through Microsoft’s guide here: https://docs.microsoft.com/en-us/deployoffice/deploy-office-365-proplus-from-the-cloud)
  1. Select the appropriate architecture for your deployment – 64 bit is recommended unless there a specific reason to use 32 bit (such as older Office plugins requiring 32 bit versions of Office).

    office1

  2. Select the desired Office apps and versions: Note: Only Office Pro Plus is supported for Shared Computer Activation. Regardless of what version of Office you have (Office 365 Pro Plus, Office 365 E3. Office 365 E5, Microsoft 365 Business, Microsoft 365 E3, Microsoft 365 E5) you will still install Office 365 Pro Plus here.

    office2

  3. Select the language desired and click Next to proceed.

    office3

  4. Under “Installation Options”, we recommend you deselect “Pin icons to Taskbar”:

    office4

  5. This is the most important step of all – setting Product Activation to Shared Computer. Admins can optionally click the toggle that automatically accepts the EULA for the benefit of the user experience.

    office5

  6. Return to the top of the page and click Export.

    office6

  7. Select Keep Current Settings and click OK to proceed.

    office7

  8. Accept the terms of the agreement and either keep or change the name of the install file and click Export to proceed. This guide will assume that you keep the default “Configuration” name.

    office8

  9. After you click “Export”, the download for “Configuration.xml” will begin.

  10. Run the officedeploymenttool EXE/self extracting file (officedeploymenttool_11901-20022.exe is the version of the file at the time of this writing) you downloaded earlier, extract to a new folder (We’ll assume that “C:\Office” is used for this example), and copy the Configuration.xml file to the same directory (overwrite the sample one that was extracted already).

  11. Next, open Command Prompt as Administrator and change the directory to “C:\Office” (run “cd \Office”).

  12. Next, run “setup.exe /download Configuration.xml” (change “Configuration.xml” to match the XML file you exported in step 10) and do not be concerned if it seems like nothing is happening, this step can take a while.

  13. Finally, run “setup.exe /configure Configuration.xml” (again, adjusting the XML file name to match your file).

Unsupported automated deployment

This automated process relies on a custom ps1 and a pre-built xml. It is unsupported in the sense that NetApp makes no warranty that it will work or the impact to any target machines. The ps1 is hosted by NetApp and could change/disappear at any time. We recommend this method be used as a template for building and hosting your own automated process. This process was validate on Windows Server 2016 Datacenter 10.0.14393 and Windows 10 Enterprise for Virtual Desktop 10.0.18362 in Azure on Aug 30th, 2019.

Process steps summary

  1. Execute command to download and execute hosted .ps1

  2. ps1 downloads the hosted Office Deployment Configuration .xml (Screenshot of the Office Configuration Tool settings used for this XML is here)

  3. ps1 executes ProPlus Install referencing the .xml

  4. ps1 copies the Microsoft Office Shortcuts into a single folder for app publishing purposes

Customization steps

  1. Download and edit the hosted ps1 from http://getwvd.com/proplus_minus_onedrive.ps1

    1. Built your own xml file (outlined above) and upload to your own URL

    2. Edit the “$download” variable to point to your own URL your own configuration xml file

    3. Edit the “$officeapps” variable to include all the shortcuts installed by your configuration xml file

      office9

  2. Upload the edited ps1 file to your own hosting URL

  3. Edit the Scripted Event Script to download and execute the customized and self-hosted ps1 (step 3.1. below)

Scripted events steps

This follows the same workflow as a normal App Install Scripted Event. These instructions assume Chocolatey is already installed following the steps in the Application management Plan.
Office 365 ProPlus Automated Install with Chocolatey

To install O365 ProPlus you’ll create a new script with the following settings:

  1. No Script File

  2. Execute With: powershell.exe

  3. Arguments (Optional): Set-ExecutionPolicy Bypass -Scope Process -Force; iex New-Object System.Net.WebClient).DownloadString(‘http://getwvd.com/proplus_minus_onedrive.ps1’

  4. Edit the http://getwvd.com/proplus_minus_onedrive.ps1 and replace with the URL to your own hosted ps1 file.

    office10

Once the Script is saved, the next step is to associate that script with a Trigger. In this case we’ll trigger the script when an Application Install is requested in VDS. See the Application Management Guide for details.