Implement Office 365 easy ? #Unattended Install #O365 with Group Policy #windows7 #windows12R2

When you want to use Office 365 it is easy all in the cloud easy to manage , one click setup yes it is easy or not ?

suppose you have 25 users and all need to setup O365 and you have several windows servers 2012R2 but no real deployment tools like #SCCM

Well deploy the Office 365 with a Group policy easy to setup and quick response.

First we need to login to office 365 

Office 365 login  Login to your Office 365 portal or webmail with a simple click.‎

Illustration that represents the two deployment options for Office 365 ProPlus. Includes a cloud labeled Office 365 ProPlus, a user installing from the Office 365 portal, and an administrator deploying from an on-premises server to multiple users This is how it works the user logs in and do the thing. but for 25 users.. this will take some time. So my Sample user has Plan E3










The installation can be done by a user simple give the user the login password and select software and go. But I want control..



Easy there is a tool called Office Deployment Tool for Click-to-Run. You can download the Office Deployment Tool from the Microsoft Download Center site. Administrators download and run the self-extracting executable file, which contains the Office Deployment Tool .exe file, dynamic link library resources (dlls), and a sample configuration file, configuration.xml.

I downloaded the tool did an extract and there was a setup.exe and the Config file.

Create a Shared folder that can be accessed but the computers in your domain. In my case I have only a Windows Server 2012R2 this is all I need.


image   image

First we are changing the default configuration.xml.  and there are a lot of options

But in this case I want Office NL and the EN version and it should be activated and I want a log file just in case and If you want more languages just add them this is for download only.

<Add SourcePath="\\mvpdc01\office365" OfficeClientEdition="32">
    <Product ID="O365ProPlusRetail" >
      <Language ID="nl-nl" />

     <Language ID="en-en" />          
   <Display Level="None" AcceptEULA="TRUE" /> 
   <Logging Name="OfficeSetup.txt" Path="%temp%" />
   <Property Name="AUTOACTIVATE" Value="1" />



Now that the config file is ready we can start the download.

setup.exe /download configuration.xml


I did run this from my share so I do not need the move my files.


and now all we have to do is start an batch or CMD with one line

\\mvpdc01\Office365\Setup.exe /configure \\mvpdc01\Office365\configuration.xml

where is the setup file and the config that I should use. that is it. I use only the NL version for install.

And yes the batch can be with checking etc but for now I only want to deploy Winking smile

@echo off
\\mvpdc01\Office365\Setup.exe /configure \\mvpdc01\Office365\configuration.xml
echo Office 365 Install Complete > %SystemDrive%\users\Complete_o365.txt


Nice but I have still to click the back file. I can place this in the login from the user easy. yes you can but nay this user install software ?

I create a office OU and placed the users in this OU.


I create a GPO that is going to install Office 365 and so that I can change things

image image image

I created the Batch that I used earlier and copied this file to a new folder in the windows directory and if this folder is not there create it.

Now we create a task that is doing the job on the Windows 7 machine.





Fill in the Name and configure it for windows 7






Next create a new Trigger that is on the Logon and make sure it is enabled !


image  For starting a program this is the batch file located on the local machine copied by the GPO.

As an admin I want to have control and maybe I want to start the task by myself sometime.

So select on demand also.


After this apply the GPO and start your Windows 7 machines. I logon with my dummy account and there is the Install account.




And the user is ready to use Office 365 , remember the user must logon to the office 365 during the wizard so make sure he/she has the email and password.

Author: Robert Smit [MVP]

Robert Smit is Senior Technical Evangelist and is a current Microsoft MVP in Clustering as of 2009. Robert has over 20 years experience in IT with experience in the educational, health-care and finance industries. Robert’s past IT experience in the trenches of IT gives him the knowledge and insight that allows him to communicate effectively with IT professionals who are trying to address real concerns around business continuity, disaster recovery and regulatory compliance issues. Robert holds the following certifications: MCT - Microsoft Certified Trainer, MCTS - Windows Server Virtualization, MCSE, MCSA and MCPS. He is an active participant in the Microsoft newsgroup community and is currently focused on Hyper-V, Failover Clustering, SQL Server, Azure and all things related to Cloud Computing and Infrastructure Optimalization. Follow Robert on Twitter @ClusterMVP Or follow his blog Linkedin Profile Http:// Robert is also capable of transferring his knowledge to others which is a rare feature in the field of IT. He makes a point of not only solving issues but also of giving on the job training of his colleagues. A customer says " Robert has been a big influence on our technical staff and I have to come to know him as a brilliant specialist concerning Microsoft Products. He was Capable with his in-depth knowledge of Microsoft products to troubleshoot problems and develop our infrastructure to a higher level. I would certainly hire him again in the future. " Details of the Recommendation: "I have been coordinating with Robert implementing a very complex system. Although he was primarily a Microsoft infrastructure specialist; he was able to understand and debug .Net based complext Windows applications and websites. His input to improve performance of applications proved very helpful for the success of our project

14 thoughts on “Implement Office 365 easy ? #Unattended Install #O365 with Group Policy #windows7 #windows12R2”

  1. i can’t understand about the schedule task on windows 7 , do i need to implement this schedule task in all windows client i have or what ?

  2. how it is that more work , what if i put the sources files setup.exe and the configuration file to a network location that everyone has access to it , and using group policy i make the bat file to run on log in

  3. somebody has to click te link. with admin rights else the installer won’t run. if your users have installer rights on there pc then you are fine and ready to go. just test this and see if it is working for you. there is no right and wrong method.
    pick the best one for you.

  4. We are starting to roll out office 2013. Got the bat to run successfully on a test computer.Saw this post and had a question on installing with bat. Do I have to run the “setup.exe /download configuration.xml” command on every computer before running the install command? I ran it on the test computer just fine; but then moved the setup.exe and configuration.xml file to our server and pointed the location to the exe in the bat file in a shared folder. The job seemed to be running; but did not install.

  5. as in the blog post all steps are on a server and only \\sharename\Office365\Setup.exe /configure \\sharename\Office365\configuration.xml is needed on the desktop computer

  6. can i use psexec, something like;

    psexec \\computername msiexec.exe -i \\server\o365_deployment\setup.exe /configure \\server\o365_deployment\deploy.xml

Leave a Reply

Please log in using one of these methods to post your comment: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: