How to deploy Microsoft 365 along with your OS?

Used by almost 1.5 million customers in the United States Microsoft 365 is a vital tool for any organization. It offers various advantages to organizations like saving $1,500 per user per year with a return on investment of 205%.

Thus a large number of users have to work with Microsoft 365 applications during their regular workday. And it will be easier for an IT administrator to pack the application along with a golden image and deploy them both simultaneously to all relevant users.

This document will help you to deploy Microsoft 365 application along with your OS images.

  1. Download and run the Office deployment tool.
  2. Extract the files to a desired folder.

    Microsoft 365 installation - ManageEngine OS Deployer

  3. Follow this link to customize your Microsoft 365 application deployment.
  4. Under Installation, select Office Content Delivery Network(CDN) and configure other necessary customizations according to your requirements.

    Microsoft 365 installation - ManageEngine OS Deployer

  5. Click Export and choose Keep Current Settings to download the configuration.xml.
  6. Create a folder Office365.
  7. Paste the setup.exe and configuration.xml files in the 'Office365' folder.
  8. Open the command prompt as administrator and navigate to the Office365 folder.
  9. Run the command setup.exe /download configuration.xml and wait for the command to be executed successfully. This will download all the necessary files and the 'Office' folder will be created automatically.
  10. Compress the 'Office365' folder as 'Office365.zip'.
  11. Download and extract the 'Files.zip' from this link.
  12. Open the Files.zip file and edit the Setup.bat file in Notepad.
  13. Make the following changes in the Setup.bat file:
    • 7za.exe x -y "Zipfilename" to

      7za.exe x -y "Office365.zip"

    • cd "FolderName" to

      cd "Office365"

    • START "" /WAIT "setup.exe" -silentswitch to

      START "" /WAIT "setup.exe" /configure configuration.xml

  14. Now, save this bat file and execute it in a physical (target) machine manually to check if the application is installed successfully.
  15. In the web console, navigate to Images->Customize Deployment->Add Applications
  16. Specify the Application name for the applications or scripts you are planning to add. 
  17. Specify the Application type as Software.
  18. Add the three files(Office365.zip, 7za.exe, and Setup.bat) in the Upload application EXEs to install field.
  19. Enter Setup.bat in the Specify Execution/Installation commands field
  20. Click Add.

Following these steps will help you drastically reduce the time required to deploy the application to any number of users. Follow this link if you would like to add other applications using EXE files, BAT files, or custom scripts.