Office 365 Upgrade to 2016 from 2013


I am looking for a script that will allow me to push out the upgrade of Office 365 from 2013 to 2016. I am trying to write one so that we can push it out to all of our 375 users with out having to go to each machine and install that way. We had to do that initially for Office 365. We had to uninstall Office 2010 and then install Office 365 it was a nightmare. So I am trying to simplify the situation. If anyone can help me please get back to me.

1 Comment   [ + ] Show comment
  • Good luck. you would have thought the cloud thing would make this seamless. I think you will a very similar experience to you 2010 to 2013 upgrade. - Badger 5 years ago

Answers (2)

Posted by: Terk 5 years ago
White Belt

Depending on the license of Office 365 you own you can use http://officedev.github.io/Office-IT-Pro-Deployment-Scripts/XmlEditor.html to create an unattended anser file for use with http://go.microsoft.com/fwlink/p/?LinkID=626065.
You then would run "Setup.exe /download answerfile.xml" to download the content to deliver and "Setup.exe /configure answerfile.xml" to install.

The answerfile.xml would look something like:
    <Add OfficeClientEdition="32" Channel="Deferred">
        <Product ID="O365ProPlusRetail">
            <Language ID="en-us"/>
    <Updates Enabled="TRUE" Channel="Deferred"/>
    <Display Level="None" AcceptEULA="TRUE"/>
    <Logging Level="Standard"/>
    <Property Name="AUTOACTIVATE" Value="1"/>
    <Property Name="FORCEAPPSHUTDOWN" Value="TRUE"/>
    <Property Name="SharedComputerLicensing" Value="0"/>
    <Property Name="PinIconsToTaskbar" Value="FALSE"/>

Posted by: Womain 4 years ago
Senior White Belt

I had to remove Office (2010), then run the O365 setup.exe with a config XML

To remove the entire office 2010 x86 suite:

"%~dp0\setup.exe" /config "%~dp0\Uninstall.xml" /Uninstall ProPlus


- <Configuration Product="ProPlus">
  <Display Level="none" CompletionNotice="NO" SuppressModal="yes" AcceptEula="yes" />
  <Logging Type="standard" Path="%temp%" Template="Microsoft Office Professional Plus Setup(*).txt" />
  <Setting Id="Reboot" Value="Never" />
  <Setting Id="SETUP_REBOOT" Value="NEVER" />
  <OptionState Id="ProductFiles" State="Local" Children="force" />


Command line to install O365ProPlus:

setup /configure DesktopInst3.xml


 XML file:

- <Configuration>

- <AddOfficeClientEdition="32" Channel="Deferred">

- <Product ID="O365ProPlusRetail">

  <LanguageID="en-us" />

  <ExcludeAppID="Access" />



  <UpdatesEnabled="FALSE" />

  <DisplayLevel="None" AcceptEULA="TRUE"/>

  <LoggingLevel="Standard" Path="D:\_Cache\Log"/>

  <PropertyName="AUTOACTIVATE" Value="0" />

  <PropertyName="FORCEAPPSHUTDOWN" Value="TRUE"/>

  <PropertyName="SharedComputerLicensing" Value="0" />

  <PropertyName="PinIconsToTaskbar" Value="FALSE"/>


This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