This file is located %SystemDrive%\usersĪs this post continues on from my other post to uninstall Office. O551c3_1n.txt – This file indicates that all legacy versions of Office have been removed and is created upon completion of the uninstall script in my other post.
If not errorlevel 1 goto end \\ \OfficeSource\Setup.exe /configure \\ \OfficeSource \configuration.xml echo Office 365 Install Complete > %SystemDrive%\users\C0mp1et3_0ff1c3.txt :endĬ0mp1et3_0ff1c3.txt – This file indicates that the Office 365 install process has completed. If errorlevel 1 goto end dir /s C0mp1et3_0ff1c3.txt The source of this batch file can be located in any location, however as we are using a GPO, I would recommend using the logon script folder as follows: \\domain.local\sysvol\domain.local\Policies\\User\Scripts\Logon The destination for this file would be %windir%\Office_in.bat Using the same group policy object, configure Files under Group Policy preferences. There is a batch file script that needs to be distributed to the computers.For the action, add in “ %windir%\Office_in.bat”.Change the account that is used for the running of the task to the account you setup before and enter in the password when it prompts. Create a scheduled task, I called this Install Office. Reason why I say attach to a site, so that you can create different server shares which are local to each site and specify them differently for each site based GPO.
To download the source files to your local server, first create a share and grant the everyone group read permission to the share. This is all you need to 1st: download the Office 365 source files from the internet to a local repository and 2nd: Install Office 365 silently. Once you have installed the Office Deployment Tool for Click-to-Run, this program will give you two files setup.exe and configuration.xml. If you have several sites separated by slow WAN links, you would want to dedicate a server for each site that will hold the source files, so repeat these steps for each site server. Beware, the Office 365 source files are around 1GB in size. Install this on a dedicated (file) server which will host the share and will hold a local copy of the Office 365 setup files.
This guide will demonstrate how to automatically install Office 365 using Group Policy.įirst, you’ll need to download and install the Office Deployment Tool for Click-to-Run.
Once all Office software versions have been removed from the computer, you’ll then need to automate the installation of Office 365 on the back end of the un-installation of all legacy Office versions. This post continues on from my other blog post Fully automate the removal of any Office version in preparation for Office 365.