Forum Discussion

David Schrag's avatar
David Schrag
Iron Contributor
Jun 02, 2021

How to update Microsoft 365 Apps for Enterprise (aka Office) on WVD?

I have built a custom image that was originally based on the "Windows 10 multi-session + Microsoft 365 Apps" image in the Azure gallery. As far as I can tell, the Office apps are installed on this image using the settings specified in Install Office on a master VHD image - Azure | Microsoft Docs. One of those settings puts Office on the Monthly Enterprise channel, but it also disables updates. I understand that you don't want end users triggering the updates themselves, and maybe the typical sysadmin doesn't even want the updates getting installed during off-hours when nobody is logged in. But I can't figure out how to install the updates, period, even on a new image meant to replace the one in production. And I can't find this documented anywhere. I feel stupid. Help. 🙂

  • Check this registry key:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\ClickToRun\Configuration\UpdatesEnabled

    Enable it there and then check via a random Office application under Account> Update Options. You should be able to trigger an update that way.

    Don't forget to change the regkey back before sysprepping.

    • David_Lafferty's avatar
      David_Lafferty
      Copper Contributor
      Did changing the Registry Key to toggle Office 365 update work for you guys in your AVD Desktop Image Template HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\ClickToRun\Configuration\UpdatesEnabled
      I tried it and it seemed to work. I wanted to see if there where any other issues doing it this way vs Creating a configuation.xml file from Office 365 Deplpyment tool.
      • Mattwestby's avatar
        Mattwestby
        Copper Contributor

        David_Lafferty hi - how long do you leave the reg key on true for before office updates? Does it then update automatically? I’m looking at exactly this problem but automating it by PowerShell, but I can’t get an exe to launch remotely so looking at this method.

        thanks

        matt

    • David Schrag's avatar
      David Schrag
      Iron Contributor
      Great! They don't make that registry key easy to find.

      Now why is it so critical that updates are disabled on the deployed session hosts? It seems to me that I will want to go through the process of updating an image, capturing the image to the gallery, and deploying new hosts to the pool from the new image as infrequently as possible, because it's kind of a pain. If an Office update is the only change that's needed, why not have a way to do that directly on a machine in production, even if it means having all the users log out for a bit? (I understand that I can use this registry switch you just taught me to accomplish the task, but that seems to be a workaround rather than a suggested method.)
      • RFillingsness's avatar
        RFillingsness
        Copper Contributor

        David Schrag 

        Was there ever a resolution to this issue.  As you stated, it seems incredibly burdensome to have to hack the template/image and recreate hosts (especially when there remain some things that cannot be completed on the template, requiring domain join)

         

        I have lots of unhappy users and do not look forward to all the work.

Resources