☁️
OSDCloud.com
OSDeploy.comTwitter
  • About
  • Contributors
    • Damien Van Robaeys | MVP
    • Ákos Bakos
    • David Segura | MVP
    • Gary Blok
    • Jérôme Bezet-Torres | MVP
  • OSDCloud
    • Local Setup
      • OSDCloud Template
        • Build Process
        • Logs
        • Named Templates
        • WinRE WiFi
        • Public Content
        • Languages
        • Cumulative Updates
        • ISO Boot Media
        • Universal WinPE
      • OSDCloud Workspace
        • Get-OSDCloudWorkspace
        • Set-OSDCloudWorkspace
        • New-OSDCloudWorkspace
          • Restore from ISO
          • Restore from ISO URL
          • Restore from USB
        • Update-OSDCloudWorkspace
        • Configuration Files
      • OSDCloud WinPE
        • Default Wallpaper
        • Wallpaper
        • Drivers
        • PSModule
        • Startup
      • OSDCloud ISO
      • OSDCloud USB
        • New-OSDCloudUSB
        • Update-OSDCloudUSB
        • USB Drives
        • Secure USB Drives
      • 🚧OSDCloud VM
        • Get-OSDCloudVMDefaults
        • Get-OSDCloudVMSettings
        • Set-OSDCloudVMSettings
        • Reset-OSDCloudVMSettings
        • New-OSDCloudVM
    • Deployment
      • WinPE
        • Start-OSDCloud
          • OS Parameters
          • ZTI
        • Start-OSDCloudGUI
          • Parameters
          • Defaults
          • Global Variable
          • Customize
        • Start-OSDCloud Wrapping
      • First Boot
      • OOBE
      • Windows
  • Sandbox
    • OSDCloud
      • sandbox.osdcloud.com
      • WinPE Usage
      • OOBE Usage
      • Functions
    • OSDCloud Azure
      • az.osdcloud.com
    • WinPE Downloads
  • OSDCloud Automate
    • 🆕Basic Configuration
    • 🆕OSDCloudGUI Defaults
    • 🆕Autopilot
    • 🆕Provisioning
      • 🆕Windows Configuration Designer
      • 🆕MSI Application PPKG
      • 🆕Bulk Enroll PPKG
      • 🆕PowerShell Script PPKG
    • 🚧Scripts
  • OSDCloud Azure
    • Azure Setup
      • Azure Portal
        • Storage Accounts
        • Storage Containers
          • BootImage
          • DriverPack
        • Storage Access Control (IAM)
      • Infrastructure As Code
        • Prerequisites
        • Technicien
        • Workspace
        • Bicep
        • Terraform
        • Configure Azure
    • Deployment
      • Testing
      • OSDCloudRE Azure
    • Deep Dive
      • Cloud Functions and Scripts
      • Connect Azure in WinPE
      • Azure Tags
      • Log Files
  • Offline Deployment
    • ISO: Adding a WIM
  • Integration
    • ADK: Use the OSDCloud Boot.wim
    • MDT: Use the OSDCloud Boot.wim
    • MDT: Add OSDCloud WinPE Drivers
    • MDT: Use OSDCloud DriverPacks in a Task Sequence
    • OSDCloud IPU
      • Windows In-place Upgrades
      • Windows Media Download
  • Archive
    • 💡Tips
      • 🆕Media Cleanup
      • Firmware Update
      • Quick Setup
    • 🌎Community
      • OSDCloud: The ZTI Way
      • OSDCloud - Image devices without need of infrastructure
      • Trying out Windows 10 Deployment with OSDCloud
      • Deploying Windows 10 to bare metal devices with just WinPE & internet
    • 💔Under Review
      • ISO
      • WIM
    • 🪦Recycle Bin
      • Release Notes
      • Enable-OSDCloudODT
      • Deploy
        • OOBE Phase
      • Guides
        • OSDCloud WIM
        • Custom OSDCloud
        • AutoPilot
          • AutoPilot Configuration File
          • AutoPilot in Audit Mode
          • AutoPilot in OOBE
        • WiFi
      • OOBE
        • Start-OOBE.settings
        • Start-OOBE.wifi
        • Start-OOBE.autopilot
      • Concepts
        • K.I.S.S.
        • OSD Disks Logically
        • Office365 Specialize
        • Specialize DriverPacks
        • Model Reference Image
        • MDT OSDCloud DriverPacks
        • MDT DriverPacks
      • Blob SAS URL
      • Storage Containers (Public)
