Update Office 365 via pdq

Comments

2 comments

  • Loshniv Nazar

    you can run this command from PDQ to force Office 365 updates but it could be Run only "Run as Logged on User"

     

    cd C:\Program Files\Common Files\Microsoft Shared\ClickToRun\OfficeC2RClient.exe /update user updatepromptuser=true forceappshutdown=true displaylevel=true

    1
    Comment actions Permalink
  • jvb

    How do you update Office 365 with PDQ? Don't, the office updater does it better.

    While you could install a new version over the top, it takes longer than a regular update, you have to account for error conditions, you have to ensure office programs are closed or that the config closes them, etc...

    So, if you configured it to get updates from the cdn, updates should come down automatically. If you configured it to get updates from a local source, just run the below occasionally, to update the source with whatever is specific in the config. The office updater will then pick up from the source.

    .\setup.exe /download .\configuration.xml

    If you find updates are not installing, take a look at the registry on the affected machines and look out for

    • HKLM\Software\Microsoft\Office\ClickToRun\Configuration\UpdateToVersion (this correlates to TargetVersion in the config). The office updater will never update to a version newer than this setting.
    • HKLM\SOFTWARE\Microsoft\Office\ClickToRun\Updates\UpdateDetectionLastRunTime. I couldn't find much documentation it, but depending on the value office may not pick up updates immediately (I suspect it's meant to prevent all computers from getting updates at the same time and blowing up your network). To test if it's the cause, you can just delete it on a machine, and trigger the scheduled task office uses to check for updates. Depending on your network, avoid clearing it on all machines at once.

    As Loshniv mentioned you could force it (though it will still get blocked under some conditions like UpdateToVersion). But it's probably better to figure out why updates are not working.

    1
    Comment actions Permalink

Please sign in to leave a comment.