Microsoft Office 365 Silent Install (How-To Guide)

Microsoft Office 365 is designed to help you achieve more with innovative Office apps, intelligent cloud services, and world-class security. This article will serve as an informative guide and give you a clear understanding of how to perform a silent installation of Microsoft Office 365 from the command line using the EXE installer.

How to Install Microsoft Office 365 Silently

Microsoft Office 365 Silent Install (EXE)

  1. Download the Office 365 Deployment Tool:
  2. Download the officedeploymenttool_x-y.exe to a folder created at (C:\Downloads)
  3. Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
  4. Navigate to the C:\Downloads folder
  5. Enter the following command to extract the ODT files:
    • officedeploymenttool_x-y.exe /extract:C:\Downloads\Office365
  6. Press Enter
  7. Select the checkbox to accept the Microsoft Software License Terms
  8. Click Continue
  9. Navigate to C:\Downloads\Office365
  10. Delete the 3 existing .xml files as we will be creating our own
    • configuration-Office365-x64.xml
    • configuration-Office365-x86.xml
    • configuration-Office2019Enterprise.xml
  11. Navigate to https://config.office.com/deploymentsettings to Configure XML File
  12. Select the Architecture you want to deploy
    • 32-bit or
    • 64-bit
  13. Select Products and Apps you want to deploy
    • Office Suites
      • Microsoft 365 Apps for Enterprise or
      • Microsoft 365 App for Business
    • Visio
      • None or
      • Visio Online Plan 2
    • Project
      • None or
      • Project Online Desktop Client
    • Additional Products
      • None
      • Language Pack
      • Office 365 Access Runtime
    • Update Channel
      • Current Channel
      • Current Channel (Preview)
      • Monthly Enterprise Channel
      • Semi-Annual Enterprise Channel
      • Semi-Annual Enterprise Channel (Preview)
    • Select Version
      • Latest
      • 20XX
      • 20XX
    • Turn Apps On or Off to include or exclude them from being deployed
      • Access
      • Excel
      • OneDrive (Groove)
      • Skype for Business
      • OneDrive Desktop
      • OneNote
      • Outlook
      • PowerPoint
      • Publisher
      • Teams
      • Word
    • Features
      • Enable or Disable background service for Microsoft Search in Bing
  14. Click Next
    • Select Primary Language
      • Match Operating System
      • Arabic (Saudi Arabia)
      • Bulgarian (Bulgaria)
      • Chinese (Simplified, China)
      • Chinese (Traditional, Taiwan)
      • Croatian (Croatia)
      • Czech (Czech Republic)
      • Danish (Denmark)
      • Dutch (Netherlands)
      • English (United States)
      • Estonian (Estonia)
      • Finnish (Finland)
      • French (France)
      • German (Germany)
      • Greek (Greece)
      • Hebrew (Israel)
      • Hindi (India)
      • Hungarian (Hungary)
      • Indonesian (Indonesia)
      • Italian (Italy)
      • Japanese (Japan)
      • Kazakh (Kazakhstan)
      • Korean (Korea)
      • Latvian (Latvia)
      • Lithuanian (Lithuania)
      • Malay (Malaysia)
      • Norwegian Bokmal (Norway)
      • Polish (Poland)
      • Portuguese (Brazil)
      • Portuguese (Portugal)
      • Romanian (Romania)
      • Russian (Russia)
      • Serbian (Latin, Serbia)
      • Slovak (Slovakia)
      • Slovenian (Slovenia)
      • Spanish (Spain, International Sort)
      • Swedish (Sweden)
      • Thai (Thailand)
      • Turkish (Turkey)
      • Ukrainian (Ukraine)
      • Vietnamese (Vietnam)
    • Select Additional Languages (If Any)
    • Select Additional Proofing Tools (If Any)
  15. Click Next
    • Installation Options
      • Office Content Delivery Network (CDN)
      • Local Source
      • Microsoft Endpoint Configuration Manager
    • Show Installation to User (Off)
    • Shut down running applications (On)
  16. Click Next
    • Update and Upgrade Options
      • Automatically check for updates (On|Off)
      • Uninstall any MSI versions of Office, including Visio and Project (On|Off)
      • Uninstall Visio (On|Off)
      • Uninstall Project (On|Off)
      • Uninstall SharePoint Designer (On|Off)
      • Uninstall InfoPath (On|Off)
    • For uninstalled MSI versions of Office, install the same languages (On|Off)
    • Automatically upgrade to the selected architecture (On|Off)
  17. Click Next
    • Licensing and Activation
      • Automatically accept the EULA (On)
    • Product Key
      • KMS Client Key
      • Multiple Activation Key (MAK)
    • Product Activation
      • User Based
      • Shared Computer
      • Device Based
    • General Info
      • Provide your organization name to set the Company property on Office documents
      • Provide a description for this configuration for documentation purposes
  18. Click Next
    • Application Preferences (Examples)
      • Disable First Run Movie (True)
      • Disable Office First Run on Application Boot (True)
      • Disable Opt-in Wizard on First Run (True)
      • Enable Customer Experience Improvement Program (False)
      • Automatically Receive Small Updates to Improve Reliability (False)
      • Send Office Feedback (False)
      • Turn on Telemetry Data Collection (False)
  19. Click Finish
  20. Click Export Button
    • Select Default File Format Option
      • Keep Current Option
      • Office Open XML Formats
      • OpenDocument Formats
  21. Click OK
  22. Accept the terms in the license agreement on the Export Configuration to XML screen
  23. Set the File Name to Office365
  24. Click Export
  25. Copy the Office365.xml file to C:\Downloads\Office365
  26. Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
  27. Navigate to the C:\Downloads\Office365 folder
  28. Run the following command to download the installation files:
    • setup.exe /download Office365.xml

