I wanted to put this guide together as when looking how to do this for the first time a while back, it was a little WTF! And once done, it really wasn’t that hard and most of the guides out there make it sound complicated! And it really isn’t.
If you already have Office installed you will need to remove this and reboot the server before continuing.
Step 1 – Office Deployment Tool
You will need to go an download the Office Deployment Tool from Microsoft and save this to the RDS.
Step 2 – Run and extract the Office Deployment Tool
The file path you extract to can be anything you like. For this guide, I’m going to keep everything in C:\ODT
Just double click on the .exe you have just downloaded for the Office Deployment Tool and accept the ‘Click here to accept the Microsoft Software License Terms.’
You will then be asked where to extract the files. Select the folder C:\ODT
You should now see 2 items in the C:\ODT folder:
Step 3 – Edit the configuration.xml
Edit the configuration.xml with the below. Just copy and paste over everything that’s in the current configuration.xml and save.
<!-- Office 365 client configuration file sample. To be used for Office 365 ProPlus 2016 apps,
Office 365 Business 2016 apps, Project Pro for Office 365 and Visio Pro for Office 365.
For detailed information regarding configuration options visit: http://aka.ms/ODT.
To use the configuration file be sure to remove the comments
For Office 365 client apps (verion 2013) you will need to use the 2013 version of the
Office Deployment Tool which can be downloaded from http://aka.ms/ODT2013
The following sample allows you to download and install Office 365 ProPlus 2016 apps
and Visio Pro for Office 365 directly from the Office CDN using the Current Channel
<Add OfficeClientEdition="32" Channel="Monthly">
<Language ID="en-us" />
<Language ID="en-us" />
<Updates Enabled="TRUE" Channel="Monthly" />
<Display Level="Full" AcceptEULA="TRUE" />
<Property Name="AUTOACTIVATE" Value="1" />
<Property Name="SharedComputerLicensing" Value="1" />
<ExcludeApp ID="Publisher" />
<ExcludeApp ID="Groove" />
<ExcludeApp ID="Lync" />
<ExcludeApp ID="Teams" />
<ExcludeApp ID="OneDrive" />
Step 4 – Installation
Open a Command Prompt as admin (Elevated Command Prompt) and go to the folder C:\ODT
The first command you need to run is:
setup /download configuration.xml
Once that has completed you will then need to run the next command:
setup /configure configuration.xml
Step 5 – completed
That’s it! You’ve now installed Office onto an RDS that will allow users to login with their own Office 365 accounts.
You can edit the configuration.xml to do other things and also add or exclude Office applications. But that will be a post for another time.