# How to deploy Microsoft 365 along with your OS? **Last Updated On**: 16 Oct 2025 **5 minutes read** Used by almost [1.5 million customers](https://www.statista.com/statistics/983321/worldwide-office-365-user-numbers-by-country/) in the United States, Microsoft 365 is a vital tool for any organization. It offers various advantages, including saving [$1,500 per user per year](https://www.microsoft.com/en-us/microsoft-365/blog/2022/11/07/discover-how-microsoft-365-helps-organizations-do-more-with-less/#:~:text=A%20new%20Total%20Economic%20Impact,of%20less%20than%20three%20months.) with a return on investment of 205%. Thus, a large number of users have to work with Microsoft 365 applications during their regular workday. 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 deploy the Microsoft 365 application along with your OS images. ## Steps to Deploy Microsoft 365 1. [Download](https://www.microsoft.com/en-us/download/details.aspx?id=49117) and run the Office deployment tool. 2. Extract the files to a desired folder. ![Microsoft 365 installation - ManageEngine OS Deployer](https://cdn.manageengine.com/sites/meweb/images/os-deployer/help/deployment-template/m365-installation-2.png) 3. Follow this [link](https://config.office.com/deploymentsettings) 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](https://cdn.manageengine.com/sites/meweb/images/os-deployer/help/deployment-template/m365-installation-1.png) 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 an 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 create the 'Office' folder automatically. 10. Compress the 'Office365' folder as 'Office365.zip'. 11. Visit the [7-Zip download page](https://www.7-zip.org/download.html) and download the file labelled "7-Zip Extra: stand-alone console version, 7z DLL, Plugin for Far Manager". 12. From the downloaded zip file, extract the 7za.exe file. 13. Download the Setup.bat file from this [link](https://workdrive.zohoexternal.com/external/db6274436dadfdec8b96e7dac464d4ad981d52bc3e8cf623b634e292d12a74a5). 14. 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** 15. Now, save this bat file and execute it on a physical (target) machine manually to check if the application is installed successfully. 16. In the web console, navigate to **Customize** tab → **Customize Deployment** → **Add Applications** → Click **Add Applications**. 17. Specify the **Application name** for the applications or scripts you are planning to add. 18. Specify the **Application type** as **Software**. 19. Add the three files (Office365.zip, 7za.exe, and Setup.bat) in the **Upload application files to install** field. 20. Enter **Setup.bat** in the **Specify Execution/Installation commands** field. 21. Provide the **Exit Code** and **Installation Timeout Interval**. 22. 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](https://www.manageengine.com/products/os-deployer/help/deployment-template/adding-applications.html) if you would like to add other applications using EXE files, BAT files, or custom scripts.