Note: The download can take several minutes to complete so please be patient. You can monitor the download progress by checking out the log file in the %LocalAppData%\Temp directory.

Once the download has completed, you are finally ready to install Office 365.

  • Run the following command: setup.exe /configure Office365.xml

After several minutes you will find Microsoft Office 365 entries in the Start Menu, Installation Directory, and Programs and Features in the Control Panel.

Software Title:Microsoft Office 365
Vendor:Microsoft Corporation
Architecture:x86_x64
Installer Type:EXE
Silent Install Switch:setup.exe /configure Office365.xml
Silent Uninstall Switch:setup.exe /configure O365_Uninstall.xml
Download Link:https://www.microsoft.com/en-us/download/details.aspx?id=49117
Video Tutorial:Microsoft Office 365 Silent Install (How-To Guide) Video
PowerShell Script:https://silentinstallhq.com/microsoft-office-365-install-and-uninstall-powershell/

The information above provides a quick overview of the software title, vendor, silent install, and silent uninstall switches. The download links provided take you directly to the vendors website. Continue reading if you are interested in additional details and configurations.


How to Uninstall Microsoft Office 365 Silently

Check out the following posts for a scripted solution.

Microsoft Office 365 Install and Uninstall (PowerShell)

Microsoft Office 365 Click To Run (C2R) Uninstall | OffScrub VBS Script

  • Open Notepad or your favorite text editor
  • Add the following lines:
<Configuration>
<Display Level="None" AcceptEULA="TRUE" />
<Property Name="FORCEAPPSHUTDOWN" Value="TRUE" />
<Remove>
<Product ID="O365ProPlusRetail">
</Product>
<Product ID="O365BusinessRetail">
</Product>
<Product ID="VisioProRetail">
</Product>
<Product ID="ProjectProRetail">
</Product>
<Product ID="AccessRuntimeRetail">
</Product>
</Remove>
</Configuration>
  • Save the file to C:\Downloads\Office365 and name it: O365_Uninstall.xml
  • Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
  • Navigate to C:\Downloads\Office365
  • Enter the following command:

Microsoft Office 365 Silent Uninstall (EXE)

setup.exe /configure O365_Uninstall.xml

Always make sure to test everything in a development environment prior to implementing anything into production. The information in this article is provided “As Is” without warranty of any kind.