-
Notifications
You must be signed in to change notification settings - Fork 840
README_New GPOOfficeInstallation
This script will configure an existing Active Directory Group Policy to silently install Office 365 ProPlus on computer startup.
For more information on deploying Office via Group Policy go to https://technet.microsoft.com/en-us/library/Ff602181.aspx
- Active Directory
- An existing Group Policy Object that is assigned to the target computers you want to install Office 2013 Click-To-Run
Download and extract the GitHub script repository onto the computer that will modify the Group Policy.
-
Open an elevated PowerShell console.
From the Run dialog type PowerShell and run as administrator
-
Change directory to the location where the PowerShell Script is saved on your local machine.
Example: cd C:\Setup-GPOOfficeInstallation
-
Dot-Source the Configure-GPOOfficeInstallation function into your current session.
Type . .\Setup-GPOOfficeInstallation.ps1 By including the additional period before the relative script path you are 'Dot-Sourcing' the PowerShell function in the script into your PowerShell session which will allow you to run the function from the console.
-
Download the Office channel files you plan to deploy in your environment
For example, type Download-GPOOfficeChannelFiles -Channels Deferred,FirstReleaseDeferred -OfficeFilesPath C:\OfficeChannelFiles -Languages en-us,de-de -Bitness v32 In this example, the latest 32-bit versions of the Deferred and FirstReleaseDeferred channels will be downloaded to C:\OfficeChannelFiles. If C:\OfficeChannelFiles does not exist a new directory will be created. Both English and German languages will be downlaoded.
-
Configure the OfficeDeployment folder used to stage the Office channel files and the PowerShell scripts
Configure-GPOOfficeDeployment -Channel Deferred -Bitness v32 -OfficeFilesPath C:\OfficeChannelFiles -MoveSourceFiles $true
A new directory will be created on your largest drive called OfficeDeployment$ and all of the necessary files will be copied here.
Note - Don't worry if you have multiple channels downloaded, choose any of the channels you've downloaded and the bit. If you do not set -MoveSourceFiles to $true the files will only be copied to the new directory.
-
Create an Office deployment using an existing GPO.
Create-GPOOfficeDeployment -GroupPolicyName "DeployDeferredChannel" -DeploymentType DeployWithScript -Channel Deferred -Bitness v32
-
Refresh the Group Policy on a client computer:
From the Start screen type command and Press Enter Type "gpupdate /force" and press Enter.
-
Restart the client computer.
When the client computer starts the script will launch in the background. You can verify if the script is running by opening Task Manager and look for the Click To Run process.
Copyright © 2015 Microsoft Corporation - Project is released under the terms of the MIT License
Home
New Scripts
Completed Scripts
- Office-ProPlus-Deployment
- Office-ProPlus-Information
- Office-ProPlus-Management
- Office-ProPlus-Preparation
- Office-ProPlus-Updates
Information