Once you've ensured your system is compatible and no other version of Office is installed, you're ready to install Office 365. Sign into Office 365 account using your full email address ( This email address is being protected from spambots. On the Office home page, do the following depending on your version of Office. If you signed in with a Microsoft account, from the Office home page select Install Office Install. (Office 365 subscribers should select Install again). This begins the download of Office. Follow the prompts on your screen to complete the install.
-->This article tells you how to install Microsoft 365 Apps for enterprise, OneDrive, and other common applications on a master virtual hard disk (VHD) image for upload to Azure. If your users need to access certain line of business (LOB) applications, we recommend you install them after completing the instructions in this article.
This article assumes you've already created a virtual machine (VM). If not, see Prepare and customize a master VHD image
This article also assumes you have elevated access on the VM, whether it's provisioned in Azure or Hyper-V Manager. If not, see Elevate access to manage all Azure subscription and management groups.
Note
These instructions are for a Windows Virtual Desktop-specific configuration that can be used with your organization's existing processes.
Install Office in shared computer activation mode
Instal Office 365 Offline
Shared computer activation lets you to deploy Microsoft 365 Apps for enterprise to a computer in your organization that is accessed by multiple users. For more information about shared computer activation, see Overview of shared computer activation for Microsoft 365 Apps.
Use the Office Deployment Tool to install Office. Windows 10 Enterprise multi-session only supports the following versions of Office:
- Microsoft 365 Apps for enterprise
- Microsoft 365 Apps for business that comes with a Microsoft 365 Business Premium subscription
The Office Deployment Tool requires a configuration XML file. To customize the following sample, see the Configuration Options for the Office Deployment Tool.
This sample configuration XML we've provided will do the following things:
- Install Office from the Monthly Enterprise Channel and deliver updates from the Monthly Enterprise Channel.
- Use the x64 architecture.
- Disable automatic updates.
- Remove any existing installations of Office and migrate their settings.
- Enable shared computer activation.
Note
Visio's stencil search feature may not work as expected in Windows Virtual Desktop.
Here's what this sample configuration XML won't do:
Install Office 365 With Product Key
- Install Skype for Business
- Install OneDrive in per-user mode. To learn more, see Install OneDrive in per-machine mode.
Note
Shared Computer Activation can be set up through Group Policy Objects (GPOs) or registry settings. The GPO is located at Computer ConfigurationPoliciesAdministrative TemplatesMicrosoft Office 2016 (Machine)Licensing Settings
The Office Deployment Tool contains setup.exe. To install Office, run the following command in a command line:
Sample configuration.xml
The following XML sample will install the Monthly Enterprise Channel release.
Note
The Office team recommends using 64-bit install for the OfficeClientEdition parameter.
Installing Office 365 On Pc
After installing Office, you can update the default Office behavior. Run the following commands individually or in a batch file to update the behavior.
Install OneDrive in per-machine mode
Install Office 365 On Ipad
OneDrive is normally installed per-user. In this environment, it should be installed per-machine.
Install Office 365 Offline
Here's how to install OneDrive in per-machine mode:
First, create a location to stage the OneDrive installer. A local disk folder or [unc] (file://unc) location is fine.
Download OneDriveSetup.exe to your staged location with this link: https://aka.ms/OneDriveWVD-Installer
If you installed office with OneDrive by omitting <ExcludeApp />, uninstall any existing OneDrive per-user installations from an elevated command prompt by running the following command:
Run this command from an elevated command prompt to set the AllUsersInstall registry value:
Run this command to install OneDrive in per-machine mode:
Run this command to configure OneDrive to start at sign in for all users:
Enable Silently configure user account by running the following command.
Redirect and move Windows known folders to OneDrive by running the following command.
Install Office 365 Already Purchased
Microsoft Teams and Skype for Business
Windows Virtual Desktop doesn't support Skype for Business.
Install Office 365 Already Purchased
For help with installing Microsoft Teams, see Use Microsoft Teams on Windows Virtual desktop. Media optimization for Microsoft Teams on Windows Virtual Desktop is available in preview.
Next steps
Now that you've added Office to the image, you can continue to customize your master VHD image. See Prepare and customize a master VHD image.