Powered by GitBook
On this page
  • Do It
  • The Directory Structure
  • Product
  • Channel
  • XML Files
  • USB Considerations
  • Edit-OSDCloud.usb
  • Walkthrough

Was this helpful?

Export as PDF
  1. Archive
  2. Recycle Bin

Enable-OSDCloudODT

August 10, 2021

PreviousRelease NotesNextDeploy

Last updated 3 years ago

Was this helpful?

This functionality will be removed in the next few weeks. Let me know if you are using this so I can detail a workaround

I would consider this Experimental and I am unsure of the future of this function. It will more than likely change, so consider this a Sandbox for now

This is a new function to add Office M365 and install it in the Specialize phase of Windows Setup. I had high hopes for this process, but in my testing, there was less than 1 minute difference in installing Office in Specialize versus pulling from an Intune (Office CDN). I'm sure one of you will look into this further, so this is for now an OSDCloud Opt-In

Do It

This process should be done before Edit-OSDCloud.winpe, although it really doesn't matter, but remember after adding this, you need to update your WinPE to see the magic

Enable-OSDCloudODT -Verbose

There is really nothing to it. As you can see in the Verbose output, it will download the latest Microsoft ODT and expand it into subdirectories

The Directory Structure

This is probably the most important process to understand, and the step that will probably be messed up the most on your end if you really don't understand. For you visual people, hopefully this will help you understand, but the key is that the ODT directory sits in the ROOT of your OSDCloud Workspace

Product

In the ODT directory are two subdirectories that represent the M365 / Office Product. You can see all the Products that can be used, but its important that your directory represent the Product for better organization. If you have no plans to work with ProPlus2019Volume, delete it

Channel

The next subdirectory represents the M365 / Office Channel

Delete the Channel directories that you don't need!

It really doesn't matter what you name them, as long as the Channels are separated. In each Channel directory there should be a copy of setup.exe which was expanded when you ran Enable-OSDCloudODT. You can always repeat that function to add the latest ODT setup.exe as needed, understanding that the XML files will be overwritten

XML Files

In each of the Channel directories, in addition to the setup.exe, is an Office Configuration File. Don't edit these as they can be overwritten. Create your own using this as an example. The biggest thing is for the Language ID to be set to "MatchOS", but whatever

<Configuration ID="002634c3-bedd-416a-82ea-764d564ec07a">
  <Add OfficeClientEdition="64" Channel="MonthlyEnterprise">
    <Product ID="O365ProPlusRetail">
      <Language ID="MatchOS" />
      <ExcludeApp ID="Groove" />
    </Product>
  </Add>
  <Property Name="SharedComputerLicensing" Value="0" />
  <Property Name="SCLCacheOverride" Value="0" />
  <Property Name="AUTOACTIVATE" Value="0" />
  <Property Name="FORCEAPPSHUTDOWN" Value="FALSE" />
  <Property Name="DeviceBasedLicensing" Value="0" />
  <Updates Enabled="TRUE" />
  <RemoveMSI />
  <Display Level="Full" AcceptEULA="TRUE" />
</Configuration>

USB Considerations

This isn't entirely working as planned due to the inclusion of the XML files in WinPE. This should be considered as Concept Under Development for the time being

If you are deploying OSDCloud from a USB, you can download the content in advance. Assuming you have copied the ODT directory to <USBDrive>:\OSDCloud\ODT then do the following

Type cmd in the Windows Explorer Address Bar and press Enter

Now use setup.exe to /download the content specified by the Office Configuration XML. This will download your Office payload from the CDN

Edit-OSDCloud.usb

When you run this command, the necessary files will be added to WinPE

Walkthrough

How it works has been added to the Walkthrough

🪦
Deploy
LogoProduct IDs that are supported by the Office Deployment Tool for Click-to-Run - Office 365docsmsft
LogoChanges to update channels for Microsoft 365 Apps - Deploy Officedocsmsft